Bruce Momjian
58527aa227
Add to .similar file, Tatsuo Ishii
1997-11-19 17:57:42 +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
Bruce Momjian
b686104cd5
Change \df order.
1997-11-19 03:14:19 +00:00
Bruce Momjian
7372b8c2da
Remove stuff that is now in psql \d.
1997-11-18 23:04:27 +00:00
Vadim B. Mikheev
c5d7a27275
Get rid of unused variable 'address'.
1997-11-18 07:58:10 +00:00
Bruce Momjian
20858bdd96
Make \d commands not wrap over 80 cols.
1997-11-18 06:46:31 +00:00
Bruce Momjian
79daac6bad
Add descriptions for types and operators.
1997-11-18 05:22:51 +00:00
Bruce Momjian
bd6733f9ce
Clean out pgbuiltin now that new psql \d commands exist.
1997-11-17 22:15:03 +00:00
Bruce Momjian
d0928a3af3
Fix \e for empty file.
1997-11-17 17:54:24 +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
80c1e82232
Unscramble port selection logic to avoid compiler complaints about
...
uninitialized variables. I _think_ the logic is preserved...
1997-11-17 16:42:39 +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
680ef08511
Add DTK_DOY to help decode day of year fields.
1997-11-17 16:39:58 +00:00
Thomas G. Lockhart
45a8b666c0
Include first text in some type descriptions (~29 entries).
1997-11-17 16:39:16 +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
Bruce Momjian
0f62b3024e
Fix for \e on empty file.
1997-11-17 05:23:11 +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
930bce33db
Re-ordeer new \d command output.
1997-11-16 05:32:16 +00:00
Bruce Momjian
12fc33077b
New \dS psql command. initdb cleanup.
1997-11-16 04:36:52 +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
0dec3a8d37
Fix problem of COPY before vacuum.
1997-11-15 17:15:35 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Thomas G. Lockhart
2e0976e003
Fix testing problem when 'current' equal to 'now' for separate inserts
...
on fast machines with fast disks.
Adjust a few other tests to be more complete.
1997-11-15 02:55:57 +00:00
Thomas G. Lockhart
644b37c095
Add mention of new environment variables for session initialization.
...
Cross-reference libpq(3).
1997-11-15 02:47:23 +00:00
Bruce Momjian
2f4ccfe053
Make flowchart file smaller.
1997-11-14 22:00:32 +00:00
Bruce Momjian
4cbc06cff1
Add new psql \da, \do, and \dT options.
1997-11-14 21:38:25 +00:00
Thomas G. Lockhart
208dae3727
Set time zone and date style environment variables.
...
Update banner message regarding time zone.
1997-11-14 15:57:12 +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
e9c31055e6
Add mention of PGDATESTYLE, PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
...
as initialization environment variables.
1997-11-14 15:41:30 +00:00
Thomas G. Lockhart
3a73060ba5
Add other initialization environment variables:
...
PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
(PGDATESTYLE, PGTZ already defined)
1997-11-14 15:38:31 +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
145bae2759
pg_description cleanup.
1997-11-13 03:36:42 +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
9507e539e2
Remove unnecessary inclusion of <ctype.h>.
1997-11-10 15:43:26 +00:00
Thomas G. Lockhart
367089b0c1
Add PGTZ environment variable to initialization code.
...
Rename PG_DATESTYLE to PGDATESTYLE environment variable.
Move environment variable code to a different place so it now works!
Note that regression tests can now run with "setenv PGTZ PST8PDT"
at the frontend rather than requiring the backend to have TZ set.
1997-11-10 15:41:58 +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