Commit Graph

480 Commits

Author SHA1 Message Date
a50f285d8d Added some more informix compatibility functions. 2003-04-08 12:34:25 +00:00
d46e643822 Add Win32 path handling for / vs. \ and drive letters. 2003-04-04 20:42:13 +00:00
cdbd298b3a Add prototype for toupper/tolower(). 2003-04-03 05:25:41 +00:00
7b85b730f5 More patches for informix compatibility. 2003-04-01 14:37:25 +00:00
5e37f16be0 Forgot two new files and one that was moved. 2003-03-30 13:26:09 +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
15b9e2c5ff Add <stdlib> to add calloc() prototype. 2003-03-27 17:25:34 +00:00
89508a8492 More changes to pgtypeslib and set optimization to -O1. 2003-03-27 14:29:17 +00:00
f1792b932c Use PQfreemem() consistently, and document its use for Notify.
Keep PQfreeNotify() around for binary compatibility.
2003-03-25 02:44:36 +00:00
8f5fb5f24e Remove ecpg #warning with approval from Michael. 2003-03-22 19:48:41 +00:00
268bbf430f Add missing #include for calloc in ecpg. 2003-03-22 17:12:23 +00:00
b8f7d3d0b6 Do not free prepares statements at the end of a transaction. 2003-03-21 15:31:04 +00:00
524e9d62a7 Changes to the parser to accept new datatypes. 2003-03-21 14:17:47 +00:00
2e6f97560a Started adding date and timestamp. 2003-03-20 15:56:50 +00:00
28efaf3ccd Avoid mysterious warning about possibly uninitialized variable. 2003-03-19 16:05:41 +00:00
6fad73ed45 Some bugfixes for numerical library. 2003-03-18 10:46:39 +00:00
bb3730893b Forgot some files... 2003-03-16 10:49:51 +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
e4704001ea This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code.

Neil Conway
2003-03-10 22:28:22 +00:00
aedd189a5c Allow SET CONNECTION to be followed by connection object without leading "TO" or "=".
Allow whenever statement to list function without parameters.
2003-02-25 15:58:03 +00:00
03829995cd Forgot to commit Makefile change. 2003-02-21 15:19:18 +00:00
d5740d7e26 Added DATABASE command as alias to CONNECT TO. 2003-02-19 12:36:39 +00:00
244d2d67a0 Added Informix "database" command. 2003-02-17 14:06:40 +00:00
1005c993a6 In Informix mode ecpg should still be able to parse preprocessor directives. 2003-02-14 16:40:01 +00:00
3a335375a9 - Synced parser and keyword file.
- More work on Informix compatibility.
2003-02-14 13:17:13 +00:00
53c15ceda0 Just intermediate results for backup reasons. 2003-02-13 20:37:28 +00:00
8d33f80fc4 Suppress gcc warning. 2003-02-13 18:13:22 +00:00
1a9b0613c1 - Applied error reporting patch by Matthew Vanecek
- Started with an Informix compatibility option.
2003-02-13 13:11:52 +00:00
f8d8266ac5 Synced parser. 2003-01-21 20:01:12 +00:00
88d639e6e8 Protect from null param on ecpg disconnect, verified by Roland Karch 2002-12-13 20:29:07 +00:00
5587f077ab While porting my TPC-C implementation from Oracle, I discovered the
attached problem with the EXEC SQL COMMIT RELEASE statement.

Roland Karch
2002-12-12 21:50:01 +00:00
6ca16d7b80 Bump version for 7.3 and 7.4. 2002-12-11 04:07:39 +00:00
5cdf45c6aa Stamp minor version numbers for 7.4 release. 2002-12-04 18:14:11 +00:00
b4e334b6e6 Synced parser with backend 2002-11-27 08:30:27 +00:00
4bc3598aa4 Synced parser. 2002-11-15 15:47:44 +00:00
11c4f2d97d Synced parser one more time. 2002-11-07 09:48:09 +00:00
df7201c3c5 Remove no-longer-needed inclusions to improve backward compatibility
with older bison versions.
2002-11-07 06:06:17 +00:00
cab9437a43 Arrange to compile flex output files as inclusions into other files
(usually bison output files), not as standalone files.  This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file.  Needed for largefile
support on some platforms.
2002-11-01 22:52:34 +00:00
b91f9042b0 Add guards against double inclusion. 2002-10-21 18:53:20 +00:00
7a35d304e9 Remove obsoleted stuff merged in from branch. 2002-10-21 18:05:24 +00:00
cf8da4e9f0 Merged ecpg_big_bison back into HEAD 2002-10-21 13:09:31 +00:00
4cff161703 Improve formatting of --help output. 2002-10-18 22:05:36 +00:00
67ddac35db Remove commas for compatibility with newer bisons. 2002-09-22 21:54:31 +00:00
e50f52a074 pgindent run. 2002-09-04 20:31:48 +00:00
460ee04956 Fix breakage introduced by evidently-completely-untested snprintf patch. 2002-09-02 14:43:14 +00:00
a12b4e279b I checked all the previous string handling errors and most of them were
already fixed by You. However there were a few left and attached patch
should fix the rest of them.

I used StringInfo only in 2 places and both of them are inside debug
ifdefs. Only performance penalty will come from using strlen() like all
the other code does.

I also modified some of the already patched parts by changing
snprintf(buf, 2 * BUFSIZE, ... style lines to
snprintf(buf, sizeof(buf), ... where buf is an array.

Jukka Holappa
2002-09-02 06:11:43 +00:00
9f1fc1080e Since we're depending on %option noyywrap in the main scanner now,
we may as well use it in all our flex files.  Make all the flex files
have a consistent set of options.
2002-07-30 16:33:08 +00:00
b0c3c48eb3 Assemble portability modules into libpgport library.
Some makefile simplifications.
2002-07-27 20:10:05 +00:00
4be24fe88f Fixed some minor typos. 2002-07-21 11:09:41 +00:00
2297f3982b Re-Committed old file. 2002-07-21 08:20:07 +00:00