do_postgres 0.9.12-x86-mswin32-60 → 0.10.0-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/{History.txt → HISTORY.markdown} +6 -2
- data/Manifest.txt +2 -2
- data/{README.txt → README.markdown} +2 -1
- data/Rakefile +2 -2
- data/ext/do_postgres_ext/do_postgres_ext.c +213 -85
- data/ext/do_postgres_ext/error.h +483 -0
- data/ext/do_postgres_ext/extconf.rb +1 -12
- data/ext/do_postgres_ext/pg_config.h +689 -0
- data/lib/do_postgres.rb +16 -19
- data/lib/do_postgres/encoding.rb +42 -0
- data/lib/do_postgres/transaction.rb +10 -0
- data/lib/do_postgres/version.rb +1 -1
- data/lib/do_postgres_ext.so +0 -0
- data/spec/encoding_spec.rb +12 -1
- data/spec/spec_helper.rb +37 -10
- data/tasks/gem.rake +1 -54
- data/tasks/release.rake +7 -7
- data/tasks/retrieve.rake +1 -2
- data/tasks/spec.rake +1 -0
- metadata +13 -10
@@ -1,18 +1,7 @@
|
|
1
|
-
if RUBY_PLATFORM =~ /darwin/
|
2
|
-
ENV["RC_ARCHS"] = `uname -m`.chomp if `uname -sr` =~ /^Darwin/
|
3
|
-
|
4
|
-
# On PowerPC the defaults are fine
|
5
|
-
ENV["RC_ARCHS"] = '' if `uname -m` =~ /^Power Macintosh/
|
6
|
-
end
|
1
|
+
ENV["RC_ARCHS"] = "" if RUBY_PLATFORM =~ /darwin/
|
7
2
|
|
8
3
|
require 'mkmf'
|
9
4
|
|
10
|
-
# be polite: you can't force existance of uname functionality on all
|
11
|
-
# platforms.
|
12
|
-
if RUBY_PLATFORM =~ /darwin/
|
13
|
-
ENV["RC_ARCHS"] = `uname -m`.chomp if `uname -sr` =~ /^Darwin/
|
14
|
-
end
|
15
|
-
|
16
5
|
def config_value(type)
|
17
6
|
ENV["POSTGRES_#{type.upcase}"] || pg_config(type)
|
18
7
|
end
|
@@ -0,0 +1,689 @@
|
|
1
|
+
/* src/include/pg_config.h. Generated by configure. */
|
2
|
+
/* src/include/pg_config.h.in. Generated from configure.in by autoheader. */
|
3
|
+
|
4
|
+
/* This file is generated from MingW ./configure, and with the following
|
5
|
+
* changes to be valid for Visual C++ (and compatible):
|
6
|
+
*
|
7
|
+
* HAVE_CBRT, HAVE_FUNCNAME_FUNC, HAVE_GETOPT, HAVE_GETOPT_H,
|
8
|
+
* HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H, HAVE_STRTOLL,
|
9
|
+
* HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Define to the type of arg 1 of 'accept' */
|
14
|
+
#define ACCEPT_TYPE_ARG1 unsigned int
|
15
|
+
|
16
|
+
/* Define to the type of arg 2 of 'accept' */
|
17
|
+
#define ACCEPT_TYPE_ARG2 struct sockaddr *
|
18
|
+
|
19
|
+
/* Define to the type of arg 3 of 'accept' */
|
20
|
+
#define ACCEPT_TYPE_ARG3 int
|
21
|
+
|
22
|
+
/* Define to the return type of 'accept' */
|
23
|
+
#define ACCEPT_TYPE_RETURN unsigned int PASCAL
|
24
|
+
|
25
|
+
/* The alignment requirement of a `double'. */
|
26
|
+
#define ALIGNOF_DOUBLE 8
|
27
|
+
|
28
|
+
/* The alignment requirement of a `int'. */
|
29
|
+
#define ALIGNOF_INT 4
|
30
|
+
|
31
|
+
/* The alignment requirement of a `long'. */
|
32
|
+
#define ALIGNOF_LONG 4
|
33
|
+
|
34
|
+
/* The alignment requirement of a `long long int'. */
|
35
|
+
#define ALIGNOF_LONG_LONG_INT 8
|
36
|
+
|
37
|
+
/* The alignment requirement of a `short'. */
|
38
|
+
#define ALIGNOF_SHORT 2
|
39
|
+
|
40
|
+
/* Define to the default TCP port number on which the server listens and to
|
41
|
+
which clients will try to connect. This can be overridden at run-time, but
|
42
|
+
it's convenient if your clients have the right default compiled in.
|
43
|
+
(--with-pgport=PORTNUM) */
|
44
|
+
#define DEF_PGPORT 5432
|
45
|
+
|
46
|
+
/* Define to the default TCP port number as a string constant. */
|
47
|
+
#define DEF_PGPORT_STR "5432"
|
48
|
+
|
49
|
+
/* Define to 1 if you want National Language Support. (--enable-nls) */
|
50
|
+
/* #undef ENABLE_NLS */
|
51
|
+
|
52
|
+
/* Define to 1 to build client libraries as thread-safe code.
|
53
|
+
(--enable-thread-safety) */
|
54
|
+
#define ENABLE_THREAD_SAFETY 1
|
55
|
+
|
56
|
+
/* Define to 1 if getpwuid_r() takes a 5th argument. */
|
57
|
+
/* #undef GETPWUID_R_5ARG */
|
58
|
+
|
59
|
+
/* Define to 1 if gettimeofday() takes only 1 argument. */
|
60
|
+
/* #undef GETTIMEOFDAY_1ARG */
|
61
|
+
|
62
|
+
#ifdef GETTIMEOFDAY_1ARG
|
63
|
+
# define gettimeofday(a,b) gettimeofday(a)
|
64
|
+
#endif
|
65
|
+
|
66
|
+
/* Define to 1 if you have the `atexit' function. */
|
67
|
+
#define HAVE_ATEXIT 1
|
68
|
+
|
69
|
+
/* Define to 1 if you have the `cbrt' function. */
|
70
|
+
//#define HAVE_CBRT 1
|
71
|
+
|
72
|
+
/* Define to 1 if you have the `class' function. */
|
73
|
+
/* #undef HAVE_CLASS */
|
74
|
+
|
75
|
+
/* Define to 1 if you have the `crypt' function. */
|
76
|
+
/* #undef HAVE_CRYPT */
|
77
|
+
|
78
|
+
/* Define to 1 if you have the <crypt.h> header file. */
|
79
|
+
/* #undef HAVE_CRYPT_H */
|
80
|
+
|
81
|
+
/* Define to 1 if you have the declaration of `fdatasync', and to 0 if you
|
82
|
+
don't. */
|
83
|
+
#define HAVE_DECL_FDATASYNC 0
|
84
|
+
|
85
|
+
/* Define to 1 if you have the declaration of `F_FULLFSYNC', and to 0 if you
|
86
|
+
don't. */
|
87
|
+
#define HAVE_DECL_F_FULLFSYNC 0
|
88
|
+
|
89
|
+
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
90
|
+
don't. */
|
91
|
+
#define HAVE_DECL_SNPRINTF 1
|
92
|
+
|
93
|
+
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
94
|
+
don't. */
|
95
|
+
#define HAVE_DECL_VSNPRINTF 1
|
96
|
+
|
97
|
+
/* Define to 1 if you have the <dld.h> header file. */
|
98
|
+
/* #undef HAVE_DLD_H */
|
99
|
+
|
100
|
+
/* Define to 1 if you have the `dlopen' function. */
|
101
|
+
/* #undef HAVE_DLOPEN */
|
102
|
+
|
103
|
+
/* Define to 1 if you have the <editline/history.h> header file. */
|
104
|
+
/* #undef HAVE_EDITLINE_HISTORY_H */
|
105
|
+
|
106
|
+
/* Define to 1 if you have the <editline/readline.h> header file. */
|
107
|
+
/* #undef HAVE_EDITLINE_READLINE_H */
|
108
|
+
|
109
|
+
/* Define to 1 if you have the `fcvt' function. */
|
110
|
+
#define HAVE_FCVT 1
|
111
|
+
|
112
|
+
/* Define to 1 if you have the `fdatasync' function. */
|
113
|
+
/* #undef HAVE_FDATASYNC */
|
114
|
+
|
115
|
+
/* Define to 1 if you have finite(). */
|
116
|
+
#define HAVE_FINITE 1
|
117
|
+
|
118
|
+
/* Define to 1 if you have the `fpclass' function. */
|
119
|
+
/* #undef HAVE_FPCLASS */
|
120
|
+
|
121
|
+
/* Define to 1 if you have the `fp_class' function. */
|
122
|
+
/* #undef HAVE_FP_CLASS */
|
123
|
+
|
124
|
+
/* Define to 1 if you have the `fp_class_d' function. */
|
125
|
+
/* #undef HAVE_FP_CLASS_D */
|
126
|
+
|
127
|
+
/* Define to 1 if you have the <fp_class.h> header file. */
|
128
|
+
/* #undef HAVE_FP_CLASS_H */
|
129
|
+
|
130
|
+
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
131
|
+
/* #undef HAVE_FSEEKO */
|
132
|
+
|
133
|
+
/* Define to 1 if your compiler understands __func__. */
|
134
|
+
//#define HAVE_FUNCNAME__FUNC 1
|
135
|
+
|
136
|
+
/* Define to 1 if your compiler understands __FUNCTION__. */
|
137
|
+
#define HAVE_FUNCNAME__FUNCTION 1
|
138
|
+
|
139
|
+
/* Define to 1 if you have getaddrinfo(). */
|
140
|
+
/* #undef HAVE_GETADDRINFO */
|
141
|
+
|
142
|
+
/* Define to 1 if you have the `gethostbyname_r' function. */
|
143
|
+
/* #undef HAVE_GETHOSTBYNAME_R */
|
144
|
+
|
145
|
+
/* Define to 1 if you have the `getopt' function. */
|
146
|
+
//#define HAVE_GETOPT 1
|
147
|
+
|
148
|
+
/* Define to 1 if you have the <getopt.h> header file. */
|
149
|
+
//#define HAVE_GETOPT_H 1
|
150
|
+
|
151
|
+
/* Define to 1 if you have the `getopt_long' function. */
|
152
|
+
//#define HAVE_GETOPT_LONG 1
|
153
|
+
|
154
|
+
/* Define to 1 if you have the `getpeereid' function. */
|
155
|
+
/* #undef HAVE_GETPEEREID */
|
156
|
+
|
157
|
+
/* Define to 1 if you have the `getpwuid_r' function. */
|
158
|
+
/* #undef HAVE_GETPWUID_R */
|
159
|
+
|
160
|
+
/* Define to 1 if you have the `getrusage' function. */
|
161
|
+
/* #undef HAVE_GETRUSAGE */
|
162
|
+
|
163
|
+
/* Define to 1 if you have the <history.h> header file. */
|
164
|
+
/* #undef HAVE_HISTORY_H */
|
165
|
+
|
166
|
+
/* Define to 1 if you have the <ieeefp.h> header file. */
|
167
|
+
/* #undef HAVE_IEEEFP_H */
|
168
|
+
|
169
|
+
/* Define to 1 if you have the `inet_aton' function. */
|
170
|
+
/* #undef HAVE_INET_ATON */
|
171
|
+
|
172
|
+
/* Define to 1 if the system has the type `int64'. */
|
173
|
+
/* #undef HAVE_INT64 */
|
174
|
+
|
175
|
+
/* Define to 1 if the system has the type `int8'. */
|
176
|
+
/* #undef HAVE_INT8 */
|
177
|
+
|
178
|
+
/* Define to 1 if you have the <inttypes.h> header file. */
|
179
|
+
#define HAVE_INTTYPES_H 1
|
180
|
+
|
181
|
+
/* Define to 1 if you have the global variable 'int optreset'. */
|
182
|
+
#define HAVE_INT_OPTRESET 1
|
183
|
+
|
184
|
+
/* Define to 1 if you have the global variable 'int timezone'. */
|
185
|
+
#define HAVE_INT_TIMEZONE
|
186
|
+
|
187
|
+
/* Define to 1 if you have support for IPv6. */
|
188
|
+
#define HAVE_IPV6 1
|
189
|
+
|
190
|
+
/* Define to 1 if you have isinf(). */
|
191
|
+
#define HAVE_ISINF 1
|
192
|
+
|
193
|
+
/* Define to 1 if you have the <kernel/image.h> header file. */
|
194
|
+
/* #undef HAVE_KERNEL_IMAGE_H */
|
195
|
+
|
196
|
+
/* Define to 1 if you have the <kernel/OS.h> header file. */
|
197
|
+
/* #undef HAVE_KERNEL_OS_H */
|
198
|
+
|
199
|
+
/* Define to 1 if `e_data' is member of `krb5_error'. */
|
200
|
+
/* #undef HAVE_KRB5_ERROR_E_DATA */
|
201
|
+
|
202
|
+
/* Define to 1 if `text.data' is member of `krb5_error'. */
|
203
|
+
/* #undef HAVE_KRB5_ERROR_TEXT_DATA */
|
204
|
+
|
205
|
+
/* Define to 1 if `client' is member of `krb5_ticket'. */
|
206
|
+
/* #undef HAVE_KRB5_TICKET_CLIENT */
|
207
|
+
|
208
|
+
/* Define to 1 if `enc_part2' is member of `krb5_ticket'. */
|
209
|
+
/* #undef HAVE_KRB5_TICKET_ENC_PART2 */
|
210
|
+
|
211
|
+
/* Define to 1 if you have the <langinfo.h> header file. */
|
212
|
+
/* #undef HAVE_LANGINFO_H */
|
213
|
+
|
214
|
+
/* Define to 1 if you have the <ldap.h> header file. */
|
215
|
+
/* #undef HAVE_LDAP_H */
|
216
|
+
|
217
|
+
/* Define to 1 if you have the `crypto' library (-lcrypto). */
|
218
|
+
/* #undef HAVE_LIBCRYPTO */
|
219
|
+
|
220
|
+
/* Define to 1 if you have the `eay32' library (-leay32). */
|
221
|
+
/* #undef HAVE_LIBEAY32 */
|
222
|
+
|
223
|
+
/* Define to 1 if you have the `ldap' library (-lldap). */
|
224
|
+
/* #undef HAVE_LIBLDAP */
|
225
|
+
|
226
|
+
/* Define to 1 if you have the `pam' library (-lpam). */
|
227
|
+
/* #undef HAVE_LIBPAM */
|
228
|
+
|
229
|
+
/* Define if you have a function readline library */
|
230
|
+
/* #undef HAVE_LIBREADLINE */
|
231
|
+
|
232
|
+
/* Define to 1 if you have the `ssl' library (-lssl). */
|
233
|
+
/* #undef HAVE_LIBSSL */
|
234
|
+
|
235
|
+
/* Define to 1 if you have the `ssleay32' library (-lssleay32). */
|
236
|
+
/* #undef HAVE_LIBSSLEAY32 */
|
237
|
+
|
238
|
+
/* Define to 1 if you have the `wldap32' library (-lwldap32). */
|
239
|
+
/* #undef HAVE_LIBWLDAP32 */
|
240
|
+
|
241
|
+
/* Define to 1 if you have the `z' library (-lz). */
|
242
|
+
/* #undef HAVE_LIBZ */
|
243
|
+
|
244
|
+
/* Define to 1 if constants of type 'long long int' should have the suffix LL.
|
245
|
+
*/
|
246
|
+
#if (_MSC_VER > 1200)
|
247
|
+
#define HAVE_LL_CONSTANTS 1
|
248
|
+
#endif
|
249
|
+
|
250
|
+
/* Define to 1 if `long int' works and is 64 bits. */
|
251
|
+
/* #undef HAVE_LONG_INT_64 */
|
252
|
+
|
253
|
+
/* Define to 1 if `long long int' works and is 64 bits. */
|
254
|
+
#if (_MSC_VER > 1200)
|
255
|
+
#define HAVE_LONG_LONG_INT_64
|
256
|
+
#endif
|
257
|
+
|
258
|
+
/* Define to 1 if you have the `memmove' function. */
|
259
|
+
#define HAVE_MEMMOVE 1
|
260
|
+
|
261
|
+
/* Define to 1 if you have the <memory.h> header file. */
|
262
|
+
#define HAVE_MEMORY_H 1
|
263
|
+
|
264
|
+
/* Define to 1 if you have the <netinet/in.h> header file. */
|
265
|
+
#define HAVE_NETINET_IN_H 1
|
266
|
+
|
267
|
+
/* Define to 1 if you have the <netinet/tcp.h> header file. */
|
268
|
+
/* #undef HAVE_NETINET_TCP_H */
|
269
|
+
|
270
|
+
/* Define to 1 if you have the `on_exit' function. */
|
271
|
+
/* #undef HAVE_ON_EXIT */
|
272
|
+
|
273
|
+
/* Define to 1 if you have the <pam/pam_appl.h> header file. */
|
274
|
+
/* #undef HAVE_PAM_PAM_APPL_H */
|
275
|
+
|
276
|
+
/* Define to 1 if you have the `poll' function. */
|
277
|
+
/* #undef HAVE_POLL */
|
278
|
+
|
279
|
+
/* Define to 1 if you have the <poll.h> header file. */
|
280
|
+
/* #undef HAVE_POLL_H */
|
281
|
+
|
282
|
+
/* Define to 1 if you have the POSIX signal interface. */
|
283
|
+
/* #undef HAVE_POSIX_SIGNALS */
|
284
|
+
|
285
|
+
/* Define to 1 if you have the `pstat' function. */
|
286
|
+
/* #undef HAVE_PSTAT */
|
287
|
+
|
288
|
+
/* Define to 1 if the PS_STRINGS thing exists. */
|
289
|
+
/* #undef HAVE_PS_STRINGS */
|
290
|
+
|
291
|
+
/* Define if you have POSIX threads libraries and header files. */
|
292
|
+
/* #undef HAVE_PTHREAD */
|
293
|
+
|
294
|
+
/* Define to 1 if you have the <pwd.h> header file. */
|
295
|
+
#define HAVE_PWD_H 1
|
296
|
+
|
297
|
+
/* Define to 1 if you have the `random' function. */
|
298
|
+
/* #undef HAVE_RANDOM */
|
299
|
+
|
300
|
+
/* Define to 1 if you have the <readline.h> header file. */
|
301
|
+
/* #undef HAVE_READLINE_H */
|
302
|
+
|
303
|
+
/* Define to 1 if you have the <readline/history.h> header file. */
|
304
|
+
/* #undef HAVE_READLINE_HISTORY_H */
|
305
|
+
|
306
|
+
/* Define to 1 if you have the <readline/readline.h> header file. */
|
307
|
+
/* #undef HAVE_READLINE_READLINE_H */
|
308
|
+
|
309
|
+
/* Define to 1 if you have the `readlink' function. */
|
310
|
+
/* #undef HAVE_READLINK */
|
311
|
+
|
312
|
+
/* Define to 1 if you have the `replace_history_entry' function. */
|
313
|
+
/* #undef HAVE_REPLACE_HISTORY_ENTRY */
|
314
|
+
|
315
|
+
/* Define to 1 if you have the `rint' function. */
|
316
|
+
/*#define HAVE_RINT 1*/
|
317
|
+
|
318
|
+
/* Define to 1 if you have the global variable
|
319
|
+
'rl_completion_append_character'. */
|
320
|
+
/* #undef HAVE_RL_COMPLETION_APPEND_CHARACTER */
|
321
|
+
|
322
|
+
/* Define to 1 if you have the `rl_completion_matches' function. */
|
323
|
+
/* #undef HAVE_RL_COMPLETION_MATCHES */
|
324
|
+
|
325
|
+
/* Define to 1 if you have the `rl_filename_completion_function' function. */
|
326
|
+
/* #undef HAVE_RL_FILENAME_COMPLETION_FUNCTION */
|
327
|
+
|
328
|
+
/* Define to 1 if you have the <security/pam_appl.h> header file. */
|
329
|
+
/* #undef HAVE_SECURITY_PAM_APPL_H */
|
330
|
+
|
331
|
+
/* Define to 1 if you have the `setproctitle' function. */
|
332
|
+
/* #undef HAVE_SETPROCTITLE */
|
333
|
+
|
334
|
+
/* Define to 1 if you have the `setsid' function. */
|
335
|
+
/* #undef HAVE_SETSID */
|
336
|
+
|
337
|
+
/* Define to 1 if you have the `sigprocmask' function. */
|
338
|
+
/* #undef HAVE_SIGPROCMASK */
|
339
|
+
|
340
|
+
/* Define to 1 if you have sigsetjmp(). */
|
341
|
+
/* #undef HAVE_SIGSETJMP */
|
342
|
+
|
343
|
+
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
344
|
+
#define HAVE_SIG_ATOMIC_T 1
|
345
|
+
|
346
|
+
/* Define to 1 if you have the `snprintf' function. */
|
347
|
+
/* #undef HAVE_SNPRINTF */
|
348
|
+
|
349
|
+
/* Define to 1 if you have spinlocks. */
|
350
|
+
#define HAVE_SPINLOCKS 1
|
351
|
+
|
352
|
+
/* Define to 1 if you have the `srandom' function. */
|
353
|
+
/* #undef HAVE_SRANDOM */
|
354
|
+
|
355
|
+
/* Define to 1 if you have the <stdint.h> header file. */
|
356
|
+
#define HAVE_STDINT_H 1
|
357
|
+
|
358
|
+
/* Define to 1 if you have the <stdlib.h> header file. */
|
359
|
+
#define HAVE_STDLIB_H 1
|
360
|
+
|
361
|
+
/* Define to 1 if you have the `strdup' function. */
|
362
|
+
#define HAVE_STRDUP 1
|
363
|
+
|
364
|
+
/* Define to 1 if you have the `strerror' function. */
|
365
|
+
#ifndef HAVE_STRERROR
|
366
|
+
#define HAVE_STRERROR 1
|
367
|
+
#endif
|
368
|
+
|
369
|
+
/* Define to 1 if you have the `strerror_r' function. */
|
370
|
+
/* #undef HAVE_STRERROR_R */
|
371
|
+
|
372
|
+
/* Define to 1 if cpp supports the ANSI # stringizing operator. */
|
373
|
+
#define HAVE_STRINGIZE 1
|
374
|
+
|
375
|
+
/* Define to 1 if you have the <strings.h> header file. */
|
376
|
+
/*#define HAVE_STRINGS_H 1 */
|
377
|
+
|
378
|
+
/* Define to 1 if you have the <string.h> header file. */
|
379
|
+
#define HAVE_STRING_H 1
|
380
|
+
|
381
|
+
/* Define to 1 if you have the `strtol' function. */
|
382
|
+
#define HAVE_STRTOL 1
|
383
|
+
|
384
|
+
/* Define to 1 if you have the `strtoll' function. */
|
385
|
+
//#define HAVE_STRTOLL 1
|
386
|
+
|
387
|
+
/* Define to 1 if you have the `strtoq' function. */
|
388
|
+
/* #undef HAVE_STRTOQ */
|
389
|
+
|
390
|
+
/* Define to 1 if you have the `strtoul' function. */
|
391
|
+
#define HAVE_STRTOUL 1
|
392
|
+
|
393
|
+
/* Define to 1 if you have the `strtoull' function. */
|
394
|
+
//#define HAVE_STRTOULL 1
|
395
|
+
|
396
|
+
/* Define to 1 if you have the `strtouq' function. */
|
397
|
+
/* #undef HAVE_STRTOUQ */
|
398
|
+
|
399
|
+
/* Define to 1 if the system has the type `struct addrinfo'. */
|
400
|
+
#if (_MSC_VER > 1200)
|
401
|
+
#define HAVE_STRUCT_ADDRINFO 1
|
402
|
+
#endif
|
403
|
+
|
404
|
+
/* Define to 1 if the system has the type `struct cmsgcred'. */
|
405
|
+
/* #undef HAVE_STRUCT_CMSGCRED */
|
406
|
+
|
407
|
+
/* Define to 1 if the system has the type `struct fcred'. */
|
408
|
+
/* #undef HAVE_STRUCT_FCRED */
|
409
|
+
|
410
|
+
/* Define to 1 if the system has the type `struct option'. */
|
411
|
+
//#define HAVE_STRUCT_OPTION 1
|
412
|
+
|
413
|
+
/* Define to 1 if `sa_len' is member of `struct sockaddr'. */
|
414
|
+
/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
|
415
|
+
|
416
|
+
/* Define to 1 if the system has the type `struct sockaddr_storage'. */
|
417
|
+
#if (_MSC_VER > 1200)
|
418
|
+
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
|
419
|
+
#endif
|
420
|
+
|
421
|
+
/* Define to 1 if `ss_family' is member of `struct sockaddr_storage'. */
|
422
|
+
#if (_MSC_VER > 1200)
|
423
|
+
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
|
424
|
+
#endif
|
425
|
+
|
426
|
+
/* Define to 1 if `ss_len' is member of `struct sockaddr_storage'. */
|
427
|
+
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN */
|
428
|
+
|
429
|
+
/* Define to 1 if `__ss_family' is member of `struct sockaddr_storage'. */
|
430
|
+
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
|
431
|
+
|
432
|
+
/* Define to 1 if `__ss_len' is member of `struct sockaddr_storage'. */
|
433
|
+
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN */
|
434
|
+
|
435
|
+
/* Define to 1 if the system has the type `struct sockaddr_un'. */
|
436
|
+
/* #undef HAVE_STRUCT_SOCKADDR_UN */
|
437
|
+
|
438
|
+
/* Define to 1 if the system has the type `struct sockcred'. */
|
439
|
+
/* #undef HAVE_STRUCT_SOCKCRED */
|
440
|
+
|
441
|
+
/* Define to 1 if `tm_zone' is member of `struct tm'. */
|
442
|
+
/* #undef HAVE_STRUCT_TM_TM_ZONE */
|
443
|
+
|
444
|
+
/* Define to 1 if you have the <SupportDefs.h> header file. */
|
445
|
+
/* #undef HAVE_SUPPORTDEFS_H */
|
446
|
+
|
447
|
+
/* Define to 1 if you have the `symlink' function. */
|
448
|
+
#define HAVE_SYMLINK 1
|
449
|
+
|
450
|
+
/* Define to 1 if you have the `sysconf' function. */
|
451
|
+
/* #undef HAVE_SYSCONF */
|
452
|
+
|
453
|
+
/* Define to 1 if you have the syslog interface. */
|
454
|
+
/* #undef HAVE_SYSLOG */
|
455
|
+
|
456
|
+
/* Define to 1 if you have the <sys/ipc.h> header file. */
|
457
|
+
/* #undef HAVE_SYS_IPC_H */
|
458
|
+
|
459
|
+
/* Define to 1 if you have the <sys/poll.h> header file. */
|
460
|
+
/* #undef HAVE_SYS_POLL_H */
|
461
|
+
|
462
|
+
/* Define to 1 if you have the <sys/pstat.h> header file. */
|
463
|
+
/* #undef HAVE_SYS_PSTAT_H */
|
464
|
+
|
465
|
+
/* Define to 1 if you have the <sys/select.h> header file. */
|
466
|
+
/* #undef HAVE_SYS_SELECT_H */
|
467
|
+
|
468
|
+
/* Define to 1 if you have the <sys/sem.h> header file. */
|
469
|
+
/* #undef HAVE_SYS_SEM_H */
|
470
|
+
|
471
|
+
/* Define to 1 if you have the <sys/shm.h> header file. */
|
472
|
+
/* #undef HAVE_SYS_SHM_H */
|
473
|
+
|
474
|
+
/* Define to 1 if you have the <sys/socket.h> header file. */
|
475
|
+
#define HAVE_SYS_SOCKET_H 1
|
476
|
+
|
477
|
+
/* Define to 1 if you have the <sys/stat.h> header file. */
|
478
|
+
#define HAVE_SYS_STAT_H 1
|
479
|
+
|
480
|
+
/* Define to 1 if you have the <sys/time.h> header file. */
|
481
|
+
/* #define HAVE_SYS_TIME_H 1 */
|
482
|
+
|
483
|
+
/* Define to 1 if you have the <sys/types.h> header file. */
|
484
|
+
#define HAVE_SYS_TYPES_H 1
|
485
|
+
|
486
|
+
/* Define to 1 if you have the <sys/un.h> header file. */
|
487
|
+
/* #undef HAVE_SYS_UN_H */
|
488
|
+
|
489
|
+
/* Define to 1 if you have the <termios.h> header file. */
|
490
|
+
/* #undef HAVE_TERMIOS_H */
|
491
|
+
|
492
|
+
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
493
|
+
`HAVE_STRUCT_TM_TM_ZONE' instead. */
|
494
|
+
/* #undef HAVE_TM_ZONE */
|
495
|
+
|
496
|
+
/* Define to 1 if you have the `towlower' function. */
|
497
|
+
#define HAVE_TOWLOWER 1
|
498
|
+
|
499
|
+
/* Define to 1 if you have the external array `tzname'. */
|
500
|
+
/* #undef HAVE_TZNAME */
|
501
|
+
|
502
|
+
/* Define to 1 if the system has the type `uint64'. */
|
503
|
+
/* #undef HAVE_UINT64 */
|
504
|
+
|
505
|
+
/* Define to 1 if the system has the type `uint8'. */
|
506
|
+
/* #undef HAVE_UINT8 */
|
507
|
+
|
508
|
+
/* Define to 1 if the system has the type `union semun'. */
|
509
|
+
/* #undef HAVE_UNION_SEMUN */
|
510
|
+
|
511
|
+
/* Define to 1 if you have the <unistd.h> header file. */
|
512
|
+
#define HAVE_UNISTD_H 1
|
513
|
+
|
514
|
+
/* Define to 1 if you have unix sockets. */
|
515
|
+
/* #undef HAVE_UNIX_SOCKETS */
|
516
|
+
|
517
|
+
/* Define to 1 if you have the `unsetenv' function. */
|
518
|
+
/* #undef HAVE_UNSETENV */
|
519
|
+
|
520
|
+
/* Define to 1 if you have the `utime' function. */
|
521
|
+
#define HAVE_UTIME 1
|
522
|
+
|
523
|
+
/* Define to 1 if you have the `utimes' function. */
|
524
|
+
/* #undef HAVE_UTIMES */
|
525
|
+
|
526
|
+
/* Define to 1 if you have the <utime.h> header file. */
|
527
|
+
#define HAVE_UTIME_H 1
|
528
|
+
|
529
|
+
/* Define to 1 if you have the `vsnprintf' function. */
|
530
|
+
#define HAVE_VSNPRINTF 1
|
531
|
+
|
532
|
+
/* Define to 1 if you have the `waitpid' function. */
|
533
|
+
/* #undef HAVE_WAITPID */
|
534
|
+
|
535
|
+
/* Define to 1 if you have the <wchar.h> header file. */
|
536
|
+
#define HAVE_WCHAR_H 1
|
537
|
+
|
538
|
+
/* Define to 1 if you have the `wcstombs' function. */
|
539
|
+
#define HAVE_WCSTOMBS 1
|
540
|
+
|
541
|
+
/* Define to 1 if you have the <wctype.h> header file. */
|
542
|
+
#define HAVE_WCTYPE_H 1
|
543
|
+
|
544
|
+
/* Define to 1 if you have the <winldap.h> header file. */
|
545
|
+
/* #undef HAVE_WINLDAP_H */
|
546
|
+
|
547
|
+
/* Define to the appropriate snprintf format for 64-bit ints, if any. */
|
548
|
+
#define INT64_FORMAT "%lld"
|
549
|
+
|
550
|
+
/* Define to build with Kerberos 5 support. (--with-krb5) */
|
551
|
+
/* #undef KRB5 */
|
552
|
+
|
553
|
+
/* Define to the location of locale files. */
|
554
|
+
/* #undef LOCALEDIR */
|
555
|
+
|
556
|
+
/* Define as the maximum alignment requirement of any C data type. */
|
557
|
+
#define MAXIMUM_ALIGNOF 8
|
558
|
+
|
559
|
+
/* Define bytes to use libc memset(). */
|
560
|
+
#define MEMSET_LOOP_LIMIT 1024
|
561
|
+
|
562
|
+
/* Define to the address where bug reports for this package should be sent. */
|
563
|
+
#define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
|
564
|
+
|
565
|
+
/* Define to the full name of this package. */
|
566
|
+
#define PACKAGE_NAME "PostgreSQL"
|
567
|
+
|
568
|
+
/* Define to the full name and version of this package. */
|
569
|
+
#define PACKAGE_STRING "PostgreSQL 8.3.7"
|
570
|
+
|
571
|
+
/* Define to the version of this package. */
|
572
|
+
#define PACKAGE_VERSION "8.3.7"
|
573
|
+
|
574
|
+
/* PostgreSQL version as a string */
|
575
|
+
#define PG_VERSION "8.3.7"
|
576
|
+
|
577
|
+
/* PostgreSQL version as a number */
|
578
|
+
#define PG_VERSION_NUM 80307
|
579
|
+
|
580
|
+
/* Define to the one symbol short name of this package. */
|
581
|
+
#define PACKAGE_TARNAME "postgresql"
|
582
|
+
|
583
|
+
/* Define to the name of the default PostgreSQL service principal in Kerberos.
|
584
|
+
(--with-krb-srvnam=NAME) */
|
585
|
+
#define PG_KRB_SRVNAM "postgres"
|
586
|
+
|
587
|
+
/* A string containing the version number, platform, and C compiler */
|
588
|
+
#define __STRINGIFY(x) #x
|
589
|
+
#define __STRINGIFY2(z) __STRINGIFY(z)
|
590
|
+
#define PG_VERSION_STR "PostgreSQL 8.3.7, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER)
|
591
|
+
|
592
|
+
/* Define to the necessary symbol if this constant uses a non-standard name on
|
593
|
+
your system. */
|
594
|
+
/* #undef PTHREAD_CREATE_JOINABLE */
|
595
|
+
|
596
|
+
/* The size of a `size_t', as computed by sizeof. */
|
597
|
+
#define SIZEOF_SIZE_T 4
|
598
|
+
|
599
|
+
/* The size of a `unsigned long', as computed by sizeof. */
|
600
|
+
#define SIZEOF_UNSIGNED_LONG 4
|
601
|
+
|
602
|
+
/* Define to 1 if you have the ANSI C header files. */
|
603
|
+
#define STDC_HEADERS 1
|
604
|
+
|
605
|
+
/* Define to 1 if strerror_r() returns a int. */
|
606
|
+
/* #undef STRERROR_R_INT */
|
607
|
+
|
608
|
+
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
609
|
+
/* #undef TM_IN_SYS_TIME */
|
610
|
+
|
611
|
+
/* Define to the appropriate snprintf format for unsigned 64-bit ints, if any.
|
612
|
+
*/
|
613
|
+
#define UINT64_FORMAT "%llu"
|
614
|
+
|
615
|
+
/* Define to 1 to build with assertion checks. (--enable-cassert) */
|
616
|
+
/* #undef USE_ASSERT_CHECKING */
|
617
|
+
|
618
|
+
/* Define to 1 to build with Bonjour support. (--with-bonjour) */
|
619
|
+
/* #undef USE_BONJOUR */
|
620
|
+
|
621
|
+
/* Define to 1 if you want 64-bit integer timestamp and interval support.
|
622
|
+
(--enable-integer-datetimes) */
|
623
|
+
/* #undef USE_INTEGER_DATETIMES */
|
624
|
+
|
625
|
+
/* Define to 1 to build with LDAP support. (--with-ldap) */
|
626
|
+
/* #undef USE_LDAP */
|
627
|
+
|
628
|
+
/* Define to select named POSIX semaphores. */
|
629
|
+
/* #undef USE_NAMED_POSIX_SEMAPHORES */
|
630
|
+
|
631
|
+
/* Define to 1 to build with PAM support. (--with-pam) */
|
632
|
+
/* #undef USE_PAM */
|
633
|
+
|
634
|
+
/* Use replacement snprintf() functions. */
|
635
|
+
#define USE_REPL_SNPRINTF 1
|
636
|
+
|
637
|
+
/* Define to build with (Open)SSL support. (--with-openssl) */
|
638
|
+
/* #undef USE_SSL */
|
639
|
+
|
640
|
+
/* Define to select SysV-style semaphores. */
|
641
|
+
/* #undef USE_SYSV_SEMAPHORES */
|
642
|
+
|
643
|
+
/* Define to select SysV-style shared memory. */
|
644
|
+
#define USE_SYSV_SHARED_MEMORY 1
|
645
|
+
|
646
|
+
/* Define to select unnamed POSIX semaphores. */
|
647
|
+
/* #undef USE_UNNAMED_POSIX_SEMAPHORES */
|
648
|
+
|
649
|
+
/* Define to select Win32-style semaphores. */
|
650
|
+
#define USE_WIN32_SEMAPHORES
|
651
|
+
|
652
|
+
/* Number of bits in a file offset, on hosts where this is settable. */
|
653
|
+
/* #undef _FILE_OFFSET_BITS */
|
654
|
+
|
655
|
+
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
|
656
|
+
/* #undef _LARGEFILE_SOURCE */
|
657
|
+
|
658
|
+
/* Define for large files, on AIX-style hosts. */
|
659
|
+
/* #undef _LARGE_FILES */
|
660
|
+
|
661
|
+
/* Define to empty if `const' does not conform to ANSI C. */
|
662
|
+
/* #undef const */
|
663
|
+
|
664
|
+
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
665
|
+
if it is not supported. */
|
666
|
+
/* #undef inline */
|
667
|
+
|
668
|
+
/* Define to empty if the C compiler does not understand signed types. */
|
669
|
+
/* #undef signed */
|
670
|
+
|
671
|
+
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
672
|
+
code using `volatile' can become incorrect without. Disable with care. */
|
673
|
+
/* #undef volatile */
|
674
|
+
#define LOCALEDIR "/share/locale"
|
675
|
+
/* defines added by config steps */
|
676
|
+
#ifndef IGNORE_CONFIGURED_SETTINGS
|
677
|
+
#define USE_LDAP 1
|
678
|
+
#define HAVE_LIBZ 1
|
679
|
+
#define USE_SSL 1
|
680
|
+
#define HAVE_UUID_H
|
681
|
+
#define HAVE_LIBXML2
|
682
|
+
#define USE_LIBXML
|
683
|
+
#define KRB5 1
|
684
|
+
#define HAVE_KRB5_ERROR_TEXT_DATA 1
|
685
|
+
#define HAVE_KRB5_TICKET_ENC_PART2 1
|
686
|
+
#define HAVE_KRB5_FREE_UNPARSED_NAME 1
|
687
|
+
#define ENABLE_GSS 1
|
688
|
+
#define VAL_CONFIGURE "--enable-thread-safety --enable-nls --with-ldap --with-ossp-uuid --with-libxml --with-libxslt --with-krb5 --with-tcl --with-perl --with-python"
|
689
|
+
#endif /* IGNORE_CONFIGURED_SETTINGS */
|