OSDN Git Service
Thomas G. Lockhart [Tue, 1 Jul 1997 00:34:34 +0000 (00:34 +0000)]
Include tests for DateStyle output format variations.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:32:27 +0000 (00:32 +0000)]
Fix code to do the right thing with mixed-endian clients and servers.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:31:10 +0000 (00:31 +0000)]
Include definitions for endian info if not in system includes.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:29:40 +0000 (00:29 +0000)]
Add flags to allow dynamic loader to find Postgres sharable libraries without
having to modify the system-wide library database.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:25:30 +0000 (00:25 +0000)]
Rearrange DTK_x constants.
Define constants to allow day of week decoding.
Add new datetime and timespan routines.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:22:46 +0000 (00:22 +0000)]
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.
Bruce Momjian [Sun, 29 Jun 1997 17:29:28 +0000 (17:29 +0000)]
Fox case-sensitivity for \d and allow trailing ; on backslash commands.
Bruce Momjian [Sun, 29 Jun 1997 05:06:43 +0000 (05:06 +0000)]
Fix memory leak in psql.
Vadim B. Mikheev [Sat, 28 Jun 1997 05:45:40 +0000 (05:45 +0000)]
_hash_first: release buf & metabuf if no tuples found for a key.
Bruce Momjian [Wed, 25 Jun 1997 22:21:29 +0000 (22:21 +0000)]
lextest cleanup.
Bruce Momjian [Wed, 25 Jun 1997 21:24:57 +0000 (21:24 +0000)]
Small pg_dumpall cleanup.
Bruce Momjian [Wed, 25 Jun 1997 21:16:24 +0000 (21:16 +0000)]
MANPATH cleanup.
Bruce Momjian [Wed, 25 Jun 1997 21:12:19 +0000 (21:12 +0000)]
fix for initdb --debug core dump, from Tatsuo Ishii
Bruce Momjian [Wed, 25 Jun 1997 19:59:57 +0000 (19:59 +0000)]
Typo changes in tests/ examples.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:08:59 +0000 (15:08 +0000)]
Test "SET DateStyle TO..." output options.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:07:54 +0000 (15:07 +0000)]
Adapt expected output to drop ".00" from datetime seconds field.
This is compatible with abstime formats.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:05:52 +0000 (15:05 +0000)]
Test the "SET DateStyle TO..." date formatting modes.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:03:45 +0000 (15:03 +0000)]
Remove code not previously enabled with USE_NEW_DATE and USE_NEW_TIME
#defines.
Thomas G. Lockhart [Mon, 23 Jun 1997 14:58:51 +0000 (14:58 +0000)]
Drop internal routines for formatting time output. Use default formatter.
Add timezone info to abstime2tm().
Thomas G. Lockhart [Mon, 23 Jun 1997 14:56:15 +0000 (14:56 +0000)]
Use the standard date/time encoder rather than strftime() for output.
This allows use of the DateStyle session variable.
Thomas G. Lockhart [Mon, 23 Jun 1997 14:50:56 +0000 (14:50 +0000)]
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.
Thomas G. Lockhart [Mon, 23 Jun 1997 14:47:26 +0000 (14:47 +0000)]
Expunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines.
Bruce Momjian [Sat, 21 Jun 1997 16:08:17 +0000 (16:08 +0000)]
pg_dump, pg_dumpall cleanups.
Thomas G. Lockhart [Fri, 20 Jun 1997 17:20:55 +0000 (17:20 +0000)]
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.
Thomas G. Lockhart [Fri, 20 Jun 1997 17:17:03 +0000 (17:17 +0000)]
Fix broken parsing for lists of options. Apparently broken when support was
added for keyword=value options.
Thomas G. Lockhart [Fri, 20 Jun 1997 17:15:00 +0000 (17:15 +0000)]
Add parser category for "DST" Daylight Savings Time qualifier on time zones.
Thomas G. Lockhart [Fri, 20 Jun 1997 17:12:54 +0000 (17:12 +0000)]
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.
Bruce Momjian [Fri, 20 Jun 1997 16:37:10 +0000 (16:37 +0000)]
Check pgdump return request.
Bruce Momjian [Fri, 20 Jun 1997 02:20:26 +0000 (02:20 +0000)]
Allow pg_dump to preserve owners of all objects.
Bruce Momjian [Fri, 13 Jun 1997 14:08:48 +0000 (14:08 +0000)]
Update LInux and Irix FAQs.
Vadim B. Mikheev [Fri, 13 Jun 1997 03:24:26 +0000 (03:24 +0000)]
setVarAttrLenForCreateTable(): use varnoold/varoattno instead of
varno/varattno.
Thomas G. Lockhart [Thu, 12 Jun 1997 23:45:54 +0000 (23:45 +0000)]
Add a few words from Vadim and an example on explain output.
Update the update date.
Vadim B. Mikheev [Thu, 12 Jun 1997 17:26:15 +0000 (17:26 +0000)]
Fix replace_agg_clause() for unary operators.
Bruce Momjian [Thu, 12 Jun 1997 16:43:08 +0000 (16:43 +0000)]
Update psql EXPLAIN help description, from Thomas.
Vadim B. Mikheev [Thu, 12 Jun 1997 15:41:52 +0000 (15:41 +0000)]
Someone forgot about aligning in fastgetiattr()...
Vadim B. Mikheev [Thu, 12 Jun 1997 15:39:44 +0000 (15:39 +0000)]
Datum *idatum;
^
Bruce Momjian [Wed, 11 Jun 1997 14:57:39 +0000 (14:57 +0000)]
Update docs for release.
Vadim B. Mikheev [Wed, 11 Jun 1997 05:20:05 +0000 (05:20 +0000)]
Compare 'char' and 'text' lexicographically.
Vadim B. Mikheev [Wed, 11 Jun 1997 05:18:02 +0000 (05:18 +0000)]
Lexicographically compare 'char' and 'text'.
Vadim B. Mikheev [Wed, 11 Jun 1997 02:44:12 +0000 (02:44 +0000)]
geqo_rel_paths(): compute_joinrel_size() shouldn't be called
for non-JoinPath path! So now we have:
if ( IsA_JoinPath (cheapest) )
rel->size = compute_joinrel_size(cheapest);
Marc G. Fournier [Wed, 11 Jun 1997 01:14:49 +0000 (01:14 +0000)]
From: Darren King <aixssd!darrenk@abs.net>
Subject: [PORTS] Makefile.aix patch.
Have to add libc.a to the link when making a shared lib.
Marc G. Fournier [Wed, 11 Jun 1997 01:13:10 +0000 (01:13 +0000)]
From: Robert Bruccoleri <bruc@bms.com>
Subject: [PORTS] Patches for Irix 6.4
I have worked out how to compile PostgreSQL on Irix 6.4 using the -n32 compiler
mode and version 7.1 of the C compiler. (The n32 compiler use 32 bits
addressing,
but allows access to all the instructions in the MIPS4 instruction set.)
There were several problems:
1) The ld command is not referenced as a macro in all the Makefiles. On
this platform, you have to include -n32 on all the ld commands. Makefiles
were changed as needed.
3) Lots of warnings are generated from the compiler. Since the regression
tests worked OK, I didn't attempt to fix them. If anyone wants the compilation
log, please let me know, and I'll email it to you.
The version of postgresql was 970602. Here is Makefile.custom:
CUSTOM_COPT = -O2 -n32
MK_NO_LORDER = 1
LD = ld -n32
CC += -n32
Marc G. Fournier [Wed, 11 Jun 1997 01:05:48 +0000 (01:05 +0000)]
From: "Brian E. Gallew" <geek+@cmu.edu>
Subject: Re: [PORTS] Re: [PATCHES] DG/UX 5.4R11 patches
Comments in boot.sed break DG/UX port
Marc G. Fournier [Wed, 11 Jun 1997 01:03:38 +0000 (01:03 +0000)]
From: Igor <igor@sba.miami.edu>
Subject: [PATCHES] sequences display in psql
Well, I am away at Progress training (not Postgres!!) and desided to do
this patch during a break. This will allow listing of sequences in
addition to listing of tables and indicies:
\d would should indicies, tables, and sequences
\ds would show sequences only.
Marc G. Fournier [Wed, 11 Jun 1997 01:02:01 +0000 (01:02 +0000)]
From: "Eric H. Raskin" <ehr@listworks.com>
Subject: [PATCHES] DG/UX 5.4R11 patches
1) config.guess -- it doesn't understand that the new default
"TARGET_BINARY_INTERFACE" (m88kdgux) is now an ELF
format, not BCS.
Bruce Momjian [Tue, 10 Jun 1997 13:01:32 +0000 (13:01 +0000)]
LO patches for loimport/loexport from Raymond Toy
Vadim B. Mikheev [Tue, 10 Jun 1997 07:55:47 +0000 (07:55 +0000)]
if ( rel->size <= 0 )
rel->size = compute_rel_size(rel);
Vadim B. Mikheev [Tue, 10 Jun 1997 07:53:55 +0000 (07:53 +0000)]
if ( new_rel->size <= 0 )
new_rel->size = compute_rel_size(new_rel);
Vadim B. Mikheev [Tue, 10 Jun 1997 07:28:50 +0000 (07:28 +0000)]
Duplicates handling...
Bruce Momjian [Sat, 7 Jun 1997 18:43:50 +0000 (18:43 +0000)]
Update docs for release.
Bruce Momjian [Sat, 7 Jun 1997 17:34:35 +0000 (17:34 +0000)]
Cleanup on xinv# table names.
Bruce Momjian [Sat, 7 Jun 1997 05:29:22 +0000 (05:29 +0000)]
Make LO patter consistent with psql.
Bruce Momjian [Sat, 7 Jun 1997 05:19:06 +0000 (05:19 +0000)]
avoid xinv* table name conflict with large objects.
Marc G. Fournier [Sat, 7 Jun 1997 03:42:17 +0000 (03:42 +0000)]
From: David Friend <dfriend@atlsci.atlsci.com>
Subject: [PATCHES] Patch for INSTAL file.
The following patch does the following:
- In step 6, recommend doing a database backup if you are upgrading
from any version of the release, rather than ones before a specific
date.
- Added step 22a on regular maintainence.
Marc G. Fournier [Fri, 6 Jun 1997 22:08:04 +0000 (22:08 +0000)]
From: Igor <igor@sba.miami.edu>
Subject: [PATCHES] destroydb.1 patch
This is a patch to destroydb man page so that it shows and explains "-i"
option.
Marc G. Fournier [Fri, 6 Jun 1997 22:05:23 +0000 (22:05 +0000)]
From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] psql and large objects fix
Psql was broken by using "Inv[0-9]+" instead of "xin[xv][0-9]+" to not
show large object files. Been this way for a long time too. Relic of
an older naming convention, perhaps?
Marc G. Fournier [Fri, 6 Jun 1997 22:04:04 +0000 (22:04 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [PATCHES] backend/storage/ipc/shmem.c
- strname is only used if assert checking is on
Marc G. Fournier [Fri, 6 Jun 1997 22:02:37 +0000 (22:02 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [PATCHES] backend/lib/fstack.c
- The FixedStackIsValid so obviously needs to be a macro
- FixedStackContains only called if assert checking on
Thomas G. Lockhart [Fri, 6 Jun 1997 06:13:10 +0000 (06:13 +0000)]
Change one date away from PST to avoid trouble after daylight savings time.
Thomas G. Lockhart [Fri, 6 Jun 1997 06:05:53 +0000 (06:05 +0000)]
Change one date away from PST to avoid trouble after daylight savings time.
Bruce Momjian [Fri, 6 Jun 1997 03:41:16 +0000 (03:41 +0000)]
lowercase large object table name fix.
Vadim B. Mikheev [Fri, 6 Jun 1997 03:18:02 +0000 (03:18 +0000)]
gimme_tree(): got rid of compute_rel_size() -
compute_joinrel_size already called by geqo_rel_paths.
Vadim B. Mikheev [Fri, 6 Jun 1997 03:11:46 +0000 (03:11 +0000)]
Added check is new item successfuly inserted to a page or not.
Marc G. Fournier [Fri, 6 Jun 1997 01:42:02 +0000 (01:42 +0000)]
From: Igor <igor@sba.miami.edu>
Subject: [PATCHES] More psql and libpq patches
Well..these would be the last patches until the release (I hope)...
I ran the regression tests while watching psql under purify, and it did
not leak even one byte.
In this patch:
* Plugged a major leak when PSQL reads files for input (either through
\i options or through -f option)
* Fixed the one remaining leak in PSQL in not clearing PGresult *results
everywhere it is supposed to. (Thanks Tymm)
* Fixed A small leak in PSQL not clearing all the PGsettings correctly.
* A not-so-obvious (but small) leak in Libpq when PQsetdb fails for any
reason.
* Added \n to some Libpq error messages to make them easier to digest..
* Finally, added /* PURIFY */ comment to some of the code indicating
the reason for why it was added/changed...for future developers.
Marc G. Fournier [Fri, 6 Jun 1997 01:39:24 +0000 (01:39 +0000)]
From: "Brian E. Gallew" <geek+@cmu.edu>
Define USE_POSIX_TIME for dgux port
Marc G. Fournier [Fri, 6 Jun 1997 01:38:24 +0000 (01:38 +0000)]
From: Phil Nelson <phil@cs.wwu.edu>
Subject: [PATCHES] Patches to allow generic NetBSD support
Marc G. Fournier [Fri, 6 Jun 1997 01:37:23 +0000 (01:37 +0000)]
From: Phil Nelson <phil@cs.wwu.edu>
Subject: [PATCHES] Added support for NetBSD/pc532.
Marc G. Fournier [Fri, 6 Jun 1997 01:35:57 +0000 (01:35 +0000)]
From: PortSite <info@portsite.nl>
The GNUmakefile in src/test/regress uses `gmake' for
the make program. This should be $(MAKE)
Marc G. Fournier [Fri, 6 Jun 1997 01:34:59 +0000 (01:34 +0000)]
From: PortSite <info@portsite.nl>
Install file says: Type flex -- version
There is a space between -- and version that shouldn't
be there :-(
Marc G. Fournier [Fri, 6 Jun 1997 00:38:17 +0000 (00:38 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] src.original/./backend/lib/fstack.c
Another change I suggested. I bracket an unused function and add a
return to quiet the compiler. In addition I added an internal
consistency check.
Marc G. Fournier [Fri, 6 Jun 1997 00:37:23 +0000 (00:37 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] backend/optimizer/geqo/geqo_erx.c
I sent these changes in with a bunch of others. Some were folded in but
others, like these, were not. I am not sure why so I am resending this
to the developers list by itself for discussion.
The readon why I suggest these changes is that the compiler can't tell
that minimum_count is initialized before it is used. The tests that I
add in here will cause an immediate error if it doesn't. As the comments
below suggest, if it is 100% guaranteed that the variable will always
be initialized then how this is so should be commented here. I don't
know how much strain the actual test puts on the performance but if it
isn't too much then maybe leave it in for absolute safety anyway.
There are also a few returns just to stop warnings.
Bruce Momjian [Thu, 5 Jun 1997 22:59:45 +0000 (22:59 +0000)]
Fix for large objects and case sensitivity, from Raymond Toy.
Bruce Momjian [Thu, 5 Jun 1997 17:36:43 +0000 (17:36 +0000)]
bsdi configure detection fix.
Vadim B. Mikheev [Thu, 5 Jun 1997 09:33:52 +0000 (09:33 +0000)]
allpaths.c:find_join_paths(): compute_rel_size() shouldn't be called
for join-relations. Sizes already computed by
prune_rel_paths():compute_joinrel_size().
joinrels.c:
< if ( _use_right_sided_plans_ )
---
> if ( _use_right_sided_plans_ &&
> length (outer_rel->relids) > 1 )
- r_plans are useful when outer_rel is join-relation... It
decreases the size of search space...
Vadim B. Mikheev [Wed, 4 Jun 1997 09:01:49 +0000 (09:01 +0000)]
Definition for RelationForgetRelation().
Vadim B. Mikheev [Wed, 4 Jun 1997 08:59:22 +0000 (08:59 +0000)]
heap_destroy() now calls RelationForgetRelation() to really flush
the relation from the relcache.
Vadim B. Mikheev [Wed, 4 Jun 1997 08:56:51 +0000 (08:56 +0000)]
New func RelationForgetRelation();
* RelationFlushRelation + if the relation is local then get rid of
* the relation descriptor from the newly created relation list.
Bruce Momjian [Tue, 3 Jun 1997 20:36:48 +0000 (20:36 +0000)]
UPdate TODO/HISTORY again.
Bruce Momjian [Tue, 3 Jun 1997 20:29:57 +0000 (20:29 +0000)]
Update TODO for release
Bruce Momjian [Tue, 3 Jun 1997 20:08:06 +0000 (20:08 +0000)]
Add bsdi to template detection.
Thomas G. Lockhart [Tue, 3 Jun 1997 15:25:45 +0000 (15:25 +0000)]
Update comments for regression testing.
Include paragraph on upgrading old databases containing path or polygon types.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:34:51 +0000 (14:34 +0000)]
Use error message syntax consistant with other messages from the same
reference platform (Linux/gcc-lib/i686).
Thomas G. Lockhart [Tue, 3 Jun 1997 14:31:46 +0000 (14:31 +0000)]
Update to reflect new "drop aggregate" syntax and messages.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:29:51 +0000 (14:29 +0000)]
Update to show new path and polygon syntax.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:24:12 +0000 (14:24 +0000)]
Update path and polygon syntax to new conventions.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:21:36 +0000 (14:21 +0000)]
Update to use new path geometric type syntax.
Order in streets.data changed and is now alphabetical (sorry).
Thomas G. Lockhart [Tue, 3 Jun 1997 14:19:28 +0000 (14:19 +0000)]
Modify banner to suggest using PST8PDT time zone rather than full specifier
string.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:18:38 +0000 (14:18 +0000)]
Update to suggest using PST8PDT time zone rather than full time zone string.
Include section on error message differences.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:11:28 +0000 (14:11 +0000)]
Add upgradepath(), isoldpath(), upgradepoly() and revertpoly() to allow
upgrading from existing pre-v6.1 path and polygon geometric data types.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:07:24 +0000 (14:07 +0000)]
Put parens around macro arguments for safety per D'Arcy's suggestion.
Thomas G. Lockhart [Tue, 3 Jun 1997 14:01:22 +0000 (14:01 +0000)]
Add upgradepath(), isoldpath(), upgradepoly() and revertpoly() to allow
migration from pre-v6.1 geometric data types.
Only allow new input syntax for paths and polygons.
Thomas G. Lockhart [Tue, 3 Jun 1997 13:58:06 +0000 (13:58 +0000)]
Use finite() macro if available to check returns from pow() and exp().
Thomas G. Lockhart [Tue, 3 Jun 1997 13:56:32 +0000 (13:56 +0000)]
Fix a few DATEDEBUG print statements.
Vadim B. Mikheev [Tue, 3 Jun 1997 06:32:56 +0000 (06:32 +0000)]
cc1: warnings being treated as errors
dt.c: In function `timespan2tm':
dt.c:1722: warning: unused variable `funit'
dt.c:1722: warning: unused variable `iunit'
-> got rid of them.
Vadim B. Mikheev [Tue, 3 Jun 1997 06:29:31 +0000 (06:29 +0000)]
SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, not
to last specified with 'on' #.
What is better ?
Vadim B. Mikheev [Tue, 3 Jun 1997 06:23:24 +0000 (06:23 +0000)]
cc1: warnings being treated as errors
remove.c: In function `RemoveAggregate':
remove.c:413: warning: unused variable `typename'
-> got rid of it.
Vadim B. Mikheev [Tue, 3 Jun 1997 06:19:11 +0000 (06:19 +0000)]
SET var TO '...'
^^ - added
Vadim B. Mikheev [Tue, 3 Jun 1997 06:17:34 +0000 (06:17 +0000)]
cc1: warnings being treated as errors
psql.c: In function `HandleSlashCmds':
psql.c:1141: warning: `optarg3' might be used uninitialized in this function
psql.c:1157: warning: `optarg3' might be used uninitialized in this function
-> char *optarg3 = NULL;
Vadim B. Mikheev [Tue, 3 Jun 1997 04:14:31 +0000 (04:14 +0000)]
Cleanups.
Bruce Momjian [Tue, 3 Jun 1997 03:35:46 +0000 (03:35 +0000)]
Add \dt and \di to psql help.