Bruce Momjian
36e3df0767
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:21:03 +00:00
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
Bruce Momjian
1409819a87
Fix for textcat on varchar() fields.
1997-11-23 21:39:12 +00:00
Bruce Momjian
f4253b0b49
Archive cleanups.
1997-11-21 19:59:39 +00:00
Bruce Momjian
043cebce2b
More archive cleanup.
1997-11-21 19:02:59 +00:00
Bruce Momjian
629e27284d
Remove unused files.
1997-11-21 18:22:04 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
Bruce Momjian
0889dcd6f7
Remove archive stuff.
1997-11-21 18:04:26 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Bruce Momjian
e075271c17
Fix socket file permissions, from Goran Thyni.
1997-11-19 18:28:59 +00:00
Bruce Momjian
474de35053
FIx for unix domain sockets, from Goran Thyni.
1997-11-19 17:52:00 +00:00
Vadim B. Mikheev
21261b031c
Call ExecEvalExpr with &isDone (not with NULL).
1997-11-19 05:28:14 +00:00
Vadim B. Mikheev
c5d7a27275
Get rid of unused variable 'address'.
1997-11-18 07:58:10 +00:00
Bruce Momjian
d0471244e6
Remove 16 char limit on system table/index names. Rename system indexes.
1997-11-17 16:59:36 +00:00
Thomas G. Lockhart
c2f4779ddf
Define prototype for ExecutorLimit() to avoid compiler complaints.
1997-11-17 16:41:04 +00:00
Thomas G. Lockhart
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
Thomas G. Lockhart
6df962668a
Update generated source for scan.l.
1997-11-17 16:33:21 +00:00
Thomas G. Lockhart
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
Thomas G. Lockhart
2fa330284c
Use limits.h for INT, SHRT, and SCHAR min and max values rather than
...
hardcoded values.
1997-11-17 16:26:27 +00:00
Thomas G. Lockhart
174f984b76
Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.
1997-11-17 16:24:17 +00:00
Thomas G. Lockhart
e7946a53ad
Allow fractional values for delta times (e.g. '2.5 days').
...
Check valid numeric input more carefully for delta times.
Implement day of year as possible input to datetime_part().
1997-11-17 16:23:33 +00:00
Thomas G. Lockhart
55a6b7a9be
Include unistd.h to get read/write function declarations.
...
Remove unused variable addrLen.
1997-11-17 16:18:07 +00:00
Thomas G. Lockhart
8e86c46be3
Add storage/ipc.h include file to get read/write function declarations.
1997-11-17 16:17:14 +00:00
Thomas G. Lockhart
c47eaac952
Fix compiler complaints about mismatched pointer args using coersions.
1997-11-17 16:10:06 +00:00
Marc G. Fournier
9bcf350cc7
Apply Bryan's IPC Patches
...
From: Bryan Henderson <bryanh@giraffe.netgate.net >
1997-11-17 03:47:31 +00:00
Bruce Momjian
1c32d285a6
Remove pg_magic, defaults, server, hosts, and demon tables. unused.
1997-11-15 20:58:05 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Thomas G. Lockhart
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
Thomas G. Lockhart
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
Thomas G. Lockhart
97d2b92384
Add flag to supress one compiler warning regarding unused "unput" function
...
in flex-specific code.
1997-11-14 15:43:27 +00:00
Thomas G. Lockhart
f3311457ec
Reformat parser table (cosmetic only).
1997-11-14 15:34:09 +00:00
Bruce Momjian
430169a5ea
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 06:09:07 +00:00
Bruce Momjian
ea4223c45f
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 05:57:46 +00:00
Bruce Momjian
5071ae2972
Add pg_description table for info on tables, columns, operators, types, and aggregates. Modify psql with new \dd operator to access description
1997-11-13 03:23:18 +00:00
Bruce Momjian
7e48d427c8
File has moved to include/catalog.
1997-11-12 03:30:33 +00:00
Thomas G. Lockhart
4ebc4e39d1
Do a more complete job of supporting time zone information.
...
Try to save pre-existing TZ environment variable if possible.
Includes code from Keith Parks.
1997-11-10 15:37:15 +00:00
Thomas G. Lockhart
b42e37bcde
Change quickdie elog notice to a single message.
...
Clean up FloatExceptionHandler elog message source code.
1997-11-10 15:24:56 +00:00
Thomas G. Lockhart
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
Thomas G. Lockhart
ced2ee8210
Clean up path handling esp. when interpreting environment variables.
...
Remove unused old code.
1997-11-10 15:17:44 +00:00
Thomas G. Lockhart
fe36d461c2
Add errormsg initialization from patch by Keith Parks.
1997-11-10 15:15:40 +00:00
Thomas G. Lockhart
2b51c92d30
Clean up handling of environment variables in path names.
1997-11-10 15:14:34 +00:00
Bruce Momjian
725bbde05c
Clean up indenting.
1997-11-10 05:16:00 +00:00
Bruce Momjian
baeb8790ac
Fix case issues with quotes.
1997-11-10 05:10:50 +00:00
Bruce Momjian
50729ac764
Patch from Goran Thyni
1997-11-10 02:21:18 +00:00
Marc G. Fournier
242625f26b
From: Bryan Henderson <bryanh@giraffe.netgate.net>
...
My analysis of the formerly mentioned IPC reinitialization problem was
hampered by an imprecise error message. I have rewritten it so it is
clearer and more accurate.
1997-11-09 04:47:09 +00:00
Marc G. Fournier
213d7b1ae3
From: Bryan Henderson <bryanh@giraffe.netgate.net>
...
The attached patch makes elog() write the message to stderr if there is
no frontend to talk to.
1997-11-09 04:43:35 +00:00
Bruce Momjian
c17fa36d3c
Add Unix domain socket support, from Goran Thyni, goran@bildbasen.se
1997-11-07 20:52:15 +00:00
Thomas G. Lockhart
4676b3034a
Routines for database initial access info and support.
1997-11-07 07:05:46 +00:00
Thomas G. Lockhart
8a7f79c83c
Add database.c for database initial access info and support.
1997-11-07 07:03:37 +00:00
Thomas G. Lockhart
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