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

« back to all changes in this revision

Viewing changes to src/interfaces/libpq/libpq-fe.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:
7
7
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8
8
 * Portions Copyright (c) 1994, Regents of the University of California
9
9
 *
10
 
 * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.146 2009/03/31 01:41:27 tgl Exp $
 
10
 * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.147 2009/06/11 14:49:14 momjian Exp $
11
11
 *
12
12
 *-------------------------------------------------------------------------
13
13
 */
31
31
/*
32
32
 * Option flags for PQcopyResult
33
33
 */
34
 
#define PG_COPYRES_ATTRS          0x01
35
 
#define PG_COPYRES_TUPLES         0x02          /* Implies PG_COPYRES_ATTRS */
36
 
#define PG_COPYRES_EVENTS         0x04
37
 
#define PG_COPYRES_NOTICEHOOKS    0x08
 
34
#define PG_COPYRES_ATTRS                  0x01
 
35
#define PG_COPYRES_TUPLES                 0x02  /* Implies PG_COPYRES_ATTRS */
 
36
#define PG_COPYRES_EVENTS                 0x04
 
37
#define PG_COPYRES_NOTICEHOOKS    0x08
38
38
 
39
39
/* Application-visible enum types */
40
40
 
463
463
/* Create and manipulate PGresults */
464
464
extern PGresult *PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status);
465
465
extern PGresult *PQcopyResult(const PGresult *src, int flags);
466
 
extern int PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs);
 
466
extern int      PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs);
467
467
extern void *PQresultAlloc(PGresult *res, size_t nBytes);
468
 
extern int PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len);
 
468
extern int      PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len);
469
469
 
470
470
/* Quoting strings before inclusion in queries. */
471
471
extern size_t PQescapeStringConn(PGconn *conn,