Bruce Momjian
cc24b846dd
psort cleanups.
1997-08-06 05:38:46 +00:00
Bruce Momjian
8fd7db8163
Another fix.
1997-08-06 05:08:37 +00:00
Bruce Momjian
ead219384f
Fix for palloc(0) in new code
1997-08-06 04:45:39 +00:00
Bruce Momjian
f5f366e188
Allow internal sorts to be stored in memory rather than in files.
1997-08-06 03:42:21 +00:00
Bruce Momjian
3bea7b138b
Add developers help file.
1997-08-06 03:37:34 +00:00
Bruce Momjian
1ebc1280e8
Fix for os version handling.
1997-08-06 03:33:45 +00:00
Vadim B. Mikheev
b3d8beaa1a
Catch non-functional delete attempts.
1997-08-06 02:08:39 +00:00
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
1997-08-03 02:38:47 +00:00
Bruce Momjian
ea210dc611
Comment out code that makes no sense, and Purify complains about.
1997-08-03 02:28:10 +00:00
Bruce Momjian
8015ba0836
Prevent relname unallocated string length from being copied into database.
1997-08-02 19:09:33 +00:00
Bruce Momjian
105889e1d8
Makei configure less os-version specific, were possible.
1997-08-02 16:32:51 +00:00
Bruce Momjian
4b965f5758
Fix stout/stderr paging. Do not page \h select, but page \h *.
1997-08-01 04:07:55 +00:00
Bruce Momjian
da76711714
FIx solaris template finding.
1997-08-01 03:49:22 +00:00
Bruce Momjian
a67fd49091
Fix psql error output.
1997-08-01 03:33:02 +00:00
Bruce Momjian
f5f18af02b
Configure cleanup for /usr/ucb patch.
1997-07-31 01:37:56 +00:00
Bruce Momjian
aff479b4d1
Look in /usr/ucb first for install.
1997-07-30 19:16:23 +00:00
Bruce Momjian
cdc2c06386
configure.in cleanup for tr and strerror2.
1997-07-30 18:27:18 +00:00
Bruce Momjian
775098bd28
Add -o to psql manual page.
1997-07-30 17:21:29 +00:00
Bruce Momjian
1b20f8ac11
Fix c++ copy example code.
1997-07-30 15:53:57 +00:00
Marc G. Fournier
ecefacd07d
Due to BIND 8.1.1, my Solaris 2.5.1 machine doesn't define MAXHOSTNAMELEN...
...
so, add a check that basically says if it isn't defined, set it to 256...
1997-07-30 14:08:11 +00:00
Marc G. Fournier
5089f6ce87
Check for and use <netdb.h> for postmaster.c, instead of checking if
...
MAXHOSTNAMELEN is defined. For some reason, my 2.5.1 Solaris box at
work fails on that check...
1997-07-30 14:03:33 +00:00
Vadim B. Mikheev
ac994a69d6
Allow use parameters in target list having aggregates in functions.
1997-07-30 04:42:26 +00:00
Bruce Momjian
6c93fe8f9d
configure.in cleanup from sco install.
1997-07-30 01:32:44 +00:00
Bruce Momjian
bcc883fed3
Remove HAVE_USAGE because it is no longer used.
1997-07-30 00:09:42 +00:00
Bruce Momjian
c86e85df92
Update COPY manual page to remove unneeded warnings.
1997-07-29 21:43:40 +00:00
Bruce Momjian
9db76f384d
Update configure after sunos4 update.
1997-07-29 21:16:52 +00:00
Bruce Momjian
461f80cf9a
Add strerror to pg_version for sunos4.
1997-07-29 16:36:43 +00:00
Thomas G. Lockhart
622af87fd2
Results from initial changes to add new functions and for bug fixes.
...
Not all cleaned up yet.
1997-07-29 16:24:04 +00:00
Thomas G. Lockhart
3d5dd9bdd9
Start adding tests for new geometry functions.
...
Not all cleaned up yet.
1997-07-29 16:22:48 +00:00
Thomas G. Lockhart
c5035643af
Use better routines from geometry library.
1997-07-29 16:21:12 +00:00
Thomas G. Lockhart
840ea2497d
Change call definition for isreltime().
1997-07-29 16:19:26 +00:00
Thomas G. Lockhart
3c2d74d2af
Add new operators and functions for geometric types.
...
Add text concatenation operator and function.
Add text trim function for SQL92 support.
1997-07-29 16:17:52 +00:00
Thomas G. Lockhart
e89d139dbe
Add new routines.
...
Change definition for isreltime().
Change some names of #define constants to avoid conflicts with the yacc parser.
1997-07-29 16:16:14 +00:00
Thomas G. Lockhart
e1d9cf096c
Remove some unnecessary include statements (comment out with #ifdef FALSE).
1997-07-29 16:14:40 +00:00
Thomas G. Lockhart
bf138e2139
Add routines for text trimming on both ends, substring, and string position.
...
Used to support SQL92 compatibility.
1997-07-29 16:12:07 +00:00
Thomas G. Lockhart
d95c93bf99
Fix bug to allow hh:mm:ss time entry for timespan/reltime types.
1997-07-29 16:09:38 +00:00
Thomas G. Lockhart
215bc83d75
Remove #ifdef'd support for old i/o styles.
...
Change box terminology from "length" to "width".
Use length terminology in common with other geometric types (usually perimeter).
Fix bugs in line arithmetic which resulted in bad intersection calculations.
Deprecate temporary unstored slope fields.
Check explicitly for intersections at endpoints to avoid rounding ugliness.
Add center() routines for lseg, path, polygon.
Add distance() routines for circle-polygon, polygon-polygon.
Check explicitly for points and polygons contained within polygons
using an axis-crossing algorithm. (Old code just checked bounding boxes).
Add routine to convert circle-box.
*whew*
1997-07-29 16:08:18 +00:00
Thomas G. Lockhart
1ba73ed3a0
Update some reltime code to use new common routines.
...
Use standard decoder for isreltime().
1997-07-29 15:54:49 +00:00
Thomas G. Lockhart
9d8ae79774
Add debugging statements.
1997-07-29 15:51:33 +00:00
Bruce Momjian
8d25436d70
mkLinux patches from Tatsuo Ishii.
1997-07-29 14:09:11 +00:00
Bruce Momjian
7c5afb87c3
Makefile fix from Tatsuo Ishii.
1997-07-28 23:57:20 +00:00
Bruce Momjian
fd6b3c26ef
fix small memory free error.
1997-07-28 23:53:54 +00:00
Bruce Momjian
8338f90d4e
Add SCO files.
1997-07-28 01:34:24 +00:00
Bruce Momjian
79e78f0b80
Added SCO support, from Daniel Harris.
1997-07-28 00:57:08 +00:00
Bruce Momjian
5a38a119b2
Remove sparc dir, add difftime macro for sunos.
1997-07-28 00:13:39 +00:00
Bruce Momjian
cfd15d16fa
Rename sparc to sunos4 directory. Was misnamed.
1997-07-28 00:08:41 +00:00
Bruce Momjian
d5e21e0924
HPUX 10 patches from Vladimir Turin
1997-07-27 18:52:43 +00:00
Bruce Momjian
3ac9d2fff3
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
1997-07-24 20:19:10 +00:00
Bruce Momjian
8447148aad
psql: Add PAGER for \h and \?,\C fix, indices spell fix.
1997-07-24 20:01:33 +00:00
Bruce Momjian
4d8a5efcef
Add single quotes to \\h set help
1997-07-24 19:11:53 +00:00
Bruce Momjian
9ad6e0db30
More pg_dump patch cleanups.
1997-07-23 17:42:25 +00:00
Bruce Momjian
a7d417cc2f
Fix problems with pg_dump for iheritance, sequences, archive tables.
1997-07-23 17:15:13 +00:00
Bruce Momjian
41b805b913
Solaris .similar update.
1997-07-16 02:25:16 +00:00
Marc G. Fournier
012cb6d8c8
Search for ginstall before the other installs...
...
As requested by Dr. Andrew C.R. Martin
1997-07-15 23:11:38 +00:00
Bruce Momjian
441648d955
.similar patch for irix
1997-07-15 17:16:46 +00:00
Bruce Momjian
5eb4fadeaa
Prevent psql optarg free-ing
1997-07-14 22:08:56 +00:00
Bruce Momjian
31fba1d974
Mips sysv4 support.
1997-07-14 16:52:13 +00:00
Bruce Momjian
10da89c1fb
Add sysv4 support to configure and docs.
1997-07-14 16:47:36 +00:00
Bruce Momjian
e3be2f9dd7
Update supported ports for 6.1.1 release.
1997-07-14 16:37:36 +00:00
Bruce Momjian
69e5d63839
AIX nm fix from Gerhard
1997-07-13 19:52:10 +00:00
Bruce Momjian
0fca4afbf4
Change char to int as used in EOF compare, Gerhard
1997-07-12 20:31:47 +00:00
Bruce Momjian
a89f9731e9
Have pg_dumpall return proper status on exit
1997-07-12 15:57:31 +00:00
Thomas G. Lockhart
e66f5c05eb
Remove endian information which is now in port-specific header files.
...
Note that this version is probably identical to two versions ago.
1997-07-11 14:09:00 +00:00
Thomas G. Lockhart
c6df30edb9
Modify port-specific definitions to support missing endian information.
...
Add extra include file for aix to find endian information.
1997-07-11 14:03:01 +00:00
Bruce Momjian
a11ad874e4
Fix for assembler from Yoshihiko ICHIKAWA
1997-07-10 02:32:51 +00:00
Bruce Momjian
3b7ee8f5f9
Allow underscores in user names.
1997-07-10 02:27:27 +00:00
Bruce Momjian
35a952a2ed
Fixes from Jody Winston
1997-07-10 01:15:11 +00:00
Bruce Momjian
a5d80cb0cf
Date-type fixes from Tatsuo Ishii
1997-07-08 22:06:46 +00:00
Thomas G. Lockhart
75ebaa748e
Add information regarding date and time types and functions,
...
including arguments allowed.
1997-07-02 14:13:14 +00:00
Thomas G. Lockhart
54c38a95ee
Add test results for "SET DateStyle" alternative datetime formats.
1997-07-02 01:34:24 +00:00
Thomas G. Lockhart
48b5432769
Include tests for DateStyle output format variations.
1997-07-01 00:34:34 +00:00
Thomas G. Lockhart
3ded6fd511
Fix code to do the right thing with mixed-endian clients and servers.
1997-07-01 00:32:27 +00:00
Thomas G. Lockhart
bf3bcb6a6d
Include definitions for endian info if not in system includes.
1997-07-01 00:31:10 +00:00
Thomas G. Lockhart
7bdf9ba35b
Add flags to allow dynamic loader to find Postgres sharable libraries without
...
having to modify the system-wide library database.
1997-07-01 00:29:40 +00:00
Thomas G. Lockhart
495fdfba98
Rearrange DTK_x constants.
...
Define constants to allow day of week decoding.
Add new datetime and timespan routines.
1997-07-01 00:25:30 +00:00
Thomas G. Lockhart
8507ddb9c6
Use common parser and encoder for timestamp data type.
...
Remove older date and time code (retain NEW_DATE_CODE and NEW_TIME_CODE).
Use common encoder for date and time.
Fix datetime +/- timespan math bug.
1997-07-01 00:22:46 +00:00
Bruce Momjian
43deb7a45f
Fox case-sensitivity for \d and allow trailing ; on backslash commands.
1997-06-29 17:29:28 +00:00
Bruce Momjian
1952f15c5c
Fix memory leak in psql.
1997-06-29 05:06:43 +00:00
Vadim B. Mikheev
eb9c8e0a59
_hash_first: release buf & metabuf if no tuples found for a key.
1997-06-28 05:45:40 +00:00
Bruce Momjian
fc96d50a5c
lextest cleanup.
1997-06-25 22:21:29 +00:00
Bruce Momjian
7e75f5e8b3
Small pg_dumpall cleanup.
1997-06-25 21:24:57 +00:00
Bruce Momjian
c2010d8e4d
fix for initdb --debug core dump, from Tatsuo Ishii
1997-06-25 21:12:19 +00:00
Bruce Momjian
c666255112
Typo changes in tests/ examples.
1997-06-25 19:59:57 +00:00
Thomas G. Lockhart
c05a7bd972
Test "SET DateStyle TO..." output options.
1997-06-23 15:08:59 +00:00
Thomas G. Lockhart
3267b4b767
Adapt expected output to drop ".00" from datetime seconds field.
...
This is compatible with abstime formats.
1997-06-23 15:07:54 +00:00
Thomas G. Lockhart
89abee4691
Test the "SET DateStyle TO..." date formatting modes.
1997-06-23 15:05:52 +00:00
Thomas G. Lockhart
45409f0cdd
Remove code not previously enabled with USE_NEW_DATE and USE_NEW_TIME
...
#defines.
1997-06-23 15:03:45 +00:00
Thomas G. Lockhart
742425447d
Drop internal routines for formatting time output. Use default formatter.
...
Add timezone info to abstime2tm().
1997-06-23 14:58:51 +00:00
Thomas G. Lockhart
1f4f4534a0
Use the standard date/time encoder rather than strftime() for output.
...
This allows use of the DateStyle session variable.
1997-06-23 14:56:15 +00:00
Thomas G. Lockhart
01264e84ba
Modify EncodeDateTime() to suppress trailing ".00" in seconds field.
...
This matches the behavior of the original formatting for abstime.
Repair datetime + timespan date arithmetic for year boundaries.
From patch submitted by Dave Skinner.
1997-06-23 14:50:56 +00:00
Thomas G. Lockhart
d9bccec0d2
Expunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines.
1997-06-23 14:47:26 +00:00
Bruce Momjian
a53d85404e
pg_dump, pg_dumpall cleanups.
1997-06-21 16:08:17 +00:00
Thomas G. Lockhart
374b0009fd
Fix predicted output for month boundary arithmetic problems in
...
datetime +/- timespan. Only manifested when date is at end of month
and time pushes the date into the next month.
1997-06-20 17:20:55 +00:00
Thomas G. Lockhart
2f09dd9958
Fix broken parsing for lists of options. Apparently broken when support was
...
added for keyword=value options.
1997-06-20 17:17:03 +00:00
Thomas G. Lockhart
9af564ada6
Add parser category for "DST" Daylight Savings Time qualifier on time zones.
1997-06-20 17:15:00 +00:00
Thomas G. Lockhart
3cef45d330
Fix leap year and month boundary arithmetic for datetime +/- timespan;
...
the problem only manifests itself when adding years/months and hours
when the hours:minutes:seconds pushes over midnight.
Fix interpretation of times with explicit timezone when the timezone is
in daylight savings time and is not the default timezone.
Allow interpretation of explicit timezone when it is specified as two words:
<standard time> DST". For example, "MET DST" (Middle European Time Daylight
Savings Time). This syntax is found in the zic package on Linux boxes at least.
1997-06-20 17:12:54 +00:00
Bruce Momjian
a75d6aaa41
Check pgdump return request.
1997-06-20 16:37:10 +00:00
Bruce Momjian
dd2c410616
Allow pg_dump to preserve owners of all objects.
1997-06-20 02:20:26 +00:00
Vadim B. Mikheev
41882fde34
setVarAttrLenForCreateTable(): use varnoold/varoattno instead of
...
varno/varattno.
1997-06-13 03:24:26 +00:00
Thomas G. Lockhart
380eaaa139
Add a few words from Vadim and an example on explain output.
...
Update the update date.
1997-06-12 23:45:54 +00:00