Michael Meskes
c8e0d68aa5
Added lost sysmbol SQL_SQL to list of allowed variable names.
2008-06-04 12:23:34 +00:00
Michael Meskes
f7563e9710
Synced parser.
...
Made ecpg parser use backend provided keyword list.
Changed whenever test so exit value is 0.
2008-05-20 23:17:32 +00:00
Michael Meskes
1fe8d17128
Check for non-existant connection in prepare statement handling.
...
Do not close files that weren't opened.
2008-05-12 16:29:04 +00:00
Michael Meskes
02b2bc7907
PGTYPEStimestamp_sub should use the values and not the pointers to substract.
2008-04-10 10:43:35 +00:00
Michael Meskes
9d7b256eeb
- Moved from PQsetdbLogin to PQconnectDB.
...
- Correctly parse connect options.
- Changed regression tests accordingly.
2008-03-27 07:56:02 +00:00
Michael Meskes
e427aa9080
added ECPGget_PGconn to exports.txt
2008-03-25 12:45:25 +00:00
Michael Meskes
f9e083fd30
Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury.
...
Removed one include file from connect-test1.
2008-03-20 16:29:45 +00:00
Michael Meskes
15364ea09d
Changed statement escaping to not escape continuation line markers.
2008-03-20 15:56:59 +00:00
Michael Meskes
fb7b1df083
Fixed bug that caused arrays of varchar to be output with incomplete name.
...
In the process expanded one test case,
2008-03-02 10:54:11 +00:00
Michael Meskes
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
Michael Meskes
efac2796e6
Changed the way symbols are defined in C in INFORMIX mode.
2008-02-15 11:20:21 +00:00
Michael Meskes
423abf4d6a
- EXECUTE can return NOT FOUND so it should be checked here too.
...
- Changed regression test accordingly.
2008-02-14 14:54:48 +00:00
Michael Meskes
78772dc018
*** empty log message ***
2008-02-14 12:22:36 +00:00
Michael Meskes
fa0dc92fd8
- Fixed segfault in ecpg when using an array element.
...
- Free all memory in auto-prepare mode.
2008-02-07 11:09:13 +00:00
Michael Meskes
dbdc2e52a0
Re-enabled variables in fetch/move command.
2008-01-15 10:31:47 +00:00
Michael Meskes
1460c82151
Set valid return values even in case of an error to prevent segfaults.
2008-01-14 09:43:42 +00:00
Michael Meskes
149db6b6b7
Changed prototype for ECPGdo because some compilers don't like int/enum aliasing in there.
2008-01-13 11:53:16 +00:00
Michael Meskes
da758c266c
Fixed lexer to correctly parse C quotes.
2008-01-11 15:19:16 +00:00
Michael Meskes
2f86ab7733
*** empty log message ***
2007-12-28 11:25:21 +00:00
Michael Meskes
51a5921dcc
Fixed a few minor glitches pointed out by splint.
2007-12-21 14:33:20 +00:00
Michael Meskes
e9d7bd2650
Fixed two parser bugs.
2007-11-06 08:32:08 +00:00
Michael Meskes
ea82ad6aff
Synced parser and keyword list.
2007-10-10 06:33:17 +00:00
Michael Meskes
fa8a9f373c
Also created export list for pgytpeslib and compatlib.
...
Set pgtypes library version to 3.0.
Set compat library version to 3.0.
2007-10-03 13:20:19 +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
Michael Meskes
c4a6c2f871
Hopefully fixed some stuff that causes Windows builds to fail.
2007-10-03 08:55:23 +00:00
Michael Meskes
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
2007-10-02 09:50:00 +00:00
Michael Meskes
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
Michael Meskes
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
Michael Meskes
a6b5765c7e
Synced parser and keyword list.
2007-09-04 10:02:29 +00:00
Michael Meskes
c7b6593042
Fixed bug in Informix define handling.
2007-08-29 13:58:13 +00:00
Michael Meskes
fefe7034e2
More cleaning up and removed some duplicates.
2007-08-22 08:20:58 +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
Michael Meskes
a1b336679c
Synced parser
2007-07-25 16:10:41 +00:00
Michael Meskes
e514740e69
Synced parser and keyword list.
2007-06-12 07:55:56 +00:00
Michael Meskes
88a7c4822c
Should not try to unlink stdout.
2007-06-11 12:01:23 +00:00
Michael Meskes
93625aa8ac
Applied Joachim's patch for ecpg_config.h creation on Vista.
...
Changed variable test to not run into infinite loops on backend errors.
2007-05-27 11:16:41 +00:00
Michael Meskes
439cf8e676
Do not try to find local timezone in DecodeDateTime() because the
...
result is not used anyway. This also fixes Vista's build problems.
2007-05-21 07:04:00 +00:00
Michael Meskes
2f2717d14f
tackling Vista problem - another try
2007-05-20 11:30:30 +00:00
Michael Meskes
3e7956cab7
Removed mktime() call to hopefully get rid of some compatibility problems.
2007-05-17 20:07:35 +00:00
Michael Meskes
1aca1cde52
- Synced parser and keyword list
...
- Renamed update test so it hopefully runs on Vista
2007-05-10 09:53:17 +00:00
Michael Meskes
c8577c6c7f
Inlined two functions to get rid of va_list problems on some archs.
2007-04-27 06:56:11 +00:00
Michael Meskes
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
Michael Meskes
d3e131e062
- Changed some whitespacing in connect statement.
...
- Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>.
- Synced parser and keyword lists.
- Copied two token parsing from backend parser to ecpg parser.
- Also added a test case for this.
2007-03-17 19:25:24 +00:00
Michael Meskes
153affd058
Fixed multibyte handling as reported by <harada.toshi@oss.ntt.co.jp>.
2007-02-11 15:18:17 +00:00
Michael Meskes
685523c420
Applied Magnus Hagander's patch to take away some compiler warnings.
2007-02-02 09:31:10 +00:00
Michael Meskes
fc8115d42f
Cleaned up va_list handling. Hopefully this now works on all archs.
2007-02-02 08:58:23 +00:00
Michael Meskes
a5a1506c96
Removed compiler warning due to unneeded unsigned declaration.
...
Removed regression test that triggers those libc precision bugs on some archs.
2007-01-25 16:45:25 +00:00
Michael Meskes
0c96e42797
Applied patch by Peter Harris to free auto_mem structure on connect
2006-11-08 10:46:47 +00:00
Michael Meskes
0f0d6765ce
Added missing constuctor/destructor for interval and date.
2006-09-14 08:02:38 +00:00
Michael Meskes
a3242fb42c
Lost some changes yet again
2006-09-05 12:17:09 +00:00