Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +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
Peter Eisentraut
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
Michael Meskes
7a9c074cba
- Added some Informix error codes in Informix mode.
...
- Added just another pgtypeslib function.
2003-08-01 08:21:04 +00:00
Michael Meskes
6a0d6d0060
Added explicit casts for date/interval/timestamp.
2003-07-25 16:10:26 +00:00
Michael Meskes
45d8f61ff2
Added more compat stuff ot the parser.
2003-07-18 14:32:56 +00:00
Michael Meskes
c15b66ef82
Allow blanks at the end of numerical values.
2003-07-17 11:27:55 +00:00
Michael Meskes
7d32551a81
Fixed some bugs in Informix compat functions.
2003-07-17 07:54:29 +00:00
Michael Meskes
42df5e311f
Started to create different error codes for different backend messages.
2003-07-15 12:38:38 +00:00
Michael Meskes
e895eb197d
- Synced preproc.y with gram.y
...
- Init sqlca in ECPGprepare().
- Added CLOSE DATABASE for Informix compatibility.
2003-07-14 10:16:45 +00:00
Michael Meskes
f207718b0c
More informix fixes.
2003-07-08 12:11:35 +00:00
Michael Meskes
fee6fd7f65
Fix segfault in connect in informix mode.
2003-07-08 07:13:48 +00:00
Michael Meskes
91d60637cf
"char *" of course is not the same as "char []". So I had to fix the way ecpg treated the second one.
2003-07-07 12:15:33 +00:00
Michael Meskes
c7fddd3072
date, interval and timestamp data should be quoted.
2003-07-04 12:00:52 +00:00
Michael Meskes
23e4fc18a7
Fixed informix behaviour for select without into.
2003-07-04 11:30:48 +00:00
Michael Meskes
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
Michael Meskes
4505653e54
Added just another compatibility level for Informix.
2003-06-26 11:37:05 +00:00
Bruce Momjian
b143210639
Wrap LONG_LONG_MIN redfinition around HAVE_LONG_LONG_INT_64.
2003-06-26 01:45:04 +00:00
Bruce Momjian
095a0c83d5
Fix compile problem for missing LONG_LONG_MIN on BSD/OS.
2003-06-26 01:33:23 +00:00
Michael Meskes
54fae9c20a
Some systems need another header file included.
2003-06-25 11:51:18 +00:00
Michael Meskes
fd3ca524eb
Implemented Informix special way to treat NULLs, removed warnings, synced.
2003-06-25 10:44:21 +00:00
Michael Meskes
36fe7577f8
Added missing terminating '\0' char for data put into char *.
2003-06-22 11:00:48 +00:00
Michael Meskes
2cbaaee6c3
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.
2003-06-20 13:36:34 +00:00
Michael Meskes
cf5ec3d12b
Sorry, missed a file.
2003-06-20 12:01:46 +00:00
Michael Meskes
abd310a3b1
Allow constants in using clauses.
2003-06-20 12:00:59 +00:00
Michael Meskes
8902aaaa6c
Fixed fetch into char * and added missing prototype for an Informix function.
2003-06-19 09:52:11 +00:00
Michael Meskes
8a2aa79fee
Fixed several more parsing bugs.
2003-06-17 07:28:22 +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
a64927f995
Ecpg cleanups for prototypes.
2003-06-15 04:56:45 +00:00
Bruce Momjian
4f70680177
Make ecpg thread safe.
...
Lee Kindness
2003-06-15 04:07:58 +00:00
Michael Meskes
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
Michael Meskes
776d530924
Create a real prototype function for describe.
2003-05-30 13:22:02 +00:00
Peter Eisentraut
6fabec242d
Fix compilation on Cygwin.
2003-05-22 17:20:44 +00:00
Michael Meskes
dc554458ad
Reversed my incorrect fix.
2003-05-20 11:05:27 +00:00
Michael Meskes
f7d836212a
Fixed double definition of ecpg_compat_mode.
2003-05-02 14:43:25 +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
a50f285d8d
Added some more informix compatibility functions.
2003-04-08 12:34:25 +00:00
Bruce Momjian
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
2003-04-04 20:42:13 +00:00
Michael Meskes
7b85b730f5
More patches for informix compatibility.
2003-04-01 14:37:25 +00:00
Michael Meskes
999f12982e
Moved Informix stuff to its own compat library. Interval datetype is now fully functional.
2003-03-30 11:48:19 +00:00
Michael Meskes
89508a8492
More changes to pgtypeslib and set optimization to -O1.
2003-03-27 14:29:17 +00:00
Bruce Momjian
f1792b932c
Use PQfreemem() consistently, and document its use for Notify.
...
Keep PQfreeNotify() around for binary compatibility.
2003-03-25 02:44:36 +00:00
Michael Meskes
b8f7d3d0b6
Do not free prepares statements at the end of a transaction.
2003-03-21 15:31:04 +00:00
Michael Meskes
2e6f97560a
Started adding date and timestamp.
2003-03-20 15:56:50 +00:00
Peter Eisentraut
28efaf3ccd
Avoid mysterious warning about possibly uninitialized variable.
2003-03-19 16:05:41 +00:00
Michael Meskes
6fad73ed45
Some bugfixes for numerical library.
2003-03-18 10:46:39 +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