comparison src/postgresql.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents b8cc9ab3f761
children
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
8 8
9 Please send patches to this file to me first before submitting them to 9 Please send patches to this file to me first before submitting them to
10 xemacs-patches. 10 xemacs-patches.
11 */ 11 */
12 12
13 #ifndef XEMACS_POSTGRESQL_H__ 13 #ifndef INCLUDED_postgresql_h_
14 #define XEMACS_POSTGRESQL_H__ 1 14 #define INCLUDED_postgresql_h_ 1
15 15
16 #define BLCKSZ 8192 /* size of a default Postres disk block */ 16 #include LIBPQ_FE_H_FILE /* main PostgreSQL header file */
17
18 #define BLCKSZ 8192 /* size of a default Postgres disk block */
17 /* 19 /*
18 This file contains the GCC bug workaround code for the private 20 This file contains the GCC bug workaround code for the private
19 LRECORD types. 21 LRECORD types.
20 */ 22 */
21 23
55 #define XSETPGRESULT(x, p) XSETRECORD (x, p, pgresult) 57 #define XSETPGRESULT(x, p) XSETRECORD (x, p, pgresult)
56 #define PGRESULTP(x) RECORDP (x, pgresult) 58 #define PGRESULTP(x) RECORDP (x, pgresult)
57 #define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult) 59 #define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult)
58 #define CONCHECK_PGRESULT(x) CONCHECK_RECORD (x, pgresult) 60 #define CONCHECK_PGRESULT(x) CONCHECK_RECORD (x, pgresult)
59 61
60 #endif /* XEMACS_POSTGRESQL_H__ */ 62 #endif /* INCLUDED_postgresql_h_ */