f6f8d61a47
Fix uninstall target.
2008-02-26 13:48:57 +00:00
a9bc069c0b
- Removed duplicate include of ecpgtype.h which meant I had to adapt all expected results.
...
- Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
2008-02-17 18:14:29 +00:00
efac2796e6
Changed the way symbols are defined in C in INFORMIX mode.
2008-02-15 11:20:21 +00:00
a3a648ecc9
Sorry, accidently committed a patch I'm working on. Reverting it.
...
The only correct change was:
- Added SQLSTATE macro closing bug #3961 .
2008-02-14 12:27:26 +00:00
78772dc018
*** empty log message ***
2008-02-14 12:22:36 +00:00
149db6b6b7
Changed prototype for ECPGdo because some compilers don't like int/enum aliasing in there.
2008-01-13 11:53:16 +00:00
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
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
c4a6c2f871
Hopefully fixed some stuff that causes Windows builds to fail.
2007-10-03 08:55:23 +00:00
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
2007-10-02 09:50:00 +00:00
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.
2007-09-30 11:38:48 +00:00
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
d49b20fbe6
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
2007-09-26 10:57:01 +00:00
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
906b2e1b37
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
...
third party includes (like tcl) that define DLLIMPORT.
2007-07-25 12:22:54 +00:00
7e72d07aa4
Applied patch send by Joachim Wieland to fix INTEGER_DATETIMES under MSVC.
2007-05-28 09:46:47 +00:00
ddcb5bbf76
- Added patch by Magnus Hagander <magnus@hagander.net> to use native
...
win32 threads.
- Fixed regression tests to run threading tests.
2007-03-29 12:02:24 +00:00
cf06c2e5d4
Fix Makefile problem which prevented installation on VPATH builds.
2006-11-29 21:21:03 +00:00
09309df9a2
Also install ecpg_config.h
2006-11-28 12:44:06 +00:00
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
0f0d6765ce
Added missing constuctor/destructor for interval and date.
2006-09-14 08:02:38 +00:00
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
8d9cf79437
Needed more stuff from c.h.
2006-08-24 10:48:21 +00:00
b7d5a88dbb
Need more defines in ecpg_config.h, patch sent by Rocco Altier <RoccoA@Routescape.com>
2006-08-24 09:37:07 +00:00
02c3cdbaad
Argh, forgot the new file yet again.
2006-08-23 12:51:26 +00:00
9bade3ff84
Replaced double-quote-fix with a hopefully better version.
...
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.
2006-08-23 12:01:53 +00:00
b30da7ba5f
Added lots of SoC stuff made by Joachim.
...
Fixed broken newline on Windows.
Fixed a nasty buffer underrun that only occured when using Informix
no_indicator NULL setting on timestamps and intervals.
2006-08-15 06:40:20 +00:00
7c9e2c75da
Fixed error handling in numeric conversion (Joachim).
...
Further regression cleanup.
2006-08-09 07:30:56 +00:00
6db6714ffc
Remove redeclaration of struct sqlca_t --- unnecessary and provokes
...
warnings on some compilers.
2006-08-04 16:54:05 +00:00
1fa6be6f69
ynced parser and keyword list.
...
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de >.
2006-08-02 13:43:23 +00:00
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
a7143b3088
Fix some makefiles that fail to yield good results from 'make -qp'.
...
This doesn't really matter for ordinary building of Postgres, but it's
useful for automated checks, such as my just-committed pgcheckdefines.
2006-07-15 03:33:14 +00:00
b85a965f5f
Allow each C include file to compile on its own by including any needed
...
header files.
2006-07-11 13:54:25 +00:00
f3d99d160d
Add CVS tag lines to files that were lacking them.
2006-03-11 04:38:42 +00:00
4c0efd3ae2
Remove Christof Petig copyright on include file, per author request.
2006-03-08 22:00:27 +00:00
44f9021223
Remove BEOS port.
2006-01-05 03:01:38 +00:00
a29c04a541
Allow installation into directories containing spaces in the name.
2005-12-09 21:19:36 +00:00
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
436a2956d8
Re-run pgindent, fixing a problem where comment lines after a blank
...
comment line where output as too long, and update typedefs for /lib
directory. Also fix case where identifiers were used as variable names
in the backend, but as typedefs in ecpg (favor the backend for
indenting).
Backpatch to 8.1.X.
2005-11-22 18:17:34 +00:00
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
f9a134b6e4
Add missing ecpg prototype for newly added functions.
2004-12-23 13:19:17 +00:00
f1d1116178
Fix Cygwin defines to be consistent.
2004-09-09 00:59:49 +00:00
15d3f9f6b7
Another pgindent run with lib typedefs added.
2004-08-30 02:54:42 +00:00
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
073f7312a4
- Fixed indicator in SET DESCRIPTOR.
...
- Added special handling of descriptor header information.
- Some code cleanup.
2004-07-05 09:45:54 +00:00
8715789928
Made sure SET DESCRIPTOR accepts all data types including constants.
2004-07-04 15:02:24 +00:00
90326c01c9
Added SET DESCRIPTOR command.
...
Note that this still has some bugs. The functionality is there though, it's just a matter of fixing the bugs now.
Cleaned up error handling in preprocessor.
2004-06-30 15:01:58 +00:00
03ad5da8f8
- Only use typedefs inside their scope.
...
- Variables that are out of scope, were not removed all the time.
- Make a varchar NULL set everything to 0 when not using indicators.
- Synced parser.
2004-06-27 12:28:42 +00:00
491dc124bf
- Argh, just another bug in adjust_informix.
...
- Added "extern C" flags for C++ compiler. Hopefully I got that one right.
2004-05-10 13:46:06 +00:00
6ccfc4f430
- Issue a warning if a cursor is declared but not opened.
...
- Fixed prototype for ECPGprepared_statement to not moan about "const char"
- Fixed parsing of nested structures.
- Added option to parse header files.
2004-01-28 09:52:14 +00:00