Tom Lane
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
Michael Meskes
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
Michael Meskes
03829995cd
Forgot to commit Makefile change.
2003-02-21 15:19:18 +00:00
Michael Meskes
d5740d7e26
Added DATABASE command as alias to CONNECT TO.
2003-02-19 12:36:39 +00:00
Michael Meskes
244d2d67a0
Added Informix "database" command.
2003-02-17 14:06:40 +00:00
Michael Meskes
1005c993a6
In Informix mode ecpg should still be able to parse preprocessor directives.
2003-02-14 16:40:01 +00:00
Michael Meskes
3a335375a9
- Synced parser and keyword file.
...
- More work on Informix compatibility.
2003-02-14 13:17:13 +00:00
Michael Meskes
53c15ceda0
Just intermediate results for backup reasons.
2003-02-13 20:37:28 +00:00
Tom Lane
8d33f80fc4
Suppress gcc warning.
2003-02-13 18:13:22 +00:00
Michael Meskes
1a9b0613c1
- Applied error reporting patch by Matthew Vanecek
...
- Started with an Informix compatibility option.
2003-02-13 13:11:52 +00:00
Michael Meskes
f8d8266ac5
Synced parser.
2003-01-21 20:01:12 +00:00
Bruce Momjian
88d639e6e8
Protect from null param on ecpg disconnect, verified by Roland Karch
2002-12-13 20:29:07 +00:00
Bruce Momjian
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
Bruce Momjian
6ca16d7b80
Bump version for 7.3 and 7.4.
2002-12-11 04:07:39 +00:00
Bruce Momjian
5cdf45c6aa
Stamp minor version numbers for 7.4 release.
2002-12-04 18:14:11 +00:00
Michael Meskes
b4e334b6e6
Synced parser with backend
2002-11-27 08:30:27 +00:00
Michael Meskes
4bc3598aa4
Synced parser.
2002-11-15 15:47:44 +00:00
Michael Meskes
11c4f2d97d
Synced parser one more time.
2002-11-07 09:48:09 +00:00
Tom Lane
df7201c3c5
Remove no-longer-needed inclusions to improve backward compatibility
...
with older bison versions.
2002-11-07 06:06:17 +00:00
Tom Lane
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
Peter Eisentraut
b91f9042b0
Add guards against double inclusion.
2002-10-21 18:53:20 +00:00
Peter Eisentraut
7a35d304e9
Remove obsoleted stuff merged in from branch.
2002-10-21 18:05:24 +00:00
Michael Meskes
cf8da4e9f0
Merged ecpg_big_bison back into HEAD
2002-10-21 13:09:31 +00:00
Peter Eisentraut
4cff161703
Improve formatting of --help output.
2002-10-18 22:05:36 +00:00
Tom Lane
67ddac35db
Remove commas for compatibility with newer bisons.
2002-09-22 21:54:31 +00:00
Bruce Momjian
e50f52a074
pgindent run.
2002-09-04 20:31:48 +00:00
Tom Lane
460ee04956
Fix breakage introduced by evidently-completely-untested snprintf patch.
2002-09-02 14:43:14 +00:00
Bruce Momjian
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
Tom Lane
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
Peter Eisentraut
b0c3c48eb3
Assemble portability modules into libpgport library.
...
Some makefile simplifications.
2002-07-27 20:10:05 +00:00
Michael Meskes
4be24fe88f
Fixed some minor typos.
2002-07-21 11:09:41 +00:00
Michael Meskes
2297f3982b
Re-Committed old file.
2002-07-21 08:20:07 +00:00
Michael Meskes
a58930bbd5
Synced parser yet again.
...
Michael
2002-07-20 08:24:18 +00:00
Bruce Momjian
b9104e3a97
Remove certain Makefile dependencies by using full pathnames in
...
configure.in.
2002-07-15 21:34:05 +00:00
Michael Meskes
a3ec44a5d3
Commit old versions into main branch again.
...
Michael
2002-07-01 06:56:10 +00:00
Michael Meskes
9786223480
Committing parser changes. Note, however, that the development bison seems ot have a problem on my home machine. So these go in untested for the time being. But at least I have them in the archive.
...
Michael
2002-06-30 09:34:14 +00:00
Bruce Momjian
d84fe82230
Update copyright to 2002.
2002-06-20 20:29:54 +00:00
Michael Meskes
2fabb99388
Fixed parser bug concerning octal numbers in single quotes.
2002-06-17 13:23:27 +00:00
Michael Meskes
0f865e17e2
Applied Lee Kindness' patch to fix one of memory allocation with floating point numbers.
2002-06-12 12:06:53 +00:00
Jan Wieck
469cb65aca
Katherine Ward wrote:
...
> Changes to avoid collisions with WIN32 & MFC names...
> 1. Renamed:
> a. PROC => PGPROC
> b. GetUserName() => GetUserNameFromId()
> c. GetCurrentTime() => GetCurrentDateTime()
> d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
>
> 2. Added _P to some lex/yacc tokens:
> CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
Jan
2002-06-11 13:40:53 +00:00
Michael Meskes
7f660adeb1
- Fixed some parser bugs.
...
- Removed some simple rules to work arounf bison limit for now.
- Update c_keywords.c to reflect changes in keywords.c.
2002-05-20 09:29:41 +00:00
Michael Meskes
f35ced3de9
- Fixed reduce/reduce conflict in parser.
...
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
2002-05-19 20:00:53 +00:00
Michael Meskes
c8996f9c6b
- Synced yet again.
...
- Fixed a typo in a comment printed by ecpg.
2002-04-28 17:20:03 +00:00
Michael Meskes
75c33220ad
Synced preproc.y and keywords.c.
2002-04-22 18:54:43 +00:00
Thomas G. Lockhart
3fab49325d
Include stdio.h and stdlib.h for completeness.
2002-04-21 19:51:44 +00:00
Peter Eisentraut
ff4281472a
Add missing include.
2002-04-20 03:46:16 +00:00
Michael Meskes
cc592ed8ea
Fixed typo in preproc/type.h
2002-04-16 07:03:56 +00:00
Michael Meskes
70fb71f487
- Synced preproc.y with gram.y
...
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
2002-04-14 08:59:16 +00:00
Bruce Momjian
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
Tom Lane
5eed835b9a
Indenting #if commands is not portable, is it?
2002-03-24 18:22:21 +00:00