Commit Graph

378 Commits

Author SHA1 Message Date
8a2aa79fee Fixed several more parsing bugs. 2003-06-17 07:28:22 +00:00
76924b5d94 Fixed two small bugs. 2003-06-16 16:58:11 +00:00
4f70680177 Make ecpg thread safe.
Lee Kindness
2003-06-15 04:07:58 +00:00
26188e8c17 - Enable FETCH without INTO.
- Compatibility functions for INFORMIX handling of DECLARE statement.
2003-06-13 10:50:58 +00:00
1ca0b6d047 Make sure a variable is no longer referenced when it is removed.
Fixed counting bug in parsing "->" operator.
Removed that silly debugging function I accidently committed last night.
2003-06-11 06:39:13 +00:00
65058fcf2b Fixed some bugs. 2003-06-10 17:46:43 +00:00
45eebaf822 Fixed segfault in forward definition parsing. 2003-06-02 15:38:02 +00:00
776d530924 Create a real prototype function for describe. 2003-05-30 13:22:02 +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
bbe9902223 Parse forward definiton of structs. 2003-05-29 12:00:22 +00:00
e185583a37 Allow input from stdin and output to stdout. 2003-05-27 14:36:00 +00:00
677844560f Fixed incorrect output for some structs. 2003-05-27 11:31:52 +00:00
d258fb91cf ecpg now accepts array elements as arguments. 2003-05-23 15:19:36 +00:00
dbd55d3a5b Fixed segfault when detecting undefined cursor. 2003-05-22 17:09:00 +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
dc554458ad Reversed my incorrect fix. 2003-05-20 11:05:27 +00:00
08d7e1c20e Fixed exec sql ifdef command. 2003-05-19 07:19:57 +00:00
3d41da50f7 Made variable type double work again. 2003-05-16 11:30:09 +00:00
7e684fad02 Fixed incorrect include and another typo. Sorry, the include did not create a warning/error/problem on my machine, so I didn't notice it. 2003-05-16 09:42:56 +00:00
c42581eba3 Allow interfaces to compile under MingGW/Win32 by adding _P to symbols
in ecpg.
2003-05-16 04:59:24 +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
72f311b86a Fixed order of include file search path. 2003-05-13 11:29:14 +00:00
f7d836212a Fixed double definition of ecpg_compat_mode. 2003-05-02 14:43:25 +00:00
9e9d8d54e3 Added an option to force ecpg to also parse files includes via '#include' and some more Informix stuff. 2003-05-01 17:16:57 +00:00
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
89508a8492 More changes to pgtypeslib and set optimization to -O1. 2003-03-27 14:29:17 +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
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
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
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
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
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