summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
AgeCommit message (Collapse)Author
2002-12-13Protect from null param on ecpg disconnect, verified by Roland KarchBruce Momjian
2002-12-12While porting my TPC-C implementation from Oracle, I discovered theBruce Momjian
attached problem with the EXEC SQL COMMIT RELEASE statement. Roland Karch
2002-12-11Bump version for 7.3 and 7.4.Bruce Momjian
2002-12-04Stamp minor version numbers for 7.4 release.Bruce Momjian
2002-11-27Synced parser with backendMichael Meskes
2002-11-15Synced parser.Michael Meskes
2002-11-07Synced parser one more time.Michael Meskes
2002-11-07Remove no-longer-needed inclusions to improve backward compatibilityTom Lane
with older bison versions.
2002-11-01Arrange to compile flex output files as inclusions into other filesTom Lane
(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-10-21Add guards against double inclusion.Peter Eisentraut
2002-10-21Remove obsoleted stuff merged in from branch.Peter Eisentraut
2002-10-21Merged ecpg_big_bison back into HEADMichael Meskes
2002-10-18Improve formatting of --help output.Peter Eisentraut
2002-09-22Remove commas for compatibility with newer bisons.Tom Lane
2002-09-04pgindent run.Bruce Momjian
2002-09-02Fix breakage introduced by evidently-completely-untested snprintf patch.Tom Lane
2002-09-02I checked all the previous string handling errors and most of them wereBruce Momjian
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-07-30Since we're depending on %option noyywrap in the main scanner now,Tom Lane
we may as well use it in all our flex files. Make all the flex files have a consistent set of options.
2002-07-27Assemble portability modules into libpgport library.Peter Eisentraut
Some makefile simplifications.
2002-07-21Fixed some minor typos.Michael Meskes
2002-07-21Re-Committed old file.Michael Meskes
2002-07-20Synced parser yet again.Michael Meskes
Michael
2002-07-15Remove certain Makefile dependencies by using full pathnames inBruce Momjian
configure.in.
2002-07-01Commit old versions into main branch again.Michael Meskes
Michael
2002-06-30Committing parser changes. Note, however, that the development bison seems ↵Michael Meskes
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-20Update copyright to 2002.Bruce Momjian
2002-06-17Fixed parser bug concerning octal numbers in single quotes.Michael Meskes
2002-06-12Applied Lee Kindness' patch to fix one of memory allocation with floating ↵Michael Meskes
point numbers.
2002-06-11Katherine Ward wrote:Jan Wieck
> 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-05-20 - Fixed some parser bugs.Michael Meskes
- Removed some simple rules to work arounf bison limit for now. - Update c_keywords.c to reflect changes in keywords.c.
2002-05-19 - Fixed reduce/reduce conflict in parser.Michael Meskes
- Synced preproc.y with gram.y. - Synced pgc.l with scan.l. - Synced keywords.c.
2002-04-28 - Synced yet again.Michael Meskes
- Fixed a typo in a comment printed by ecpg.
2002-04-22Synced preproc.y and keywords.c.Michael Meskes
2002-04-21Include stdio.h and stdlib.h for completeness.Thomas G. Lockhart
2002-04-20Add missing include.Peter Eisentraut
2002-04-16Fixed typo in preproc/type.hMichael Meskes
2002-04-14- Synced preproc.y with gram.yMichael Meskes
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
2002-04-05When a macro is replaced by the preprocessor, pgc.l reaches a end ofBruce Momjian
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-03-24Indenting #if commands is not portable, is it?Tom Lane
2002-03-21Fix minor syntax error.Tom Lane
2002-03-21Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes
typedefs from SQL ones.
2002-03-20Just one more test case.Michael Meskes
2002-03-19Add missing trailing semicolons to ecpg rules.Bruce Momjian
Neil Conway
2002-03-15Manually clean up indenting of ecpg lex/yacc files, OK'ed by MichaelBruce Momjian
Meskes. These files are not touched by pgindent so this has to be manually done.
2002-03-11Changed the version numbers, but did not commit the Makefiles.Michael Meskes
2002-03-10Fixed two bugs in define command in pgc.lMichael Meskes
2002-03-10Disable brackets in multi-statement rules, as discussed.Bruce Momjian
2002-03-06Synced parser with backend.Michael Meskes
2002-03-06Change made to elog:Bruce Momjian
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-02-23Add -Wno-error to CFLAGS, so the rest of the tree can compile withPeter Eisentraut
-Werror.