~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/include/port/win32.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-01 17:41:41 UTC
  • mfrom: (1.1.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20090701174141-jfmn9tt8e69m950x
Tags: 8.4.0-1
* Final 8.4.0 release. Major enhancements:
  - Windowing Functions
  - Common Table Expressions and Recursive Queries
  - Default and variadic parameters for functions
  - Parallel Restore
  - Column Permissions
  - Per-database locale settings
  - Improved hash indexes
  - Improved join performance for EXISTS and NOT EXISTS queries
  - Easier-to-use Warm Standby
  - Automatic sizing of the Free Space Map
  - Visibility Map (greatly reduces vacuum overhead for slowly-changing
    tables)
  - Version-aware psql (backslash commands work against older servers)
  - Support SSL certificates for user authentication
  - Per-function runtime statistics
  - Easy editing of functions in psql
  - New contrib modules: pg_stat_statements, auto_explain, citext,
    btree_gin 
  Upload to unstable, 8.4 is the new default. 
* debian/control: Build the versionless metapackages and have them point to
  8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.87 2009/04/19 22:37:13 tgl Exp $ */
 
1
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.88 2009/06/11 14:49:12 momjian Exp $ */
2
2
 
3
3
#if defined(_MSC_VER) || defined(__BORLANDC__)
4
4
#define WIN32_ONLY_COMPILER
292
292
extern void _dosmaperr(unsigned long);
293
293
 
294
294
/* in port/win32env.c */
295
 
extern int pgwin32_putenv(const char *);
 
295
extern int      pgwin32_putenv(const char *);
296
296
extern void pgwin32_unsetenv(const char *);
 
297
 
297
298
#define putenv(x) pgwin32_putenv(x)
298
299
#define unsetenv(x) pgwin32_unsetenv(x)
299
300
 
300
301
/* Things that exist in MingW headers, but need to be added to MSVC & BCC */
301
302
#ifdef WIN32_ONLY_COMPILER
302
303
typedef long ssize_t;
 
304
 
303
305
#ifndef __BORLANDC__
304
306
typedef unsigned short mode_t;
305
307
#endif
346
348
#ifndef O_RANDOM
347
349
#define O_RANDOM                0x0010  /* File access is primarily random */
348
350
#define O_SEQUENTIAL    0x0020  /* File access is primarily sequential */
349
 
#define O_TEMPORARY     0x0040  /* Temporary file bit */
 
351
#define O_TEMPORARY 0x0040              /* Temporary file bit */
350
352
#define O_SHORT_LIVED   0x1000  /* Temporary storage file, try not to flush */
351
353
#define _O_SHORT_LIVED  O_SHORT_LIVED
352
 
#endif /* ifndef O_RANDOM */
353
 
 
354
 
#endif /* __BORLANDC__ */
 
354
#endif   /* ifndef O_RANDOM */
 
355
#endif   /* __BORLANDC__ */
355
356
 
356
357
#endif