1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-20 15:22:23 +03:00
Commit Graph

2392 Commits

Author SHA1 Message Date
20858bdd96 Make \d commands not wrap over 80 cols. 1997-11-18 06:46:31 +00:00
79daac6bad Add descriptions for types and operators. 1997-11-18 05:22:51 +00:00
bd6733f9ce Clean out pgbuiltin now that new psql \d commands exist. 1997-11-17 22:15:03 +00:00
d0928a3af3 Fix \e for empty file. 1997-11-17 17:54:24 +00:00
d0471244e6 Remove 16 char limit on system table/index names. Rename system indexes. 1997-11-17 16:59:36 +00:00
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
c2f4779ddf Define prototype for ExecutorLimit() to avoid compiler complaints. 1997-11-17 16:41:04 +00:00
680ef08511 Add DTK_DOY to help decode day of year fields. 1997-11-17 16:39:58 +00:00
45a8b666c0 Include first text in some type descriptions (~29 entries). 1997-11-17 16:39:16 +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
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
174f984b76 Use SHRT_MIN and SHRT_MAX for 2-byte integer limits. 1997-11-17 16:24:17 +00:00
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
55a6b7a9be Include unistd.h to get read/write function declarations.
Remove unused variable addrLen.
1997-11-17 16:18:07 +00:00
8e86c46be3 Add storage/ipc.h include file to get read/write function declarations. 1997-11-17 16:17:14 +00:00
c47eaac952 Fix compiler complaints about mismatched pointer args using coersions. 1997-11-17 16:10:06 +00:00
0f62b3024e Fix for \e on empty file. 1997-11-17 05:23:11 +00:00
9bcf350cc7 Apply Bryan's IPC Patches
From: Bryan Henderson <bryanh@giraffe.netgate.net>
1997-11-17 03:47:31 +00:00
930bce33db Re-ordeer new \d command output. 1997-11-16 05:32:16 +00:00
12fc33077b New \dS psql command. initdb cleanup. 1997-11-16 04:36:52 +00:00
1c32d285a6 Remove pg_magic, defaults, server, hosts, and demon tables. unused. 1997-11-15 20:58:05 +00:00
0dec3a8d37 Fix problem of COPY before vacuum. 1997-11-15 17:15:35 +00:00
4e9df155f0 Add new \df psql option and oid8types() function. 1997-11-15 16:32:25 +00:00
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
644b37c095 Add mention of new environment variables for session initialization.
Cross-reference libpq(3).
1997-11-15 02:47:23 +00:00
2f4ccfe053 Make flowchart file smaller. 1997-11-14 22:00:32 +00:00
4cbc06cff1 Add new psql \da, \do, and \dT options. 1997-11-14 21:38:25 +00:00
208dae3727 Set time zone and date style environment variables.
Update banner message regarding time zone.
1997-11-14 15:57:12 +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
e9c31055e6 Add mention of PGDATESTYLE, PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
as initialization environment variables.
1997-11-14 15:41:30 +00:00
3a73060ba5 Add other initialization environment variables:
PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
 (PGDATESTYLE, PGTZ already defined)
1997-11-14 15:38:31 +00:00
f3311457ec Reformat parser table (cosmetic only). 1997-11-14 15:34:09 +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
145bae2759 pg_description cleanup. 1997-11-13 03:36:42 +00:00
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
7e48d427c8 File has moved to include/catalog. 1997-11-12 03:30:33 +00:00
9507e539e2 Remove unnecessary inclusion of <ctype.h>. 1997-11-10 15:43:26 +00:00
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
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
b42e37bcde Change quickdie elog notice to a single message.
Clean up FloatExceptionHandler elog message source code.
1997-11-10 15:24:56 +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
fe36d461c2 Add errormsg initialization from patch by Keith Parks. 1997-11-10 15:15:40 +00:00
2b51c92d30 Clean up handling of environment variables in path names. 1997-11-10 15:14:34 +00:00
725bbde05c Clean up indenting. 1997-11-10 05:16:00 +00:00