84b35a7f76
Added missing "commit" in test case.
2003-10-12 15:19:46 +00:00
227dd9b427
Rename thread compile flag. Move thread test program to tools/thread,
...
and improve tests.
2003-09-27 15:32:48 +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
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
1709fde56a
Improve prototype casting for thread calls.
2003-09-05 01:53:41 +00:00
47a4e2ed1c
Fixed connect statement with username in variable.
2003-08-26 16:09:02 +00:00
e060701f51
Clean up function header.
2003-08-07 23:43:32 +00:00
d8295603c8
Make table column type TEXT.
2003-08-07 16:37:31 +00:00
697f9f09ed
Add iteration option to thread test program.
2003-08-07 16:14:03 +00:00
00c11039d4
Update ecpg thread testing program to be more automated.
2003-08-07 05:12:00 +00:00
149f01c4d4
Add ecpg thread testing file.
2003-08-06 02:19:51 +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
6a0d6d0060
Added explicit casts for date/interval/timestamp.
2003-07-25 16:10:26 +00:00
060229b9d7
Fixed mdy functions to use correct offset.
2003-07-24 08:41:07 +00:00
42df5e311f
Started to create different error codes for different backend messages.
2003-07-15 12:38:38 +00:00
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
f207718b0c
More informix fixes.
2003-07-08 12:11:35 +00:00
c7fddd3072
date, interval and timestamp data should be quoted.
2003-07-04 12:00:52 +00:00
23e4fc18a7
Fixed informix behaviour for select without into.
2003-07-04 11:30:48 +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
4505653e54
Added just another compatibility level for Informix.
2003-06-26 11:37:05 +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
26188e8c17
- Enable FETCH without INTO.
...
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
a0fed291dc
Sync and some minor cleanup/fixing work plus an EXEC SQL DESCRIBE prototype.
2003-05-30 08:39:01 +00:00
196d0dd10b
Changed variable parsing so struct[n].attr works.
2003-05-29 13:59:26 +00:00
813d9960d2
Forgot these.
2003-05-23 15:22:38 +00:00
d03a067ba0
ecpg now recognizes named structs/unions. So you don't have to list the whole definition everytime you declare a variable anymore.
2003-05-22 07:58:45 +00:00
4e1ed3da9b
- Added more compatibility functions.
...
- Accept CPP defines for type definitions.
- Do not parse system include files automatically for Informix mode
2003-05-14 14:37:36 +00:00
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
999f12982e
Moved Informix stuff to its own compat library. Interval datetype is now fully functional.
2003-03-30 11:48:19 +00:00
89508a8492
More changes to pgtypeslib and set optimization to -O1.
2003-03-27 14:29:17 +00:00
2e6f97560a
Started adding date and timestamp.
2003-03-20 15:56:50 +00:00
6fad73ed45
Some bugfixes for numerical library.
2003-03-18 10:46:39 +00:00
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
3a335375a9
- Synced parser and keyword file.
...
- More work on Informix compatibility.
2003-02-14 13:17:13 +00:00
3fab49325d
Include stdio.h and stdlib.h for completeness.
2002-04-21 19:51:44 +00:00
ff4281472a
Add missing include.
2002-04-20 03:46:16 +00:00
811f7df274
When a macro is replaced by the preprocessor, pgc.l reaches a end of
...
file, which is not the actual end of the file. One side effect of that
is that if you are i n a ifdef block, you get a wrong error telling you
that a endif is missing.
This patch corrects pgc.l and also adds a test of this problem to
test1.pgc. To convince you apply the patch to test1.pgc first then try
to compile the test the n apply the patch to pgc.l.
The patch moves the test of the scope of an ifdef block to the end of
the file b eeing parsed, including all includes files, ... .
Nicolas Bazin
2002-04-05 11:39:47 +00:00
73b92d10c6
Added typedef patches and a new option '-c' to automatically create C typedefs from SQL ones.
2002-03-21 09:42:52 +00:00
8e9b215fdf
Just one more test case.
2002-03-20 21:00:24 +00:00
92288a1cf9
Change made to elog:
...
o Change all current CVS messages of NOTICE to WARNING. We were going
to do this just before 7.3 beta but it has to be done now, as you will
see below.
o Change current INFO messages that should be controlled by
client_min_messages to NOTICE.
o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
to always go to the client.
o Remove INFO from the client_min_messages options and add NOTICE.
Seems we do need three non-ERROR elog levels to handle the various
behaviors we need for these messages.
Regression passed.
2002-03-06 06:10:59 +00:00
cb8961ab47
Added patch to temporarily disable locale for descriptors too (Christof)
2002-01-23 16:34:06 +00:00
7138a1e5fc
- Fixed variable handling for struct members.
...
- Removed check for array input. An attribut might store the
complete array.
2002-01-13 08:52:09 +00:00
54452833ef
Fixed parser to accept initializing expressions starting with "(".
2002-01-07 16:25:45 +00:00
988fdce5d1
- Removed space_or_nl and line_end from pgc.l.
...
- Fixed several bugs concerning arrays of structs including a memory
allocation bug.
2001-12-23 12:17:41 +00:00
d6fbb10556
Fix ecpg to allow pointer to structs.
2001-12-08 20:43:35 +00:00