Michael Meskes
f496eb31b2
Check for non-existant connection in prepare statement handling.
...
Do not close files that weren't opened.
2008-05-12 16:30:17 +00:00
Michael Meskes
4fcff62991
Fixed bug in PGTYPEStimestamp_sub that used pointers instead of the values to substract.
2008-04-10 10:46:22 +00:00
Michael Meskes
e5fab267c5
added ECPGget_PGconn to exports.txt
2008-03-25 12:45:33 +00:00
Michael Meskes
4866b529f3
Corrected version number.
2008-03-21 16:10:10 +00:00
Michael Meskes
94a710563e
Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury.
...
Bumped library version to 6.1.
2008-03-20 16:30:14 +00:00
Michael Meskes
6a78d754d0
Changed statement escaping to not escape continuation line markers.
...
Bumped precompiler patchlevel.
2008-03-20 16:04:52 +00:00
Michael Meskes
8a7c17d0ee
Fixed bug that caused arrays of varchar to be output with incomplete name.
2008-03-02 10:57:21 +00:00
Tom Lane
0b173a6e8d
Fix unportable usages of tolower(). On signed-char machines, it is necessary
...
to explicitly cast the output back to char before comparing it to a char
value, else we get the wrong result for high-bit-set characters. Found by
Rolf Jentsch. Also, fix several places where <ctype.h> functions were being
called without casting the argument to unsigned char; this is likewise
unportable, but we keep making that mistake :-(. These found by buildfarm
member salamander, which I will desperately miss if it ever goes belly-up.
2008-03-01 03:26:44 +00:00
Peter Eisentraut
07e58204ed
Fix uninstall target.
2008-02-26 13:49:14 +00:00
Michael Meskes
0ab0607949
Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD.
2008-02-17 18:42:23 +00:00
Michael Meskes
a50a313c1d
Updated expected result for regression test.
2008-02-15 18:51:57 +00:00
Michael Meskes
0a96951017
Fixed conflicting commit.
2008-02-15 16:28:47 +00:00
Michael Meskes
bea0466d9d
Changed the way symbols are defined in C in INFORMIX mode.
...
Added SQLSTATE macro closing bug #3961 .
EXECUTE can return NOT FOUND so it should be checked here too.
2008-02-15 12:11:02 +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
Tom Lane
867ff0727f
informix.c was violating the coding rule about not including any
...
system headers before c.h. Per report from J6M.
2008-01-08 01:14:52 +00:00
Bruce Momjian
9098ab9e32
Update copyrights in source tree to 2008.
2008-01-01 19:46:01 +00:00
Michael Meskes
332bed8c6b
Sorry, hit the wrong button with my last commit. Here's the correct changelog:
...
Applied patch send by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp > to fix bug in connect statement if user name is a variable.
Also fixed test case that didn't detect this.
2007-12-28 11:30:54 +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
Bruce Momjian
f6e8730d11
Re-run pgindent with updated list of typedefs. (Updated README should
...
avoid this problem in the future.)
2007-11-15 22:25:18 +00:00
Bruce Momjian
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
Michael Meskes
e9d7bd2650
Fixed two parser bugs.
2007-11-06 08:32:08 +00:00
Tom Lane
bcb3852c33
Fix deprecated-by-C-spec usage: storage class should come before const
...
decoration. Zdenek Kotala
2007-11-05 20:57:24 +00:00
Tom Lane
462227dc00
Avoid having backend-only code compiled into ecpg. Per Zdenek Kotala
2007-10-26 14:17:53 +00:00
Michael Meskes
ea82ad6aff
Synced parser and keyword list.
2007-10-10 06:33:17 +00:00
Tom Lane
eefd10c66c
Fix distprep and maintainer-clean targets so that ecpg's .def files are
...
made and removed at the correct times.
2007-10-05 01:51:40 +00:00
Tom Lane
b8f41d508c
Add .cvsignore files to suppress CVS gripes about ecpg .def files.
2007-10-05 01:35:55 +00:00
Tom Lane
8dfca24b6b
Results from buildfarm show that ecpglib was depending on pg_strcasecmp,
...
which evidently it got as an unofficial export from pgtypeslib.
2007-10-04 20:54:08 +00:00
Tom Lane
c86ce06964
DLL_DEFFILE should be defined when PORTNAME is win32, not when it isn't,
...
per the example of libpq/Makefile.
2007-10-04 18:32:07 +00:00
Michael Meskes
746593efe6
Replaced tabs by white spaces
2007-10-04 17:49:31 +00:00
Michael Meskes
085ffb24dc
Removed newline at end of exports files.
2007-10-04 16:29:33 +00:00
Michael Meskes
133d77a906
Added def-files to all: target so they are build everytime.
2007-10-04 07:58:15 +00:00
Tom Lane
b3ab9b45da
Suppress compiler warning in non-threaded build.
2007-10-03 16:03:25 +00:00
Tom Lane
6cbb2353cb
Tweak recently-added tests to suppress scary-looking warnings on 64-bit
...
machines about casts between pointers and integers of different sizes.
While they're harmless, we shouldn't expect users to have to go through
and figure that out for themselves.
2007-10-03 15:59:13 +00:00
Michael Meskes
2b0e46eef0
Argh, missing dll in filename
2007-10-03 15:24:19 +00:00
Tom Lane
a248dbc4f8
Fix command for fetching snprintf.c.
2007-10-03 15:04:23 +00:00
Michael Meskes
f06a2b0ecc
This could be what's missing on some systems.
2007-10-03 14:42:16 +00:00
Michael Meskes
c95f5e80a9
Stripped two symbols that are needed.
2007-10-03 14:01:28 +00:00
Michael Meskes
ab8d123a3c
Also build snprintf from pgport if needed.
2007-10-03 13:40:52 +00:00
Michael Meskes
449fcf47fb
Remove exports.list in clean target.
2007-10-03 13:24:54 +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
Magnus Hagander
f83e44aecd
Use snprintf from libpgport in ecpg compatlib. Required since
...
we restricted exports from ecpglib.
2007-10-03 12:34:29 +00:00
Magnus Hagander
5d0f18d6ad
Fix typo
2007-10-03 12:11:37 +00:00
Magnus Hagander
6ddbc1164d
Make ECPG regression tests run with -c only for array_of_struct.pgc
...
on MSVC.
Fix strange nonstandard version of __stdcall specifyer in thread
tests on win32.
2007-10-03 11:57:36 +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