summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
AgeCommit message (Collapse)Author
2001-08-28Avoid #ifdef inside printf() ... that loses on platforms where printf()Tom Lane
is a macro.
2001-08-24Add ecpg --help and --version. Renumber the exit status codes, which werePeter Eisentraut
documented wrong.
2001-08-24Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number ofPeter Eisentraut
places that were including the wrong files.
2001-08-21Add ECPGd_cardinality to end of enum list so ecpg compiles.Bruce Momjian
2001-08-19- Synced preproc.y with gram.y.Michael Meskes
- Include some patches by Christof Petig <christof.petig@wtal.de>.
2001-08-16Sequences are now based on int8, not int4, arithmetic. SERIAL pseudo-typeTom Lane
has an alias SERIAL4 and a sister SERIAL8. SERIAL8 is just the same except the created column is type int8 not int4. initdb forced. Note this also breaks any chance of pg_upgrade from 7.1, unless we hack up pg_upgrade to drop and recreate sequences. (Which is not out of the question, but I don't wanna do it.)
2001-08-11Clean up some warnings and bugs and make things build easier.Peter Eisentraut
2001-08-10Since PQoidStatus is deprecated, we should probably stop using it inTom Lane
our own code ...
2001-08-10Make OIDs optional, per discussions in pghackers. WITH OIDS is still theTom Lane
default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one. Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey has some usefulness; pg_dump dumps comments on indexes, rules, and triggers in a valid order. initdb forced.
2001-08-10Patch to LOCK multiple tables in one LOCK command.Bruce Momjian
Neil Padgett
2001-08-04Back out LOCK A,B,C patch at Tom's suggestion.Bruce Momjian
2001-08-04Add LOCK A,B,C functionality as LOCK A;LOCK B;LOCK C; as agreed.Bruce Momjian
Neil Padgett
2001-07-16Partial indexes work again, courtesy of Martijn van Oosterhout.Tom Lane
Note: I didn't force an initdb, figuring that one today was enough. However, there is a new function in pg_proc.h, and pg_dump won't be able to dump partial indexes until you add that function.
2001-07-12Remove grammar restrictions on order of optional clauses in CREATE GROUP.Tom Lane
From Vince Vielhaber.
2001-07-11The SQL preprocessor ecpg generates "initially deferrable" fromBruce Momjian
INITIALLY DEFERRED in source code. cf. preproc.y:1455. Unknown.
2001-07-10Changes from Vince Vielhaber to allow the optional clauses of CREATETom Lane
USER and ALTER USER to appear in any order, not only the fixed order they used to be required to appear in. Also, some changes from Tom Lane to create a FULL option for VACUUM; it doesn't do anything yet, but I needed to change many of the same files to make that happen, so now seemed like a good time.
2001-07-09Add SHARE UPDATE EXCLUSIVE lock mode, coming soon to a VACUUM near you.Tom Lane
Name chosen per pghackers discussion around 6/22/01.
2001-06-23Add TEMPORARY sequences and have SERIAL on a temp table have a temporaryBruce Momjian
sequence.
2001-06-15fixed bug in connect.cMichael Meskes
2001-06-13- Synced preproc.y with gram.y.Michael Meskes
- Applied bug fix by John Summerfield.
2001-06-01 - Synced preproc.y with gram.y.Michael Meskes
- Synced pgc.l with scan.l. - Synced keyword.c. - Set ecpg version to 2.9.0. - Set library version to 3.3.0.
2001-05-12Add provisions for using strdup replacement in the places that stillPeter Eisentraut
needed it. from our fearless Ultrix porter, Alexander Klimov <ask@wisdom.weizmann.ac.il>
2001-05-11Stamp CVS as 7.2. Update all interface version numbers. This is theBruce Momjian
time to do it, not during beta because people are using this stuff in production sometimes.
2001-05-07Rewrite of planner statistics-gathering code. ANALYZE is now available asTom Lane
a separate statement (though it can still be invoked as part of VACUUM, too). pg_statistic redesigned to be more flexible about what statistics are stored. ANALYZE now collects a list of several of the most common values, not just one, plus a histogram (not just the min and max values). Random sampling is used to make the process reasonably fast even on very large tables. The number of values and histogram bins collected is now user-settable via an ALTER TABLE command. There is more still to do; the new stats are not being used everywhere they could be in the planner. But the remaining changes for this project should be localized, and the behavior is already better than before. A not-very-related change is that sorting now makes use of btree comparison routines if it can find one, rather than invoking '<' twice.
2001-05-03Fixes to make ecpg work on Cygwin, from Jason Tishler ↵Tom Lane
<Jason.Tishler@dothill.com>.
2001-05-01Synced gram.y and preproc.y.Tom Lane
2001-04-05Hopefully fixed the long long problem.Michael Meskes
2001-04-02Synced pgc.l with scan.l.Michael Meskes
2001-03-29Applied bug fix by Adriaan Joubert <a.joubert@albourne.com>Michael Meskes
2001-03-23Fix comments that were mis-wrapped, for Tom Lane.Bruce Momjian
2001-03-22Remove dashes in comments that don't need them, rewrap with pgindent.Bruce Momjian
2001-03-22pgindent run. Make it all clean.Bruce Momjian
2001-03-16Fixed bug in handling of pointers to structs.Michael Meskes
2001-03-01Remove HAVE_OPTARG per discussion in hackers list.Tatsuo Ishii
2001-02-27Massive commits for SunOS4 port.Tatsuo Ishii
2001-02-26Fixed variable handling in preproc.y.Michael Meskes
2001-02-21Change case-folding of keywords to conform to SQL99 and fix misbehaviorTom Lane
in Turkish locale. Keywords are now checked under pure ASCII case-folding rules ('A'-'Z'->'a'-'z' and nothing else). However, once a word is determined not to be a keyword, it will be case-folded under the current locale, same as before. See pghackers discussion 20-Feb-01.
2001-02-20Make sure -L and -I's for our source tree are always before system includePeter Eisentraut
or library directories on the command line.
2001-02-19Synced gram.y and preproc.y.Michael Meskes
2001-02-12Remove // and make /* */Bruce Momjian
2001-02-10Only look for bison as YACC; other yaccs need to be selected explicitly.Peter Eisentraut
When no suitable YACC is configured, supply useful informational messages to users. (Same way flex has been handled for a while.)
2001-02-10Restructure the key include files per recent pghackers discussion: thereTom Lane
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-09I have deleted the include of termios.h in include/port/qnx4.h.Bruce Momjian
Then I recompiled pgsql and I have compiled a program with ecpg. I have removed the termios.h, and the ECHO hack. Thanks Maurizio
2001-02-02Apply patches for QNX from MaurizioBruce Momjian
2001-01-31Applied two bug fixes by Christof Petig.Michael Meskes
2001-01-25Synced gram.y and preproc.y.Michael Meskes
2001-01-24Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian
2001-01-23Moved database name handling to libecpg.Michael Meskes
2001-01-22Synced preproc.y with gram.y and added missing include file to pgc.l.Michael Meskes
2001-01-14Restructure backend SIGINT/SIGTERM handling so that 'die' interruptsTom Lane
are treated more like 'cancel' interrupts: the signal handler sets a flag that is examined at well-defined spots, rather than trying to cope with an interrupt that might happen anywhere. See pghackers discussion of 1/12/01.