]> granicus.if.org Git - postgresql/log
postgresql
27 years agoPrevent psql optarg free-ing
Bruce Momjian [Mon, 14 Jul 1997 22:08:56 +0000 (22:08 +0000)]
Prevent psql optarg free-ing

27 years agoUpdate for DGUX.
Bruce Momjian [Mon, 14 Jul 1997 21:18:25 +0000 (21:18 +0000)]
Update for DGUX.

27 years agoMips sysv4 support.
Bruce Momjian [Mon, 14 Jul 1997 16:52:13 +0000 (16:52 +0000)]
Mips sysv4 support.

27 years agoAdd sysv4 support to configure and docs.
Bruce Momjian [Mon, 14 Jul 1997 16:47:36 +0000 (16:47 +0000)]
Add sysv4 support to configure and docs.

27 years agoUpdate supported ports for 6.1.1 release.
Bruce Momjian [Mon, 14 Jul 1997 16:37:36 +0000 (16:37 +0000)]
Update supported ports for 6.1.1 release.

27 years agoUpdate new items for 6.1.1
Bruce Momjian [Mon, 14 Jul 1997 03:26:22 +0000 (03:26 +0000)]
Update new items for 6.1.1

27 years agoUpdate new items in 6.1.1.
Bruce Momjian [Mon, 14 Jul 1997 01:54:39 +0000 (01:54 +0000)]
Update new items in 6.1.1.

27 years agoUpdate HISTORY file for 6.1.1 release.
Bruce Momjian [Sun, 13 Jul 1997 22:51:20 +0000 (22:51 +0000)]
Update HISTORY file for 6.1.1 release.

27 years agoUpdates for 6.1.1.
Bruce Momjian [Sun, 13 Jul 1997 20:00:14 +0000 (20:00 +0000)]
Updates for 6.1.1.

27 years agoAIX nm fix from Gerhard
Bruce Momjian [Sun, 13 Jul 1997 19:52:10 +0000 (19:52 +0000)]
AIX nm fix from Gerhard

27 years agoChange char to int as used in EOF compare, Gerhard
Bruce Momjian [Sat, 12 Jul 1997 20:31:47 +0000 (20:31 +0000)]
Change char to int as used in EOF compare, Gerhard

27 years agoHave pg_dumpall return proper status on exit
Bruce Momjian [Sat, 12 Jul 1997 15:57:31 +0000 (15:57 +0000)]
Have pg_dumpall return proper status on exit

27 years agoRemove endian information which is now in port-specific header files.
Thomas G. Lockhart [Fri, 11 Jul 1997 14:09:00 +0000 (14:09 +0000)]
Remove endian information which is now in port-specific header files.
Note that this version is probably identical to two versions ago.

27 years agoModify port-specific definitions to support missing endian information.
Thomas G. Lockhart [Fri, 11 Jul 1997 14:03:01 +0000 (14:03 +0000)]
Modify port-specific definitions to support missing endian information.
Add extra include file for aix to find endian information.

27 years agoFix for assembler from Yoshihiko ICHIKAWA
Bruce Momjian [Thu, 10 Jul 1997 02:32:51 +0000 (02:32 +0000)]
Fix for assembler from Yoshihiko ICHIKAWA

27 years agoAllow underscores in user names.
Bruce Momjian [Thu, 10 Jul 1997 02:27:27 +0000 (02:27 +0000)]
Allow underscores in user names.

27 years agoFixes from Jody Winston
Bruce Momjian [Thu, 10 Jul 1997 01:15:11 +0000 (01:15 +0000)]
Fixes from Jody Winston

27 years agoDate-type fixes from Tatsuo Ishii
Bruce Momjian [Tue, 8 Jul 1997 22:06:46 +0000 (22:06 +0000)]
Date-type fixes from Tatsuo Ishii

27 years agoAdd information regarding date and time types and functions,
Thomas G. Lockhart [Wed, 2 Jul 1997 14:13:14 +0000 (14:13 +0000)]
Add information regarding date and time types and functions,
 including arguments allowed.

27 years agoAdd test results for "SET DateStyle" alternative datetime formats.
Thomas G. Lockhart [Wed, 2 Jul 1997 01:34:24 +0000 (01:34 +0000)]
Add test results for "SET DateStyle" alternative datetime formats.

27 years agoInclude tests for DateStyle output format variations.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:34:34 +0000 (00:34 +0000)]
Include tests for DateStyle output format variations.

27 years agoFix code to do the right thing with mixed-endian clients and servers.
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.

27 years agoInclude definitions for endian info if not in system includes.
Thomas G. Lockhart [Tue, 1 Jul 1997 00:31:10 +0000 (00:31 +0000)]
Include definitions for endian info if not in system includes.

27 years agoAdd flags to allow dynamic loader to find Postgres sharable libraries without
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.

27 years agoRearrange DTK_x constants.
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.

27 years agoUse common parser and encoder for timestamp data type.
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.

27 years agoFox case-sensitivity for \d and allow trailing ; on backslash commands.
Bruce Momjian [Sun, 29 Jun 1997 17:29:28 +0000 (17:29 +0000)]
Fox case-sensitivity for \d and allow trailing ; on backslash commands.

27 years agoFix memory leak in psql.
Bruce Momjian [Sun, 29 Jun 1997 05:06:43 +0000 (05:06 +0000)]
Fix memory leak in psql.

27 years ago_hash_first: release buf & metabuf if no tuples found for a key.
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.

27 years agolextest cleanup.
Bruce Momjian [Wed, 25 Jun 1997 22:21:29 +0000 (22:21 +0000)]
lextest cleanup.

27 years agoSmall pg_dumpall cleanup.
Bruce Momjian [Wed, 25 Jun 1997 21:24:57 +0000 (21:24 +0000)]
Small pg_dumpall cleanup.

27 years agoMANPATH cleanup.
Bruce Momjian [Wed, 25 Jun 1997 21:16:24 +0000 (21:16 +0000)]
MANPATH cleanup.

27 years agofix for initdb --debug core dump, from Tatsuo Ishii
Bruce Momjian [Wed, 25 Jun 1997 21:12:19 +0000 (21:12 +0000)]
fix for initdb --debug core dump, from Tatsuo Ishii

27 years agoTypo changes in tests/ examples.
Bruce Momjian [Wed, 25 Jun 1997 19:59:57 +0000 (19:59 +0000)]
Typo changes in tests/ examples.

27 years agoTest "SET DateStyle TO..." output options.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:08:59 +0000 (15:08 +0000)]
Test "SET DateStyle TO..." output options.

27 years agoAdapt expected output to drop ".00" from datetime seconds field.
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.

27 years agoTest the "SET DateStyle TO..." date formatting modes.
Thomas G. Lockhart [Mon, 23 Jun 1997 15:05:52 +0000 (15:05 +0000)]
Test the "SET DateStyle TO..." date formatting modes.

27 years agoRemove code not previously enabled with USE_NEW_DATE and USE_NEW_TIME
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.

27 years agoDrop internal routines for formatting time output. Use default formatter.
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().

27 years agoUse the standard date/time encoder rather than strftime() for output.
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.

27 years agoModify EncodeDateTime() to suppress trailing ".00" in seconds field.
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.

27 years agoExpunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines.
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.

27 years agopg_dump, pg_dumpall cleanups.
Bruce Momjian [Sat, 21 Jun 1997 16:08:17 +0000 (16:08 +0000)]
pg_dump, pg_dumpall cleanups.

27 years agoFix predicted output for month boundary arithmetic problems in
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.

27 years agoFix broken parsing for lists of options. Apparently broken when support was
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.

27 years agoAdd parser category for "DST" Daylight Savings Time qualifier on time zones.
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.

27 years agoFix leap year and month boundary arithmetic for datetime +/- timespan;
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.

27 years agoCheck pgdump return request.
Bruce Momjian [Fri, 20 Jun 1997 16:37:10 +0000 (16:37 +0000)]
Check pgdump return request.

27 years agoAllow pg_dump to preserve owners of all objects.
Bruce Momjian [Fri, 20 Jun 1997 02:20:26 +0000 (02:20 +0000)]
Allow pg_dump to preserve owners of all objects.

27 years agoUpdate LInux and Irix FAQs. REL6_1
Bruce Momjian [Fri, 13 Jun 1997 14:08:48 +0000 (14:08 +0000)]
Update LInux and Irix FAQs.

27 years agosetVarAttrLenForCreateTable(): use varnoold/varoattno instead of
Vadim B. Mikheev [Fri, 13 Jun 1997 03:24:26 +0000 (03:24 +0000)]
setVarAttrLenForCreateTable(): use varnoold/varoattno instead of
varno/varattno.

27 years agoAdd a few words from Vadim and an example on explain output.
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.

27 years agoFix replace_agg_clause() for unary operators.
Vadim B. Mikheev [Thu, 12 Jun 1997 17:26:15 +0000 (17:26 +0000)]
Fix replace_agg_clause() for unary operators.

27 years agoUpdate psql EXPLAIN help description, from Thomas.
Bruce Momjian [Thu, 12 Jun 1997 16:43:08 +0000 (16:43 +0000)]
Update psql EXPLAIN help description, from Thomas.

27 years agoSomeone forgot about aligning in fastgetiattr()...
Vadim B. Mikheev [Thu, 12 Jun 1997 15:41:52 +0000 (15:41 +0000)]
Someone forgot about aligning in fastgetiattr()...

27 years agoDatum *idatum;
Vadim B. Mikheev [Thu, 12 Jun 1997 15:39:44 +0000 (15:39 +0000)]
Datum *idatum;
      ^

27 years agoUpdate docs for release.
Bruce Momjian [Wed, 11 Jun 1997 14:57:39 +0000 (14:57 +0000)]
Update docs for release.

27 years agoCompare 'char' and 'text' lexicographically.
Vadim B. Mikheev [Wed, 11 Jun 1997 05:20:05 +0000 (05:20 +0000)]
Compare 'char' and 'text' lexicographically.

27 years agoLexicographically compare 'char' and 'text'.
Vadim B. Mikheev [Wed, 11 Jun 1997 05:18:02 +0000 (05:18 +0000)]
Lexicographically compare 'char' and 'text'.

27 years agogeqo_rel_paths(): compute_joinrel_size() shouldn't be called
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);

27 years agoFrom: Darren King <aixssd!darrenk@abs.net>
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.

27 years agoFrom: Robert Bruccoleri <bruc@bms.com>
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

27 years agoFrom: "Brian E. Gallew" <geek+@cmu.edu>
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

27 years agoFrom: Igor <igor@sba.miami.edu>
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.

27 years agoFrom: "Eric H. Raskin" <ehr@listworks.com>
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.

27 years agoLO patches for loimport/loexport from Raymond Toy
Bruce Momjian [Tue, 10 Jun 1997 13:01:32 +0000 (13:01 +0000)]
LO patches for loimport/loexport from Raymond Toy

27 years ago if ( rel->size <= 0 )
Vadim B. Mikheev [Tue, 10 Jun 1997 07:55:47 +0000 (07:55 +0000)]
    if ( rel->size <= 0 )
            rel->size = compute_rel_size(rel);

27 years ago if ( new_rel->size <= 0 )
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);

27 years agoDuplicates handling...
Vadim B. Mikheev [Tue, 10 Jun 1997 07:28:50 +0000 (07:28 +0000)]
Duplicates handling...

27 years agoUpdate docs for release.
Bruce Momjian [Sat, 7 Jun 1997 18:43:50 +0000 (18:43 +0000)]
Update docs for release.

27 years agoCleanup on xinv# table names.
Bruce Momjian [Sat, 7 Jun 1997 17:34:35 +0000 (17:34 +0000)]
Cleanup on xinv# table names.

27 years agoMake LO patter consistent with psql.
Bruce Momjian [Sat, 7 Jun 1997 05:29:22 +0000 (05:29 +0000)]
Make LO patter consistent with psql.

27 years agoavoid xinv* table name conflict with large objects.
Bruce Momjian [Sat, 7 Jun 1997 05:19:06 +0000 (05:19 +0000)]
avoid xinv* table name conflict with large objects.

27 years agoFrom: David Friend <dfriend@atlsci.atlsci.com>
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.

27 years agoFrom: Igor <igor@sba.miami.edu>
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.

27 years agoFrom: Darren King <aixssd!darrenk@abs.net>
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?

27 years agoFrom: "D'Arcy J.M. Cain" <darcy@druid.net>
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

27 years agoFrom: "D'Arcy J.M. Cain" <darcy@druid.net>
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

27 years agoChange one date away from PST to avoid trouble after daylight savings time.
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.

27 years agoChange 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.

27 years agolowercase large object table name fix.
Bruce Momjian [Fri, 6 Jun 1997 03:41:16 +0000 (03:41 +0000)]
lowercase large object table name fix.

27 years agogimme_tree(): got rid of compute_rel_size() -
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.

27 years agoAdded check is new item successfuly inserted to a page or not.
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.

27 years agoFrom: Igor <igor@sba.miami.edu>
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.

27 years agoFrom: "Brian E. Gallew" <geek+@cmu.edu>
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

27 years agoFrom: Phil Nelson <phil@cs.wwu.edu>
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

27 years agoFrom: Phil Nelson <phil@cs.wwu.edu>
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.

27 years agoFrom: PortSite <info@portsite.nl>
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)

27 years agoFrom: PortSite <info@portsite.nl>
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 :-(

27 years agoFrom: "D'Arcy J.M. Cain" <darcy@druid.net>
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.

27 years agoFrom: "D'Arcy J.M. Cain" <darcy@druid.net>
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.

27 years agoFix for large objects and case sensitivity, from Raymond Toy.
Bruce Momjian [Thu, 5 Jun 1997 22:59:45 +0000 (22:59 +0000)]
Fix for large objects and case sensitivity, from Raymond Toy.

27 years agobsdi configure detection fix.
Bruce Momjian [Thu, 5 Jun 1997 17:36:43 +0000 (17:36 +0000)]
bsdi configure detection fix.

27 years agoallpaths.c:find_join_paths(): compute_rel_size() shouldn't be called
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...

27 years agoDefinition for RelationForgetRelation().
Vadim B. Mikheev [Wed, 4 Jun 1997 09:01:49 +0000 (09:01 +0000)]
Definition for RelationForgetRelation().

27 years agoheap_destroy() now calls RelationForgetRelation() to really flush
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.

27 years agoNew func RelationForgetRelation();
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.

27 years agoUPdate TODO/HISTORY again.
Bruce Momjian [Tue, 3 Jun 1997 20:36:48 +0000 (20:36 +0000)]
UPdate TODO/HISTORY again.

27 years agoUpdate TODO for release
Bruce Momjian [Tue, 3 Jun 1997 20:29:57 +0000 (20:29 +0000)]
Update TODO for release

27 years agoAdd bsdi to template detection.
Bruce Momjian [Tue, 3 Jun 1997 20:08:06 +0000 (20:08 +0000)]
Add bsdi to template detection.