98f5975cb0
Fix up some elog error messages.
1997-12-23 19:36:20 +00:00
d404f1006b
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
1997-12-22 05:42:25 +00:00
6e337eef45
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
...
some of the ports...
1997-12-20 00:29:35 +00:00
331a163693
Allow multiple-argument functions in constraint clauses.
...
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-16 15:50:54 +00:00
640fe03bcf
Improve (well, ok, fix) generated constraint name for column CHECK clause.
1997-12-16 15:45:46 +00:00
eb825d356e
Fix order of keywords, must be alphabetical.
1997-12-16 05:04:00 +00:00
da72b903ff
Major code cleanup following the pg_password insertion...
...
...malloc/free -> palloc/pfree
...fopen/fclose -> AllocateFile/FreeFile
1997-12-09 03:11:25 +00:00
2ac4cf5502
Add information message about implicitly created indices.
...
Check for duplicate implicit index names and generate unique names.
1997-12-09 01:44:14 +00:00
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
1997-12-06 22:57:36 +00:00
5a5cb30096
Fix tolower loops to go in proper direction for cache.
1997-12-05 01:13:24 +00:00
1ac4ae4993
Add SQL92-compliant syntax for constraints.
...
Implement PRIMARY KEY and UNIQUE clauses using indices.
1997-12-04 23:07:23 +00:00
4c04f7724e
From: todd brandys <brandys@eng3.hep.uiuc.edu>
...
An extension to the code to allow for a pg_password authentication database
that is *seperate* from the system password file
1997-12-04 00:28:15 +00:00
333323f304
Fix vacuum analyze syntax problem.
1997-12-02 16:09:15 +00:00
8f4865bdd7
Remove premature code in constraint parsing.
...
Change elog WARN to NOTICE for unimplemented constraints.
1997-12-02 02:54:15 +00:00
07c1837f50
Change elog WARN messages for UNIQUE and PRIMARY, FOREIGN KEY
...
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-30 23:11:10 +00:00
361f9e7f8d
Add comments and move a few declaration blocks to help readability.
...
No functional changes this time!
1997-11-30 23:05:39 +00:00
db00632e0f
Cleaups of comments.
1997-11-27 02:23:02 +00:00
bac80c218e
Add README for parser directory
1997-11-26 15:36:00 +00:00
b704426618
Make parser functions static where possible.
1997-11-26 03:43:18 +00:00
598e86f3b3
Cleanup up include files.
1997-11-26 01:14:33 +00:00
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
3aff4011c7
Remove gram problems with archive.
1997-11-24 16:55:22 +00:00
49656346b8
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:32:56 +00:00
36e3df0767
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:21:03 +00:00
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
d0471244e6
Remove 16 char limit on system table/index names. Rename system indexes.
1997-11-17 16:59:36 +00:00
4b19101fc3
Update UNION and subselect syntax.
...
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-17 16:37:24 +00:00
6df962668a
Update generated source for scan.l.
1997-11-17 16:33:21 +00:00
3d4d1e14f8
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F').
...
Check decoding of integer in x - y syntax (already done for most ints).
1997-11-17 16:31:39 +00:00
1c32d285a6
Remove pg_magic, defaults, server, hosts, and demon tables. unused.
1997-11-15 20:58:05 +00:00
0f2189efff
Include flex output in the standard distribution to fix problems with
...
old AT&T lexers and exclusive states (Solaris has trouble and probably
others).
1997-11-14 15:50:22 +00:00
6eaafef1df
Supress cleaning scan.c since we will try to include it in the distribution.
...
This should help Solaris and (presumably) other distributions with
old AT&T-descended lex programs which can't handle "exclusive states".
1997-11-14 15:48:19 +00:00
97d2b92384
Add flag to supress one compiler warning regarding unused "unput" function
...
in flex-specific code.
1997-11-14 15:43:27 +00:00
430169a5ea
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 06:09:07 +00:00
ea4223c45f
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 05:57:46 +00:00
25e950fca4
Change messages regarding "TimeRange" to say that time travel is no longer
...
available.
Remove lots of #ifdef'd debugging print statements.
1997-11-10 15:22:36 +00:00
ced2ee8210
Clean up path handling esp. when interpreting environment variables.
...
Remove unused old code.
1997-11-10 15:17:44 +00:00
acc2843025
Implement CREATE DATABASE/WITH LOCATION=.
...
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-07 07:02:10 +00:00
7d1f2f8a27
Support alternate database locations.
1997-11-07 06:38:51 +00:00
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
1e7ba76e43
Indexes for LIKE and ~, !~ operations.
1997-10-31 00:50:39 +00:00
770352d279
Add support for SQL92 delimited identifiers.
...
Add support for SQL3 IS TRUE and IS FALSE.
Augment support for SQL92 SET TIME ZONE...
1997-10-30 16:39:27 +00:00
0a9be2db9b
Add support for delimited identifiers. Include new exclusive state "xd".
...
Remove unused ScanString variable and code.
1997-10-30 16:36:39 +00:00
0175759e17
Fix up elog messages for consistant usage of quotes around arguments.
1997-10-30 16:34:22 +00:00
80440a51fa
Fix for international identifiers, from Tatsuo Ishii
1997-10-30 15:28:25 +00:00
d48006180c
Generate error on large integer.
1997-10-30 01:55:49 +00:00
7bff4c5078
Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).
1997-10-28 15:11:45 +00:00
f10b639237
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
...
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-25 05:56:41 +00:00