Magnus Hagander
20c38514b4
Don't try to free pgpassfile since it's a stack variable.
...
Martin Pitt
19 years ago
Tom Lane
eefd10c66c
Fix distprep and maintainer-clean targets so that ecpg's .def files are
...
made and removed at the correct times.
19 years ago
Tom Lane
b8f41d508c
Add .cvsignore files to suppress CVS gripes about ecpg .def files.
19 years ago
Tom Lane
8dfca24b6b
Results from buildfarm show that ecpglib was depending on pg_strcasecmp,
...
which evidently it got as an unofficial export from pgtypeslib.
19 years ago
Tom Lane
87dfa0d9ae
Stamp 8.3beta1, except in configure.in/configure.
19 years ago
Tom Lane
c86ce06964
DLL_DEFFILE should be defined when PORTNAME is win32, not when it isn't,
...
per the example of libpq/Makefile.
19 years ago
Michael Meskes
746593efe6
Replaced tabs by white spaces
19 years ago
Michael Meskes
085ffb24dc
Removed newline at end of exports files.
19 years ago
Michael Meskes
133d77a906
Added def-files to all: target so they are build everytime.
19 years ago
Tom Lane
b3ab9b45da
Suppress compiler warning in non-threaded build.
19 years ago
Tom Lane
6cbb2353cb
Tweak recently-added tests to suppress scary-looking warnings on 64-bit
...
machines about casts between pointers and integers of different sizes.
While they're harmless, we shouldn't expect users to have to go through
and figure that out for themselves.
19 years ago
Michael Meskes
2b0e46eef0
Argh, missing dll in filename
19 years ago
Tom Lane
fdbce93b85
Minor improvements to hack for old OpenSSL libraries: avoid unused
...
variable warning on Windows, improve comment.
19 years ago
Tom Lane
a248dbc4f8
Fix command for fetching snprintf.c.
19 years ago
Michael Meskes
f06a2b0ecc
This could be what's missing on some systems.
19 years ago
Michael Meskes
c95f5e80a9
Stripped two symbols that are needed.
19 years ago
Magnus Hagander
76a6ddfa47
Attempt to open certificate file "manually" using fopen before
...
trying BIO functions.
Helps problem with older versions of OpenSSL that lacks error
stack functions and would show an incorrect error message for
file-not-found-or-not-openable. The problem may still exist for
other errors, but file open error is by far the most common one.
19 years ago
Michael Meskes
ab8d123a3c
Also build snprintf from pgport if needed.
19 years ago
Michael Meskes
449fcf47fb
Remove exports.list in clean target.
19 years ago
Michael Meskes
fa8a9f373c
Also created export list for pgytpeslib and compatlib.
...
Set pgtypes library version to 3.0.
Set compat library version to 3.0.
19 years ago
Magnus Hagander
f83e44aecd
Use snprintf from libpgport in ecpg compatlib. Required since
...
we restricted exports from ecpglib.
19 years ago
Magnus Hagander
5d0f18d6ad
Fix typo
19 years ago
Magnus Hagander
6ddbc1164d
Make ECPG regression tests run with -c only for array_of_struct.pgc
...
on MSVC.
Fix strange nonstandard version of __stdcall specifyer in thread
tests on win32.
19 years ago
Michael Meskes
7793c6ecca
Cleaned up ecpglib and renamed functions that do not need to be exported.
...
Created export list for ecpglib.
19 years ago
Michael Meskes
c4a6c2f871
Hopefully fixed some stuff that causes Windows builds to fail.
19 years ago
Neil Conway
fc470ca334
Fix a compiler warning on Win32. Hannes Eder.
19 years ago
Magnus Hagander
de1172fa06
Default to thread safety on, and support more CPU options. Also
...
make sure that a CPU option is actually chosen.
Hiroshi Saito
19 years ago
Michael Meskes
5a0d31d3dc
Made new test also work without threading enabled.
19 years ago
Michael Meskes
b5efdbac5c
No idea where this file came from.
19 years ago
Michael Meskes
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
19 years ago
Tom Lane
f1d37a9997
Cope with ERR_set_mark() and ERR_pop_to_mark() not existing in older
...
OpenSSL libraries --- just don't call them if they're not there. This
might possibly lead to misleading error messages, but we'll just have
to live with that.
19 years ago
Magnus Hagander
ec4b6a81f6
Use BIO functions to avoid passing FILE * pointers to OpenSSL functions.
...
This fixes potential crashes on old versions of OpenSSL and the requirement on
"Applink" in new versions when building with MSVC and using different
runtimes.
Dave Page with fixes from me.
19 years ago
Magnus Hagander
b8ce3d3494
Build with /GS on 64-bit to work with modern Platform SDK.
...
Hiroshi Saito
19 years ago
Tom Lane
3ff0018c2e
In hopes of un-breaking the buildfarm, add missing file from
...
ITAGAKI Takahiro's patch.
19 years ago
Michael Meskes
60e83cec57
Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
...
to get memory allocation thread-safe. He also did some cleaning up.
19 years ago
Tom Lane
314ed5de6d
Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate
...
duplicative -DFRONTEND flags from many Makefiles. We still need Makefile
control of the symbol in a few places that compile frontend-or-backend
src/port/ files, but it's a lot cleaner than before.
Hiroshi Saito
19 years ago
Michael Meskes
d49b20fbe6
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
19 years ago
Peter Eisentraut
588901df84
Small string tweaks
19 years ago
Michael Meskes
3e77c8c6c6
Removed superfluous ECPGfree() call.
19 years ago
Bruce Momjian
f6a168e2c3
Add LDAP URL documentation.
...
Albe Laurenz
19 years ago
Michael Meskes
a6b5765c7e
Synced parser and keyword list.
19 years ago
Michael Meskes
c7b6593042
Fixed bug in Informix define handling.
19 years ago
Andrew Dunstan
1535f26c70
unbreak ECPG tests for VPATH builds.
19 years ago
Michael Meskes
fefe7034e2
More cleaning up and removed some duplicates.
19 years ago
Michael Meskes
002b4781ba
It seems we simply expected the same output for failure and success.
19 years ago
Michael Meskes
8187905913
It seems I always forget .in files.
19 years ago
Michael Meskes
cbe74fafe5
Hopefully fixed missing CHAR_BIT symbol
19 years ago
Michael Meskes
aa130f5c42
Fixed compiler warning for enum handling
19 years ago
Michael Meskes
146242fc9c
As usual I forgot some files. :-)
19 years ago
Michael Meskes
635a0b9a86
- Finished major rewrite to use new protocol version
...
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
19 years ago