1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00
Commit Graph

2249 Commits

Author SHA1 Message Date
89abee4691 Test the "SET DateStyle TO..." date formatting modes. 1997-06-23 15:05:52 +00:00
45409f0cdd Remove code not previously enabled with USE_NEW_DATE and USE_NEW_TIME
#defines.
1997-06-23 15:03:45 +00:00
742425447d Drop internal routines for formatting time output. Use default formatter.
Add timezone info to abstime2tm().
1997-06-23 14:58:51 +00:00
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
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
d9bccec0d2 Expunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines. 1997-06-23 14:47:26 +00:00
a53d85404e pg_dump, pg_dumpall cleanups. 1997-06-21 16:08:17 +00:00
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
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
9af564ada6 Add parser category for "DST" Daylight Savings Time qualifier on time zones. 1997-06-20 17:15:00 +00:00
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
a75d6aaa41 Check pgdump return request. 1997-06-20 16:37:10 +00:00
dd2c410616 Allow pg_dump to preserve owners of all objects. 1997-06-20 02:20:26 +00:00
0acf9c9b28 Update LInux and Irix FAQs. REL6_1 1997-06-13 14:08:48 +00:00
41882fde34 setVarAttrLenForCreateTable(): use varnoold/varoattno instead of
varno/varattno.
1997-06-13 03:24:26 +00:00
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
0f576413bc Fix replace_agg_clause() for unary operators. 1997-06-12 17:26:15 +00:00
8f846a321c Update psql EXPLAIN help description, from Thomas. 1997-06-12 16:43:08 +00:00
7540eda8f4 Someone forgot about aligning in fastgetiattr()... 1997-06-12 15:41:52 +00:00
9392a19196 Datum *idatum;
^
1997-06-12 15:39:44 +00:00
9b22846ee6 Update docs for release. 1997-06-11 14:57:39 +00:00
1561684a2d Compare 'char' and 'text' lexicographically. 1997-06-11 05:20:05 +00:00
0346ab7175 Lexicographically compare 'char' and 'text'. 1997-06-11 05:18:02 +00:00
dee872de5c 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);
1997-06-11 02:44:12 +00:00
5c2649b616 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.
1997-06-11 01:14:49 +00:00
90d0cf0000 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
1997-06-11 01:13:10 +00:00
4ea3844680 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
1997-06-11 01:05:48 +00:00
735bf0b7f2 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.
1997-06-11 01:03:38 +00:00
65c4a526fe 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.
1997-06-11 01:02:01 +00:00
fb5be867ef LO patches for loimport/loexport from Raymond Toy 1997-06-10 13:01:32 +00:00
f4161503e6 if ( rel->size <= 0 )
rel->size = compute_rel_size(rel);
1997-06-10 07:55:47 +00:00
cbb4213af4 if ( new_rel->size <= 0 )
new_rel->size = compute_rel_size(new_rel);
1997-06-10 07:53:55 +00:00
71b3e93c50 Duplicates handling... 1997-06-10 07:28:50 +00:00
3548a4106c Update docs for release. 1997-06-07 18:43:50 +00:00
858f35510e Cleanup on xinv# table names. 1997-06-07 17:34:35 +00:00
5c34462d9c Make LO patter consistent with psql. 1997-06-07 05:29:22 +00:00
51b03770d7 avoid xinv* table name conflict with large objects. 1997-06-07 05:19:06 +00:00
34fa6c6b70 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.
1997-06-07 03:42:17 +00:00
0105b79f4f 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.
1997-06-06 22:08:04 +00:00
e721e58c03 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?
1997-06-06 22:05:23 +00:00
e318022e1a 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
1997-06-06 22:04:04 +00:00
0f94738c33 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
1997-06-06 22:02:37 +00:00
20e71222ea Change one date away from PST to avoid trouble after daylight savings time. 1997-06-06 06:13:10 +00:00
e7044d70ef Change one date away from PST to avoid trouble after daylight savings time. 1997-06-06 06:05:53 +00:00
a089cdd9d3 lowercase large object table name fix. 1997-06-06 03:41:16 +00:00
e3d2f1f35d gimme_tree(): got rid of compute_rel_size() -
compute_joinrel_size already called by geqo_rel_paths.
1997-06-06 03:18:02 +00:00
c8a38d5d97 Added check is new item successfuly inserted to a page or not. 1997-06-06 03:11:46 +00:00
8d1f52ef24 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.
1997-06-06 01:42:02 +00:00
442306fe36 From: "Brian E. Gallew" <geek+@cmu.edu>
Define USE_POSIX_TIME for dgux port
1997-06-06 01:39:24 +00:00
11c7d75560 From: Phil Nelson <phil@cs.wwu.edu>
Subject: [PATCHES] Patches to allow generic NetBSD support
1997-06-06 01:38:24 +00:00