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
ad8c09c29c
Move Informix compatibility include files out of the way. compatlib.h
...
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
2003-12-18 18:55:09 +00:00
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
3b72087bf6
Install dummy sqlda.h file since this is needed for compatibility.
2003-10-20 12:54:29 +00:00
3b4c142030
Remove assorted compilation failures introduced by latest ecpg changes.
...
Also remove -g, which has no business in CPPFLAGS in the first place,
let alone being hardwired there by a sub-Makefile.
2003-10-03 17:04:48 +00:00
1bd5e054ed
Hide Informix datatypes. They are not seen by our built process anymore.
2003-10-03 10:07:28 +00:00
22c0b1f0f4
- Fixed order mismatch in processing "using" arguments.
...
- Fixed some minor things in test cases.
- Use defines for Informix error codes.
2003-09-22 13:19:39 +00:00
f604b39c2f
- Applied some bug fixing patches by Dave Cramer <dave@fastcrypt.com>.
...
- Added protecting defines to include files.
2003-09-20 09:10:09 +00:00
df974272ec
Removed superfluous return statement in get_data.
2003-09-19 14:06:21 +00:00
573f4500a3
Some uppercase type definitions were left.
2003-09-10 18:03:08 +00:00
fcdf0e22fc
- Added Dave patch for Informix handling of numeric/int conversion.
...
- Changed all new datatypes to lowercase.
- Fixed rounding bug in numerical types.
2003-09-09 10:46:42 +00:00
05f4b03b23
Fixed two bugs in pgtypes library.
2003-09-01 12:37:40 +00:00
acbef53d1f
Remove postgres_ext.h inclusion -- not necessary.
2003-08-08 10:43:54 +00:00
042221db83
Include postgres_ext.h instead of postgres_fe.h. This allows ecpg
...
output C files to proper compile again.
2003-08-07 04:44:26 +00:00
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
4f7df90db0
Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,
...
rather than parsing the message. Add some documentation about embedded
SQL.
2003-08-01 13:53:36 +00:00
7a9c074cba
- Added some Informix error codes in Informix mode.
...
- Added just another pgtypeslib function.
2003-08-01 08:21:04 +00:00
42df5e311f
Started to create different error codes for different backend messages.
2003-07-15 12:38:38 +00:00
2bdd2e5dcf
Use ISO dates in pgtypeslib by default.
...
Applied patch by Philip Yarra to fix some thread issues.
Added a new data type "decimal" which is mostly the same as our
"numeric" but uses a fixed length array to store the digits. This is
for compatibility with Informix and maybe others.
2003-07-01 12:40:52 +00:00
cf883ea95c
- Made sure Informix style decimal vars are initialized. They use a
...
fixed amount of digits and not an allocated one. So we have to work
around. PostgreSQL numeric type remains the same.
- In INFORMIX_SE mode with autcommit set, make all cursors be "with
hold". Is this really they way SE behaves?
2003-06-29 16:52:58 +00:00
9aeb1eff24
Just another sync.
2003-06-29 09:25:19 +00:00
fd3ca524eb
Implemented Informix special way to treat NULLs, removed warnings, synced.
2003-06-25 10:44:21 +00:00
2cbaaee6c3
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.
2003-06-20 13:36:34 +00:00
abd310a3b1
Allow constants in using clauses.
2003-06-20 12:00:59 +00:00
86a8331935
Some minor changes for new version numbering.
2003-06-15 11:10:09 +00:00