summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc
AgeCommit message (Collapse)Author
2005-12-02Added special handling of CONNECTION variable that is used by ECPG instead ↵Michael Meskes
of given to the backend. I failed to notice that CONNECTION had become a keyword in 8.1.
2005-11-27Add missing semicolon. Recent versions of bison seem to choke on this,Tom Lane
per buildfarm report from platypus, even though older versions let it pass.
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-05Also synced the ecpg lexer with the backend lexer.Michael Meskes
2005-10-04Somehow I missed some parser changes, so this commit comes pretty late. I ↵Michael Meskes
just synced the parser of ecpg against the backend version, but still have to sync the lexer. Also I fixed a bug in a bug fix I committed a few weeks ago. he check for a varchar pointer was incomplete.
2005-08-29Fix misspelled error message.Tom Lane
2005-08-24 - Check for NULL before checking whether argument is an array.Michael Meskes
- Remove stary character from string quoting. - Fixed check to report missing varchar pointer implementation.
2005-08-22Back out incorrect use of E'' escape addition.Bruce Momjian
2005-07-02Add E'' to internally created SQL strings that contain backslashes.Bruce Momjian
Improve code clarity by using macros for E'' processing.
2005-06-16Add \x hex support to ecpg strings. This just passes them to the backend.Bruce Momjian
2005-03-14Bump minor version numbers for 8.1 compared to 8.0.Bruce Momjian
2005-03-11Add fprintf() custom version to libpgport.Bruce Momjian
Document use of macros for pg_printf functions. Bump major versions of all interfaces to handle movement of get_progname from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
2005-02-10Fixed more parsing bugs in other CREATE statements as pointed out by TANIDAMichael Meskes
Yutaka <tanida@sra.co.jp>.
2005-02-09Fixed bug in parsing of CREATE AS statement.Michael Meskes
2005-02-02Fixed bug in parsing of #line statement in declare section.Michael Meskes
2005-01-25Fixed segfault due to freeing a struct definition twice if it was a named ↵Michael Meskes
struct used in a typedef.
2005-01-18Update version stamps for 8.1 as listed in RELEASE_CHANGES.Bruce Momjian
2005-01-10Fixed segfault in adjust_informix due to missing varchar type.Michael Meskes
2005-01-01Some more missed copyright notices. Many of these look like theyTom Lane
should have been caught by the src/tools/copyright script ... why weren't they?
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
2004-12-23Added PGTYPEStimestamp_add_interval written by Dave Cramer.Michael Meskes
Fixed parsing of defines to make sure they used more than once.
2004-12-06Fixed bug in parsing of typedef'ed array sizes.Michael Meskes
Synced parser.
2004-11-10List VALUE as a keyword.Michael Meskes
2004-11-09Get rid of perror(), substitute some better phrased error messages.Peter Eisentraut
malloc() doesn't set errno, so most uses were buggy anyway.
2004-11-05Create 'default_tablespace' GUC variable that supplies a TABLESPACETom Lane
clause implicitly whenever one is not given explicitly. Remove concept of a schema having an associated tablespace, and simplify the rules for selecting a default tablespace for a table or index. It's now just (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an empty string; (c) database's default. This will allow pg_dump to use SET commands instead of tablespace clauses to determine object locations (but I didn't actually make it do so). All per recent discussions.
2004-11-01fixed bug in segfault REVOKE statementDave Cramer
2004-10-18Synced parserMichael Meskes
2004-10-13More minor cosmetic improvements:Neil Conway
- remove another senseless "extern" keyword that was applied to a function definition - change a foo more function signatures from "some_type foo()" to "some_type foo(void)" - rewrite another K&R style function definition - make the type of the "action" function pointer in the KeyWord struct in src/backend/utils/adt/formatting.c more precise
2004-10-10Cosmetic improvements/code cleanup:Neil Conway
- replace some function signatures of the form "some_type foo()" with "some_type foo(void)" - replace a few instances of a literal 0 being used as a NULL pointer; there are more instances of this in the code, but I just fixed a few - in src/backend/utils/mb/wstrncmp.c, replace K&R style function declarations with ANSI style, remove use of 'register' keyword - remove an "extern" modifier that was applied to a function definition (rather than a declaration)
2004-10-05Add Win32 version info to client binaries.Bruce Momjian
Magnus Hagander
2004-10-04Make libpgport be front-end only and make libpgport_srv be a backendBruce Momjian
library that uses palloc, ereport, etc. This simplifies the makefiles for client applications.
2004-09-27Synced parser.Michael Meskes
Removed Oracle transaction syntax to fix shift/reduce error.
2004-09-06Fixed segfault in Informix mode.Michael Meskes
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-08-28Add missing semicolon; some bison versions warn of this.Tom Lane
2004-08-11Fix broken parsing of CREATE TABLE AS (looks like a mis-sync with mainTom Lane
parser).
2004-07-26SQL defines are only used in SQL space in Informix mode.Michael Meskes
2004-07-20Synced parser and keyword list.Michael Meskes
Fixed handling of cyclic defines.
2004-07-05- Fixed indicator in SET DESCRIPTOR.Michael Meskes
- Added special handling of descriptor header information. - Some code cleanup.
2004-07-04Made sure SET DESCRIPTOR accepts all data types including constants.Michael Meskes
2004-06-30Added SET DESCRIPTOR command.Michael Meskes
Note that this still has some bugs. The functionality is there though, it's just a matter of fixing the bugs now. Cleaned up error handling in preprocessor.
2004-06-27- Only use typedefs inside their scope.Michael Meskes
- Variables that are out of scope, were not removed all the time. - Make a varchar NULL set everything to 0 when not using indicators. - Synced parser.
2004-06-20Synced parser and keyword list.Michael Meskes
2004-06-17Added patch by ISHIDA Akio to allow indicators in execute statements.Michael Meskes
2004-06-11ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,Bruce Momjian
volatile, static, and register keywords before variables, declared as VARCHAR. Sergey N. Yatskevich
2004-06-10Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian
extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. I also took the liberty of changing the name of the functions "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently not alone given the former macro name PATHSEP), they should be called "first_dir_sep" and "last_dir_sep". The new function I introduced, that actually finds path separators, is now the "first_path_sep". The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Thomas Hallgren
2004-05-30Use the new List API function names throughout the backend, and disable theNeil Conway
list compatibility API by default. While doing this, I decided to keep the llast() macro around and introduce llast_int() and llast_oid() variants.
2004-05-26This patch implement the TODO [ALTER DATABASE foo OWNER TO bar].Bruce Momjian
It was necessary to touch in grammar and create a new node to make home to the new syntax. The command is also supported in E CPG. Doc updates are attached too. Only superusers can change the owner of the database. New owners don't need any aditional privileges. Euler Taveira de Oliveira