Tom Lane
eefd10c66c
Fix distprep and maintainer-clean targets so that ecpg's .def files are
...
made and removed at the correct times.
2007-10-05 01:51:40 +00:00
Tom Lane
8dfca24b6b
Results from buildfarm show that ecpglib was depending on pg_strcasecmp,
...
which evidently it got as an unofficial export from pgtypeslib.
2007-10-04 20:54:08 +00:00
Tom Lane
c86ce06964
DLL_DEFFILE should be defined when PORTNAME is win32, not when it isn't,
...
per the example of libpq/Makefile.
2007-10-04 18:32:07 +00:00
Michael Meskes
133d77a906
Added def-files to all: target so they are build everytime.
2007-10-04 07:58:15 +00:00
Michael Meskes
7793c6ecca
Cleaned up ecpglib and renamed functions that do not need to be exported.
...
Created export list for ecpglib.
2007-10-03 11:11:12 +00:00
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
2007-09-27 19:53:44 +00:00
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
2007-08-14 10:01:54 +00:00
Peter Eisentraut
2cc01004c6
Remove remains of old depend target.
2007-01-20 17:16:17 +00:00
Bruce Momjian
1c3b43cddd
Stamp major release 8.3.0, and increment library version numbers.
2007-01-05 20:54:43 +00:00
Tom Lane
062421defb
Fix a couple other places that need to know about (some) src/port/ files
...
explicitly.
2006-09-28 14:48:45 +00:00
Tom Lane
568b80168f
Move set_pglocale_pgservice() from path.c to exec.c, so that pulling in
...
path.c does not in itself force linking of both exec.c and libintl.
Should fix current ecpglib build failure on pickier platforms.
2006-09-11 20:10:30 +00:00
Tom Lane
4ee24cbb55
Install a cleaner solution to the AIX libpq linking problem, as per
...
an earlier discussion. Centralize assumptions about what libpq depends
on in one place in Makefile.global. I am unconvinced that this list
is complete, but since ecpg seems to have gotten along with just these
entries, we'll try it this way and see what happens.
2006-09-10 22:07:02 +00:00
Tom Lane
ae28cfe673
Partial fix for ecpg's VPATH problems. It compiles and successfully
...
builds all the files needed for its regression tests, but the tests
themselves fail because of diffs in the #line directives output by
ecpg itself. Not sure what to do about that.
2006-08-28 16:13:11 +00:00
Tom Lane
de762468aa
We only need to add thread.c on non-WIN32 platforms, since get_home_path
...
doesn't use pqGetpwuid on WIN32. Rather than try to figure out why it
won't build on WIN32, just remove it.
2006-04-29 20:13:07 +00:00
Tom Lane
1e7bb2da57
Arrange to strip libpq.so of symbols that aren't officially supposed to
...
be exported on Linux and Darwin. We already did this on Windows but
that's not enough, as evidenced by the fact that libecpg had an unexpected
dependency on one such symbol. We should try to do it on more platforms.
Fix ecpg's oversight, and bump libpq's major .so version number to reflect
the unwanted but nonetheless real ABI break.
2006-04-28 02:53:20 +00:00
Michael Meskes
f3dda5be89
Data transferred binary is now put into the variables verbatim.
...
Also added a test case for a binary cursor.
2006-01-17 19:49:23 +00:00
Peter Eisentraut
a29c04a541
Allow installation into directories containing spaces in the name.
2005-12-09 21:19:36 +00:00
Bruce Momjian
7b1a7e786e
Stamp libraries for 8.2 by updating minor library version numbers and
...
Win32 library files.
2005-12-09 02:49:09 +00:00
Tom Lane
e0e7589169
Make Win32 build use our port/snprintf.c routines, instead of depending
...
on libintl which may or may not provide what we need. Make a few marginal
cleanups to ensure this works. Andrew Dunstan and Tom Lane.
2005-12-06 02:29:04 +00:00
Michael Meskes
150131d9d9
- Made several variables "const char *" instead of "char *" as proposed by Qingqing Zhou <zhouqq@cs.toronto.edu>.
...
- Replaced all strdup() calls by ECPGstrdup().
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
2005-11-30 12:49:49 +00:00
Bruce Momjian
2b0bb797ec
Bump minor version numbers for 8.1 compared to 8.0.
2005-03-14 17:27:50 +00:00
Bruce Momjian
caad817d1c
Add fprintf() custom version to libpgport.
...
Document use of macros for pg_printf functions.
Bump major versions of all interfaces to handle movement of get_progname
from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
2005-03-11 19:13:43 +00:00
Tom Lane
889f038129
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
...
APPDATA directory on Windows. Magnus Hagander
2005-01-26 19:24:03 +00:00
Bruce Momjian
31197bbdf5
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
2005-01-18 05:00:35 +00:00
Tom Lane
a34d76ef65
Fix up makefile dependencies for pg_config_paths.h.
2004-11-20 21:13:06 +00:00
Neil Conway
0b112045b7
Fix vpath build break, induced by Bruce's recent commit.
2004-10-12 04:48:36 +00:00
Bruce Momjian
29e7dc420a
Add some pg_config_path.h dependencies for places that include
...
pg_config_paths.h outside of /src/port.
2004-10-12 01:04:11 +00:00
Bruce Momjian
ee7de3d662
Make sure no libs use libpgport by removing it from the link line.
2004-10-04 20:36:12 +00:00
Tom Lane
9df3086972
Cause libpq and ecpg libraries to be built as proper shared libraries
...
(.dylib format) on Mac OS X, while not messing up loadable modules for
the backend (which are the same kind of animal as a shared library on
every other platform, but not here). Also get the naming convention
to match OS X practice, viz libFOO.version.so not libFOO.so.version.
In support of that last, refactor code in Makefile.shlib to make it
easier to have platform-specific shlib naming conventions.
This patch is loosely based on the Fink project's current postgresql.patch.
Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check
it on?
2004-07-13 00:06:46 +00:00
Bruce Momjian
f240d37229
Add FRONTEND to ecpglib.
2004-05-25 21:20:44 +00:00
Bruce Momjian
17ff18141c
Add exec.c to ecpg library because path.c now uses it.
2004-05-25 17:35:51 +00:00
Tom Lane
add8b70dda
Handle inclusion of port modules 'correctly', viz the same way libpq
...
does it. Fixes OS X, which needs path.c. It may be that Win32 needs
some more port modules, but they are easily added.
2004-05-21 21:56:02 +00:00
Bruce Momjian
260b513fc3
Add mention of why -lpgport is needed in ecpglib (dllwrap).
2004-05-21 03:12:03 +00:00
Bruce Momjian
928e73ea62
Add -lpgport to ecpglib link only on win32. Other platforms have
...
problems with it.
2004-05-21 03:10:47 +00:00
Tom Lane
9bfee3adee
Revert addition of -lpgport, which breaks the build on platforms that
...
are sticky about non-PIC code in shared libraries. Windows will have
to find another solution (probably similar to the way libpq does it).
2004-05-21 00:14:38 +00:00
Bruce Momjian
eb8c79a129
Win32 needs -lpgport for dll creation of ecpglib.
2004-05-19 05:14:58 +00:00
Bruce Momjian
4a73eb5ab1
Minor adjustments to enable public-domain timezone library to be called
...
from our code.
2004-04-30 04:14:06 +00:00
Bruce Momjian
45fbab2933
Make thread flags CFLAGS, not CPPFLAGS.
2004-04-25 20:57:32 +00:00
Bruce Momjian
7a66015e98
Add new auto-detection of thread flags.
...
Allow additional thread flags to be added via port templates.
Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
2004-04-23 18:15:55 +00:00
Michael Meskes
757fb0e5a9
- Fixed Informix compat math functions to cope with the situations
...
where one argument takes the result.
- Applied thread patches by Lee Kindness
2004-03-14 12:16:30 +00:00
Tom Lane
0eb6951915
Repair missing inclusions of -lintl for shared libraries.
2004-02-10 07:26:25 +00:00
Bruce Momjian
32abf0e781
Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.
2003-11-30 06:09:54 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Tom Lane
979b537522
Include -lkrb5 when needed for shlibs depending on libpq. Per report
...
from Johan Henselmans.
2003-10-28 21:55:58 +00:00
Tom Lane
cd75f94daf
Adjust Darwin build to use the default 'two level namespace' linking
...
method. Fix a number of places where shared libraries were linked without
mentioning all the libraries they depend on; the Darwin and AIX ports
are known to require this, and it doesn't seem to hurt any other supported
platforms. (Hence, remove code in pl/tcl makefile that tried to avoid
mentioning other libs if not needed.)
2003-09-27 19:35:32 +00:00
Bruce Momjian
227dd9b427
Rename thread compile flag. Move thread test program to tools/thread,
...
and improve tests.
2003-09-27 15:32:48 +00:00
Peter Eisentraut
7843a44839
Use only two-part shared library version numbers, for better portability
...
and consistency.
2003-08-01 16:18:04 +00:00
Michael Meskes
a0f29e3afd
Typo in version number.
2003-06-15 12:06:50 +00:00
Michael Meskes
86a8331935
Some minor changes for new version numbering.
2003-06-15 11:10:09 +00:00
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
Peter Eisentraut
6fabec242d
Fix compilation on Cygwin.
2003-05-22 17:20:44 +00:00
Tom Lane
6fb5115850
Get rid of inappropriate flags in CPPFLAGS override --- these break
...
non-gcc compilers, and they would never belong in CPPFLAGS anyway.
2003-04-08 17:09:51 +00:00
Michael Meskes
a4f25b6a9c
Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
2003-03-16 10:42:54 +00:00