summaryrefslogtreecommitdiff
path: root/src/backend/parser
AgeCommit message (Collapse)Author
1997-12-16Allow multiple-argument functions in constraint clauses.Thomas G. Lockhart
Formerly allowed only single arguments. Declare column constraints using the usual list mechanism rather than explicit itemized lists. Remove NOTNULL from default clause syntax (retain "NOT NULL"). NOTNULL is not SQL92; eventually remove it from expressions too? Move ISNULL, NOTNULL to Postgres-specific token declarations. Fix up tabs and indenting on new CREATE USER commands.
1997-12-16Improve (well, ok, fix) generated constraint name for column CHECK clause.Thomas G. Lockhart
1997-12-16Fix order of keywords, must be alphabetical.Bruce Momjian
1997-12-09Major code cleanup following the pg_password insertion...Marc G. Fournier
...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
1997-12-09Add information message about implicitly created indices.Thomas G. Lockhart
Check for duplicate implicit index names and generate unique names.
1997-12-06Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian
1997-12-05Fix tolower loops to go in proper direction for cache.Bruce Momjian
1997-12-04Add SQL92-compliant syntax for constraints.Thomas G. Lockhart
Implement PRIMARY KEY and UNIQUE clauses using indices.
1997-12-04From: todd brandys <brandys@eng3.hep.uiuc.edu>Marc G. Fournier
An extension to the code to allow for a pg_password authentication database that is *seperate* from the system password file
1997-12-02Fix vacuum analyze syntax problem.Bruce Momjian
1997-12-02Remove premature code in constraint parsing.Thomas G. Lockhart
Change elog WARN to NOTICE for unimplemented constraints.
1997-11-30Change elog WARN messages for UNIQUE and PRIMARY, FOREIGN KEYThomas G. Lockhart
to NOTICE messages so that execution proceeds rather than halting. These clauses are ignored as stated in the messages. Allow NOT NULL UNIQUE syntax (both were allowed individually before). Allow Postgres-style casting ("::") of non-constants.
1997-11-30Add comments and move a few declaration blocks to help readability.Thomas G. Lockhart
No functional changes this time!
1997-11-27Cleaups of comments.Bruce Momjian
1997-11-26Add README for parser directoryBruce Momjian
1997-11-26Make parser functions static where possible.Bruce Momjian
1997-11-26Cleanup up include files.Bruce Momjian
1997-11-25Break parser functions into smaller files, group together.Bruce Momjian
1997-11-24Remove gram problems with archive.Bruce Momjian
1997-11-24Move dbcommands.c to commands/. It should not be in the parser directory.Bruce Momjian
1997-11-24Move dbcommands.c to commands/. It should not be in the parser directory.Bruce Momjian
1997-11-24Remove tqual.h includes not needed.Bruce Momjian
1997-11-21Remove archive stuff.Bruce Momjian
1997-11-20Remove all time travel stuff. Small parser cleanup.Bruce Momjian
1997-11-17Remove 16 char limit on system table/index names. Rename system indexes.Bruce Momjian
1997-11-17Update UNION and subselect syntax.Thomas G. Lockhart
Support SQL92 syntax for type coersion of strings (type 'typeval'). Example: "DATETIME 'now'". This works only for string constants and can not replace the CAST and ::type syntax which behave identically in this context.
1997-11-17Update generated source for scan.l.Thomas G. Lockhart
1997-11-17Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F').Thomas G. Lockhart
Check decoding of integer in x - y syntax (already done for most ints).
1997-11-15Remove pg_magic, defaults, server, hosts, and demon tables. unused.Bruce Momjian
1997-11-14Include flex output in the standard distribution to fix problems withThomas G. Lockhart
old AT&T lexers and exclusive states (Solaris has trouble and probably others).
1997-11-14Supress cleaning scan.c since we will try to include it in the distribution.Thomas G. Lockhart
This should help Solaris and (presumably) other distributions with old AT&T-descended lex programs which can't handle "exclusive states".
1997-11-14Add flag to supress one compiler warning regarding unused "unput" functionThomas G. Lockhart
in flex-specific code.
1997-11-14FIx for indexing regex stuff. Change rowoid to objoid.Bruce Momjian
1997-11-14FIx for indexing regex stuff. Change rowoid to objoid.Bruce Momjian
1997-11-10Change messages regarding "TimeRange" to say that time travel is no longerThomas G. Lockhart
available. Remove lots of #ifdef'd debugging print statements.
1997-11-10Clean up path handling esp. when interpreting environment variables.Thomas G. Lockhart
Remove unused old code.
1997-11-07Implement CREATE DATABASE/WITH LOCATION=.Thomas G. Lockhart
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT. Re-enable JOIN= option in CREATE OPERATOR statement (damaged for v6.2). Allow more SQL and/or Postgres reserved words as column identifiers or, if there are shift/reduce problems, at least as column labels.
1997-11-07Support alternate database locations.Thomas G. Lockhart
1997-11-02Good Bye, Time Travel!Vadim B. Mikheev
1997-10-31Indexes for LIKE and ~, !~ operations.Bruce Momjian
1997-10-30Add support for SQL92 delimited identifiers.Thomas G. Lockhart
Add support for SQL3 IS TRUE and IS FALSE. Augment support for SQL92 SET TIME ZONE...
1997-10-30Add support for delimited identifiers. Include new exclusive state "xd".Thomas G. Lockhart
Remove unused ScanString variable and code.
1997-10-30Fix up elog messages for consistant usage of quotes around arguments.Thomas G. Lockhart
1997-10-30Fix for international identifiers, from Tatsuo IshiiBruce Momjian
1997-10-30Generate error on large integer.Bruce Momjian
1997-10-28Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).Vadim B. Mikheev
1997-10-25Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,Thomas G. Lockhart
CURRENT_USER. Add syntax for primary and foreign keys. Change optional syntax in CREATE INDEX to avoid parsing conflict with TIMESTAMP WITH TIME ZONE data type (use USING <class> rather than WITH...). Decouple various categories of data type syntax to allow the most possible non-ambiguous extensions to SQL92 for column names and labels. This should make the parser a bit more understandable, or at least easier to find where and how the data types are handled. Support syntax for IN and EXISTS clauses with subselects. Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE.
1997-10-25Add SQL92 reserved words for primary and foreign keys.Thomas G. Lockhart
Add keywords for national character types. Shorted date/time keyword token names for convenience. Add SQL3 reserved words TRUE and FALSE.
1997-10-25Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian
1997-10-16Ignore copies of columns specified in ORDER/GROUP BYVadim B. Mikheev