Commit Graph

100 Commits

Author SHA1 Message Date
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
9992f2b104 - Removed debug message from preproc.y.
- Fixed some bugs in exec sql var and exec sql type command.
2001-12-06 14:46:20 +00:00
ee14711ce8 - Fixed variable handling in AT statement.
- Fixed bug that caused segfault when given incorrect DB name.
        - Fixed bug in ecpglib causing indicator to list the size of the
          variable instead of the size of the data.
2001-12-05 15:32:07 +00:00
7845954e49 Committed again to add the missing files/patches. 2001-11-16 08:36:37 +00:00
32a4c3008f Added Christof's patches. 2001-11-14 11:11:49 +00:00
f419de8a7f Clean up some warnings and bugs and make things build easier. 2001-08-11 10:52:09 +00:00
f13cb7e524 Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>. 2001-05-03 16:07:52 +00:00
c9ecf3d1f1 Applied two bug fixes by Christof Petig. 2001-01-31 16:12:34 +00:00
13b78a2400 - Fixed bug in a connect statement using varchars.
- Synced parser.
2000-12-22 12:43:14 +00:00
adeedf9047 Fixed some bugs in C language parsing. 2000-10-17 15:38:26 +00:00
0a97c4a047 Simplified parsing of connect rule. 2000-10-17 06:15:29 +00:00
3615a6a84d Fixed handling of variables in connect rule. 2000-10-16 19:53:04 +00:00
965a0a40e1 Replace constants by C variables wherever possible. 2000-10-12 18:25:36 +00:00
136a4aebb6 removed binary file
CV: ----------------------------------------------------------------------
2000-10-04 10:11:33 +00:00
76f286b2ce - Synced preproc.y with gram.y.
- Synced keyword.c.
- Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT
  FOUND problem on update/insert/delete.
2000-09-26 11:41:45 +00:00
b4c8d47ab0 *** empty log message *** 2000-09-21 11:56:08 +00:00
339a5bbfb1 *** empty log message *** 2000-09-20 13:25:52 +00:00
e39a118694 *** empty log message *** 2000-05-17 06:03:14 +00:00
7ef29a26cb Update SCO FAQ. Billy G. Allie 2000-05-02 10:57:11 +00:00
2f19d11fc8 Clean up ecpg test files. 2000-04-29 03:25:24 +00:00
52f77df613 Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
a7b1ff6619 *** empty log message *** 2000-04-05 15:51:28 +00:00
9fb20f105f *** empty log message *** 2000-04-05 09:05:40 +00:00
5454b37921 *** empty log message *** 2000-04-03 19:34:26 +00:00
c9576ca1e0 *** empty log message *** 2000-03-30 11:41:46 +00:00
cf6420dd94 *** empty log message *** 2000-03-19 10:04:47 +00:00
3faa9bab07 Patch possible portability problem: a few places had // style comments,
which is not ANSI C, even though some compilers will take it...
2000-03-17 23:26:36 +00:00
1c7fad57d6 *** empty log message *** 2000-03-03 13:24:06 +00:00
9f74608f47 *** empty log message *** 2000-02-23 19:26:05 +00:00
991b9740ac *** empty log message *** 2000-02-22 19:57:12 +00:00
b3b35e98b6 *** empty log message *** 2000-02-17 19:48:58 +00:00
35ba9de276 *** empty log message *** 2000-02-16 16:18:29 +00:00
5933f1857f *** empty log message *** 2000-02-16 11:52:25 +00:00
30f16e72a4 *** empty log message *** 2000-02-15 19:23:20 +00:00