]> granicus.if.org Git - postgresql/log
postgresql
27 years agoAdd fcvt() as a check to configure so that we can get rid of the BSD44_derived
Marc G. Fournier [Tue, 22 Apr 1997 17:47:42 +0000 (17:47 +0000)]
Add fcvt() as a check to configure so that we can get rid of the BSD44_derived
type check in numutils.c:ftoa()

Pointed out by: "Martin J. Laubach" <mjl@emsi.priv.at>

27 years agoFrom: adrian@waltham.harvard.net
Marc G. Fournier [Tue, 22 Apr 1997 17:41:15 +0000 (17:41 +0000)]
From: adrian@waltham.harvard.net
Subject: [PATCHES] Patch for configure.in to not ask for CASSERT

The following patch defaults to CASSERT, so it doesn't ask you.  You can
still use --enable-cassert and --disable-cassert to do it explicitly.

Default: disabled

27 years agoFrom: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Marc G. Fournier [Tue, 22 Apr 1997 17:36:57 +0000 (17:36 +0000)]
From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Subject: [PATCHES] date/time timezone patches (mail bounced?)

Here are some hacks to get timezone behavior for the various time
data types to be compatible with v6.0. Although we have some hooks
already installed to get timezone info from the client to the
server, it still isn't clear if that can correctly transfer enough
timezone info to make the behavior the same as if timezone info
were derived from the server as is now the case. We certainly
won't resolve it in a day, so I think we are stuck with server-only
timezones for v6.1.

27 years agoMajor patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Marc G. Fournier [Tue, 22 Apr 1997 17:35:09 +0000 (17:35 +0000)]
Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>

OK, here are a passel of patches for the geometric data types.
These add a "circle" data type, new operators and functions
for the existing data types, and change the default formats
for some of the existing types to make them consistant with
each other. Current formatting conventions (e.g. compatible
with v6.0 to allow dump/reload) are supported, but the new
conventions should be an improvement and we can eventually
drop the old conventions entirely.

For example, there are two kinds of paths (connected line segments),
open and closed, and the old format was

'(1,2,1,2,3,4)' for a closed path with two points (1,2) and (3,4)
'(0,2,1,2,3,4)' for an open path with two points (1,2) and (3,4)

Pretty arcane, huh? The new format for paths is

'((1,2),(3,4))' for a closed path with two points (1,2) and (3,4)
'[(1,2),(3,4)]' for an open path with two points (1,2) and (3,4)

For polygons, the old convention is

'(0,4,2,0,4,3)' for a triangle with points at (0,0),(4,4), and (2,3)

and the new convention is

'((0,0),(4,4),(2,3))' for a triangle with points at (0,0),(4,4), and (2,3)

Other data types which are also represented as lists of points
(e.g. boxes, line segments, and polygons) have similar representations
(they surround each point with parens).

For v6.1, any format which can be interpreted as the old style format
is decoded as such; we can remove that backwards compatibility but ugly
convention for v7.0. This will allow dump/reloads from v6.0.

These include some updates to the regression test files to change the test
for creating a data type from "circle" to "widget" to keep the test from
trashing the new builtin circle type.

27 years agoFix for Hash and arrays
Vadim B. Mikheev [Tue, 22 Apr 1997 03:32:38 +0000 (03:32 +0000)]
Fix for Hash and arrays

27 years agoDocument --enable-cassert/--disable-cassert configure options
Marc G. Fournier [Mon, 21 Apr 1997 18:26:27 +0000 (18:26 +0000)]
Document --enable-cassert/--disable-cassert configure options

27 years agoFix for text_lt/text_le to avoid warnings if not def USE_LOCALE.
Vadim B. Mikheev [Mon, 21 Apr 1997 04:31:53 +0000 (04:31 +0000)]
Fix for text_lt/text_le to avoid warnings if not def USE_LOCALE.

27 years ago#include <string.h>
Vadim B. Mikheev [Mon, 21 Apr 1997 04:28:59 +0000 (04:28 +0000)]
#include <string.h>

27 years agoFix for -Wno-error
Vadim B. Mikheev [Mon, 21 Apr 1997 04:26:47 +0000 (04:26 +0000)]
Fix for -Wno-error

27 years agoHere is the Mismatched input/output patch for tintervals as reported over
Marc G. Fournier [Sun, 20 Apr 1997 21:49:17 +0000 (21:49 +0000)]
Here is the Mismatched input/output patch for tintervals as reported over
the last week on Hackers...(A coulpe of clippings of the final
verdict are included below + the diff).

From: Wayde Nie <niew@phoenix.cis.mcmaster.ca>

27 years agoAdd a --with-compiler switch that allows someone to specify:
Marc G. Fournier [Fri, 18 Apr 1997 18:43:28 +0000 (18:43 +0000)]
Add a --with-compiler switch that allows someone to specify:

--with-compiler=xlc

Requested by: Darren King <aixssd!darrenk@abs.net>

27 years agoFrom: adrian@waltham.harvard.net
Marc G. Fournier [Fri, 18 Apr 1997 18:34:11 +0000 (18:34 +0000)]
From: adrian@waltham.harvard.net
Subject: [HACKERS] Another patch to configure.in

I heard very little in objections/approvals to defaulting some of the
parameters to configure.  Enclosed is a patch to configure.in which
removes the questions for

        PGPORT
        USE_LOCALE
        NOHBA

By default (i.e. assuming you don't put anything extra in the configure
command line), it assumes PGPORT=5432, USE_LOCAL=no and NOHBA=no (i.e.
HBA is turned on)

        --with-pgport=PGPORT_NO         Over-rides the PGPORT value
        --enable-locale                 enables USE_LOCALE
        --disable-hba                   disables HBA

Just for completeness:

        --prefix=BASEDIR                Defaults to /usr/local/pgsql
        --with-template=TEMPLATE        Defaults to asking you

27 years agoFix for -Wno-error
Vadim B. Mikheev [Fri, 18 Apr 1997 08:57:39 +0000 (08:57 +0000)]
Fix for -Wno-error

27 years agoCommitInfoNeedsSave[buffer - 1] = 0
Vadim B. Mikheev [Fri, 18 Apr 1997 08:30:08 +0000 (08:30 +0000)]
CommitInfoNeedsSave[buffer - 1] = 0
added to WriteBuffer(), FlushBuffer(), WriteNoReleaseBuffer().

27 years ago#ifdef BTREE_BUILD_STATS enables to get executor stats for btree
Vadim B. Mikheev [Fri, 18 Apr 1997 03:37:57 +0000 (03:37 +0000)]
#ifdef BTREE_BUILD_STATS enables to get executor stats for btree
building.

27 years ago1. Declaration
Vadim B. Mikheev [Fri, 18 Apr 1997 02:59:26 +0000 (02:59 +0000)]
1. Declaration
static const char *num_word(Cash value);
moved to cash.c.
2. 'extern ' added to funcs prototypes.

27 years agoDeclaration
Vadim B. Mikheev [Fri, 18 Apr 1997 02:55:54 +0000 (02:55 +0000)]
Declaration
static const char *num_word(Cash value);
moved here from cash.h

27 years agoPrintBufferUsage() changed to report about shared, local and direct
Vadim B. Mikheev [Fri, 18 Apr 1997 02:53:37 +0000 (02:53 +0000)]
PrintBufferUsage() changed to report about shared, local and direct
blocks transfferes.

27 years agoFix bttextcmp() to use unsigned char*.
Vadim B. Mikheev [Fri, 18 Apr 1997 02:48:05 +0000 (02:48 +0000)]
Fix bttextcmp() to use unsigned char*.
#ifdef USE_LOCALE added.

27 years agoFrom: Raymond Toy <toy@rtp.ericsson.se>
Marc G. Fournier [Thu, 17 Apr 1997 20:39:31 +0000 (20:39 +0000)]
From: Raymond Toy <toy@rtp.ericsson.se>
Subject: [PATCHES] 970417:  some large object patches

Two patches here, made against 970417.  Both have to do with large
objects:

        1.  lobjfuncs was not initialized in PQconnectdb.  This causes
            failure later if large objects are used.  (Someone already
            caught this error in PQsetdb.)

        2.  Postgres functions lo_import and lo_export sometimes
            produce garbage for the file names because the filename
            strings aren't always terminated by \0.  (VARDATA isn't
            necessarily null terminated.)

27 years agoFrom: Raymond Toy <toy@rtp.ericsson.se>
Marc G. Fournier [Thu, 17 Apr 1997 20:38:26 +0000 (20:38 +0000)]
From: Raymond Toy <toy@rtp.ericsson.se>
Subject: [PATCHES] 970417:  two more patches for large objects

Here are two more patches:

        1.  pg_getint doesn't properly set the status flag when
            calling pqGetShort or pqGetLong.  This is required when
            accessing large objects via libpq.  This, combined with
            problem 1 above causes postgres to crash when postgres
            tries to print out the message that the status was not
            good.

        2.  ExceptionalCondition crashes when called with detail =
            NULL.  This patch prevents dereferencing the NULL.

27 years agoFrom: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>
Marc G. Fournier [Thu, 17 Apr 1997 13:50:57 +0000 (13:50 +0000)]
From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>
Subject: [HACKERS] Patch: set date to euro/us postgres/iso/sql

  Here a patch that implements a SET date for use by the datetime
stuff. The syntax is

        SET date TO 'val[,val,...]'

  where val is us (us dates), euro (european dates), postgres,
iso or sql.

  Thomas is working on the integration in his datetime module.
I just needed to get the patch out before it went stale :)

27 years agoSome slight changes to the Wisconsin Benchmark tests since postgres requires
Marc G. Fournier [Thu, 17 Apr 1997 13:48:52 +0000 (13:48 +0000)]
Some slight changes to the Wisconsin Benchmark tests since postgres requires
a -D<datadir> option

27 years agoThe patch fixes a rare bug that may occur when one tries to vacuum a single
Vadim B. Mikheev [Thu, 17 Apr 1997 01:45:36 +0000 (01:45 +0000)]
The patch fixes a rare bug that may occur when one tries to vacuum a single
table. The table name is de-allocated by the CommitTransactionCommand()
in vc_init() before it is copied in VacRel.data and sometimes this causes
a SIGSEGV. My patch simply moves the strcpy before vc_init.

Submitted by Massimo Dal Zotto <dz@cs.unitn.it>.

27 years agoFix a problem with Linux where yacc is *really* bison -y
Marc G. Fournier [Wed, 16 Apr 1997 14:13:51 +0000 (14:13 +0000)]
Fix a problem with Linux where yacc is *really* bison -y

27 years agoconnectDB(): setsockopt (..., TCP_NODELAY, ...) added.
Vadim B. Mikheev [Wed, 16 Apr 1997 06:29:19 +0000 (06:29 +0000)]
connectDB(): setsockopt (..., TCP_NODELAY, ...) added.

27 years agoStreamConnection(): setsockopt (..., TCP_NODELAY, ...) added.
Vadim B. Mikheev [Wed, 16 Apr 1997 06:25:13 +0000 (06:25 +0000)]
StreamConnection(): setsockopt (..., TCP_NODELAY, ...) added.

27 years ago1. BTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a given
Vadim B. Mikheev [Wed, 16 Apr 1997 01:48:29 +0000 (01:48 +0000)]
1. BTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a given
index tuple (logical position within A LEVEL). bti_oid & bti_dummy
taken off from BTItemData.
2. Fix for multi-column indices (nbtsearch.c):
   _bt_binsrch() - for searches on internal pages having keysize <
number of attrs we point at the last item < the scankey, not at the
first item = the scankey;
   _bt_moveright() - if keysize < number of attrs we compare scankey with
_last_ item on current page to decide should we move right or
not.

27 years agoBTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a given
Vadim B. Mikheev [Wed, 16 Apr 1997 01:21:59 +0000 (01:21 +0000)]
BTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a given
index tuple (logical position within A LEVEL). bti_oid & bti_dummy
taken off from BTItemData.

27 years agoA couple of cleanups from Scott Harrison <Scott_Harrison@next.com>
Marc G. Fournier [Tue, 15 Apr 1997 19:08:13 +0000 (19:08 +0000)]
A couple of cleanups from Scott Harrison <Scott_Harrison@next.com>

27 years agoOops, don't forget to remove the CASSERT=true line
Marc G. Fournier [Tue, 15 Apr 1997 18:36:45 +0000 (18:36 +0000)]
Oops, don't forget to remove the CASSERT=true line

27 years agoHave CASSERT enabled/disabled via configure, and passed through config.h
Marc G. Fournier [Tue, 15 Apr 1997 18:35:50 +0000 (18:35 +0000)]
Have CASSERT enabled/disabled via configure, and passed through config.h
instead of as a -D

27 years agoPatch for Solaris 2.5 from: adrian@waltham.harvard.net
Marc G. Fournier [Tue, 15 Apr 1997 18:18:45 +0000 (18:18 +0000)]
Patch for Solaris 2.5 from: adrian@waltham.harvard.net

27 years agoVarious minor HP related patches from:
Marc G. Fournier [Tue, 15 Apr 1997 17:55:37 +0000 (17:55 +0000)]
Various minor HP related patches from:

Morten Kjeldgaard <mok@monster.kemi.aau.dk>

27 years agoA small fix, where default: condition in case had not 'break;'...not required,
Marc G. Fournier [Tue, 15 Apr 1997 17:46:52 +0000 (17:46 +0000)]
A small fix, where default: condition in case had not 'break;'...not required,
but, IMHO, cleaner

27 years agoFrom: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Marc G. Fournier [Tue, 15 Apr 1997 17:41:44 +0000 (17:41 +0000)]
From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Subject: [HACKERS] Money integration patches

Here are patches to integrate the money data type. I have included
some math and aggregate functions and have made the locale support optional
by #ifdef USE_LOCALE bracketing of functions.

Modules affected are:
builtins.h.patch
cash.c.patch
cash.h.patch
main.c.patch
pg_aggregate.h.patch
pg_operator.h.patch
pg_proc.h.patch
pg_type.h.patch

I changed the data type to be pass-by-reference rather than by-value
to pave the way for a larger internal representation (64-bit ints?).
Also, I changed the tabbing of cash.c and cash.h to match most of
the other Postgres source code files (4 space indent, 8 spaces == 1 tab).

The locale stuff should be tested under another convention (Russian?)
but I don't know what the correct results should be so perhaps someone
else can give them a try. Will update docs and regression tests in
the next few days.

27 years ago2. The file /usr/local/pgsql/src/backend/lipq/pgcomprim.c has two
Marc G. Fournier [Tue, 15 Apr 1997 17:25:47 +0000 (17:25 +0000)]
2. The file /usr/local/pgsql/src/backend/lipq/pgcomprim.c has two
invalid macro definitions, the compiler complains about:

"pqcomprim.c", line 48.9: 1506-275 (S) Unexpected text ';' ignored.
"pqcomprim.c", line 61.9: 1506-275 (S) Unexpected text ';' ignored.

The ';' terminating the macro definition ntoh_s(n) on line 27 and
ntoh_l(n) on line 28 should be removed.

Pointed out by: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>

27 years agoFix up the -Wno-error problem for non-gcc compilers
Marc G. Fournier [Tue, 15 Apr 1997 17:24:26 +0000 (17:24 +0000)]
Fix up the -Wno-error problem for non-gcc compilers

Pointed out by many many ppl

27 years agoAdd ccsym to tools to determine OS/compiler specific symbols
Marc G. Fournier [Sun, 13 Apr 1997 17:09:45 +0000 (17:09 +0000)]
Add ccsym to tools to determine OS/compiler specific symbols

Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what
NetBSD is referred to as...someone?)

27 years agoFixes for [] escaping pointed out by Adrian
Marc G. Fournier [Sat, 12 Apr 1997 13:56:44 +0000 (13:56 +0000)]
Fixes for [] escaping pointed out by Adrian

27 years agoscripts required by configure to bypass its inabilty to use []'s inside of
Marc G. Fournier [Sat, 12 Apr 1997 13:22:04 +0000 (13:22 +0000)]
scripts required by configure to bypass its inabilty to use []'s inside of
configure ([] have special means to m4 *sigh*)

27 years agoMake sure that Makefile.${PORTNAME} is link'd and that teh port/*.h
Marc G. Fournier [Sat, 12 Apr 1997 10:35:49 +0000 (10:35 +0000)]
Make sure that Makefile.${PORTNAME} is link'd and that teh port/*.h
file that has moved to include is also link'd properly

27 years agoRemove port specific Makefile 'targets' (ie. shared libraries) from
Marc G. Fournier [Sat, 12 Apr 1997 10:33:10 +0000 (10:33 +0000)]
Remove port specific Makefile 'targets' (ie. shared libraries) from
Makefile.global and move them to seperate 'include' makefiles

Over time, should become even more port specific:

ie. Makefile.BSD44_derived should be broken down into netbsd/freebsd
specific ports

27 years agoMore more of the include files under the include directory
Marc G. Fournier [Sat, 12 Apr 1997 10:21:55 +0000 (10:21 +0000)]
More more of the include files under the include directory

27 years agoremove the port related .h files from the top level directory.
Marc G. Fournier [Sat, 12 Apr 1997 10:20:20 +0000 (10:20 +0000)]
remove the port related .h files from the top level directory.

Moved to include/port

27 years agoFix detection of install vs installbsd
Marc G. Fournier [Sat, 12 Apr 1997 09:39:56 +0000 (09:39 +0000)]
Fix detection of install vs installbsd

Submitted by: adrian@waltham.harvard.net

27 years agoMake sure postgres.h is included before we start checking #ifdef's for other
Marc G. Fournier [Sat, 12 Apr 1997 09:37:31 +0000 (09:37 +0000)]
Make sure postgres.h is included before we start checking #ifdef's for other
header files.

Pointed out by: Edmund Mergl <E.Mergl@bawue.de>

27 years agoGet rid of the .sql files out of the Makefile
Marc G. Fournier [Sat, 12 Apr 1997 09:34:31 +0000 (09:34 +0000)]
Get rid of the .sql files out of the Makefile

Pointed out by: afc@teri.superlink.net

27 years agoMajor cleanup of Install instructions
Marc G. Fournier [Sat, 12 Apr 1997 09:33:25 +0000 (09:33 +0000)]
Major cleanup of Install instructions

Provided by: adrian@waltham.harvard.net

27 years agomodifications to pg_dump towards supporting dumping of ACLs (doesn't work yet!)
Marc G. Fournier [Sat, 12 Apr 1997 09:24:23 +0000 (09:24 +0000)]
modifications to pg_dump towards supporting dumping of ACLs (doesn't work yet!)

modification to c.h so that bool isn't typedef'd under __cplusplus

27 years agoChange BACKEND to CFLAGS
Marc G. Fournier [Fri, 11 Apr 1997 18:55:10 +0000 (18:55 +0000)]
Change BACKEND to CFLAGS

27 years agoFinish removing the TEST_MAIN stuff, which was mean for standalone
Marc G. Fournier [Thu, 10 Apr 1997 20:51:13 +0000 (20:51 +0000)]
Finish removing the TEST_MAIN stuff, which was mean for standalone
testing

27 years agoFix #include "cash.h" to be #include <utils/cash.h>
Marc G. Fournier [Thu, 10 Apr 1997 20:42:35 +0000 (20:42 +0000)]
Fix #include "cash.h" to be #include <utils/cash.h>

Remove the TEST_MAIN stuff at the top...

27 years agoUpdate man page, listing new \z value
Marc G. Fournier [Thu, 10 Apr 1997 11:58:59 +0000 (11:58 +0000)]
Update man page, listing new \z value

27 years agoAdd a \z command to psql that lists off grant/revoke permissions
Marc G. Fournier [Thu, 10 Apr 1997 11:54:29 +0000 (11:54 +0000)]
Add a \z command to psql that lists off grant/revoke permissions

- if someone can pick a better \? for this, plesae let me know...all
  the good ones seem taken :(

27 years agoCopy indexkeys in _copyIndexPath.
Vadim B. Mikheev [Thu, 10 Apr 1997 07:59:09 +0000 (07:59 +0000)]
Copy indexkeys in _copyIndexPath.

27 years agoMuch improved configure that integrates the build script right into it
Marc G. Fournier [Wed, 9 Apr 1997 08:55:32 +0000 (08:55 +0000)]
Much improved configure that integrates the build script right into it

Submitted by: adrian@waltham.harvard.net

27 years agoremove the old regression test files. have copies saved in my directory here,
Marc G. Fournier [Wed, 9 Apr 1997 08:48:14 +0000 (08:48 +0000)]
remove the old regression test files.  have copies saved in my directory here,
but it gets rid of the temptation to modify the old source files :)

27 years agoAdd in D'Arcy's cash code
Marc G. Fournier [Wed, 9 Apr 1997 08:36:21 +0000 (08:36 +0000)]
Add in D'Arcy's cash code

pg_proc.h still needs modifying, but this gets it in there so that we can
get around any compiler bugs.  Will try and get the pg_proc.h entries done
up later tonight...

27 years agoFrom: "Martin S. Utesch" <utesch@aut.tu-freiberg.de>
Marc G. Fournier [Wed, 9 Apr 1997 08:31:29 +0000 (08:31 +0000)]
From: "Martin S. Utesch" <utesch@aut.tu-freiberg.de>
Subject: Re: [HACKERS] GEQO and views (rules)

Oke, this was caused by a classic bug :-/
I thougth, root->base_relation_list_ could be
represented as relid string 1-2-3-4- etc.

Instead, in case of views, the count of relids doesn't start with "1" but
maybe 4-5-6- etc . :-(

GEQO patch follows ... views are now all right.

27 years agoGNUmakefile.in - remove backend/utils/Gen_fmgrtab.sh on distclean
Marc G. Fournier [Wed, 9 Apr 1997 08:29:35 +0000 (08:29 +0000)]
GNUmakefile.in - remove backend/utils/Gen_fmgrtab.sh on distclean
varlena.c - part of Thomas' most recent patch

27 years agoNow we have #define _CPU_INDEX_PAGE_WEIGHT_ 0.033 (/* CPU-index-to-page cost
Vadim B. Mikheev [Wed, 9 Apr 1997 02:24:19 +0000 (02:24 +0000)]
Now we have #define _CPU_INDEX_PAGE_WEIGHT_ 0.033 (/* CPU-index-to-page cost
weighting factor */) in addition to
#define _CPU_PAGE_WEIGHT_  0.065 (/* CPU-heap-to-page cost weighting factor
*/).

27 years agogetattnvals(): if attnvals in pg_attribute is 0 then use
Vadim B. Mikheev [Wed, 9 Apr 1997 02:20:32 +0000 (02:20 +0000)]
getattnvals(): if attnvals in pg_attribute is 0 then use
ATTNVALS_SCALE/reltuples (instead of reltuples).

27 years ago1. Enable to have different _CPU_PAGE_WEIGHT_ for heap and index.
Vadim B. Mikheev [Wed, 9 Apr 1997 02:13:41 +0000 (02:13 +0000)]
1. Enable to have different _CPU_PAGE_WEIGHT_ for heap and index.
2. PageWeights are variables now.
3. Fixed using ceil((double)selec*indextuples) as estimation
for expected heap pages: ceil((double)selec*relpages) now.

27 years agoFix (hack) IndexSelectivity():
Vadim B. Mikheev [Wed, 9 Apr 1997 01:52:04 +0000 (01:52 +0000)]
Fix (hack) IndexSelectivity():
use sum(npages)/((nkeys == 1) ? 1 : nkeys + 1) as expected index page
estimation for multi-key quals - instead of sum(npages).
In old code npages for x > 10 and x < 20 is twice as for x > 10 - cool ?

27 years agoSlight mods to explain (or try to) the new regression tests
Marc G. Fournier [Tue, 8 Apr 1997 19:34:58 +0000 (19:34 +0000)]
Slight mods to explain (or try to) the new regression tests

27 years agoFix btabstimecmp ().
Vadim B. Mikheev [Mon, 7 Apr 1997 06:45:41 +0000 (06:45 +0000)]
Fix btabstimecmp ().

27 years agoGet rid of queries.source...its all in the sql directory.
Marc G. Fournier [Sun, 6 Apr 1997 08:53:34 +0000 (08:53 +0000)]
Get rid of queries.source...its all in the sql directory.

regress.sh modified to get rid of queries.sql tests, as they are
performed vis sql/*.sql

27 years agoMore splits and cleanups...
Marc G. Fournier [Sun, 6 Apr 1997 08:29:57 +0000 (08:29 +0000)]
More splits and cleanups...

Its starting to actually take shape and look as expected...

27 years agoMore splits and cleanups...
Marc G. Fournier [Sun, 6 Apr 1997 06:07:13 +0000 (06:07 +0000)]
More splits and cleanups...

27 years agoAdd in support so that build will at least guess which template file
Marc G. Fournier [Sun, 6 Apr 1997 04:43:28 +0000 (04:43 +0000)]
Add in support so that build will at least guess which template file
should be used :)

27 years agoremove create.{source,sql} as they are now down in the 'sql' directory
Marc G. Fournier [Sat, 5 Apr 1997 21:33:26 +0000 (21:33 +0000)]
remove create.{source,sql} as they are now down in the 'sql' directory
partially split

27 years agoChange Postgres95 to PostgreSQL
Marc G. Fournier [Sat, 5 Apr 1997 21:28:46 +0000 (21:28 +0000)]
Change Postgres95 to PostgreSQL

The whole file needs updating, but will work on that after finishing
with the splits

27 years agoMore splits of the regression tests in order to make them more
Marc G. Fournier [Sat, 5 Apr 1997 21:26:00 +0000 (21:26 +0000)]
More splits of the regression tests in order to make them more
user-friendly (and more useful)

27 years agoPurge out tests/expected that are now in sql/expected subdirectories from
Marc G. Fournier [Sat, 5 Apr 1997 11:58:40 +0000 (11:58 +0000)]
Purge out tests/expected that are now in sql/expected subdirectories from
'master' file

Commit mods to regress.sh so that split out tests are run...look forward
to finding out how to do a proper redirect to continue visual cleanup :)

27 years agoAgain, add more tests
Marc G. Fournier [Sat, 5 Apr 1997 11:26:55 +0000 (11:26 +0000)]
Again, add more tests

27 years agoAdd more expected.out results
Marc G. Fournier [Sat, 5 Apr 1997 11:24:54 +0000 (11:24 +0000)]
Add more expected.out results

27 years agoThere are the broken out 'sql' queries from queries.source
Marc G. Fournier [Sat, 5 Apr 1997 11:08:30 +0000 (11:08 +0000)]
There are the broken out 'sql' queries from queries.source

tests allows us to have a 'for...done' loop inside of regress.sh for
both doing the tests, and determining fail/ok results

27 years agoThese are the broken down 'expected.output' files created so far
Marc G. Fournier [Sat, 5 Apr 1997 11:06:04 +0000 (11:06 +0000)]
These are the broken down 'expected.output' files created so far

27 years agoPrint 'Group' as name of Group plan.
Vadim B. Mikheev [Sat, 5 Apr 1997 06:42:32 +0000 (06:42 +0000)]
Print 'Group' as name of Group plan.

27 years agoChanges for GROUP BY func_results:
Vadim B. Mikheev [Sat, 5 Apr 1997 06:39:58 +0000 (06:39 +0000)]
Changes for GROUP BY func_results:
AddGroupAttrToTlist() is not called from anywhere now.

27 years agoChanges for GROUP BY func_results.
Vadim B. Mikheev [Sat, 5 Apr 1997 06:37:37 +0000 (06:37 +0000)]
Changes for GROUP BY func_results.

27 years agoNow we can GROUP BY func_results.
Vadim B. Mikheev [Sat, 5 Apr 1997 06:29:03 +0000 (06:29 +0000)]
Now we can GROUP BY func_results.

27 years agoFix for 'SET var_name TO var_value': var_name already defined.
Vadim B. Mikheev [Sat, 5 Apr 1997 06:25:59 +0000 (06:25 +0000)]
Fix for 'SET var_name TO var_value': var_name already defined.

27 years agoPut resdom into GroupClause (GROUP BY func_results)
Vadim B. Mikheev [Sat, 5 Apr 1997 06:19:22 +0000 (06:19 +0000)]
Put resdom into GroupClause (GROUP BY func_results)

27 years agoCheck for attributeList is NULL in ConstructTupleDescriptor ().
Vadim B. Mikheev [Sat, 5 Apr 1997 03:36:21 +0000 (03:36 +0000)]
Check for attributeList is NULL in ConstructTupleDescriptor ().

Submitted by Raymond Toy.

27 years agoFrom: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Marc G. Fournier [Sat, 5 Apr 1997 02:51:41 +0000 (02:51 +0000)]
From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Subject: [HACKERS] Fix for European dates

This apparently fixes the European date reading problem reported
by several (European) bleeding edge adopters. I tried a few test
cases and it doesn't break the non-EuroDate cases in my test suite.

27 years agoMove YACC and YFLAGS into the template files
Marc G. Fournier [Fri, 4 Apr 1997 11:23:15 +0000 (11:23 +0000)]
Move YACC and YFLAGS into the template files

Clean up the .sample files...comment out all sample entries except for
the localhost one

27 years agoThis commit represents a clean compile with the new templates under
Marc G. Fournier [Fri, 4 Apr 1997 10:43:16 +0000 (10:43 +0000)]
This commit represents a clean compile with the new templates under
FreeBSD

The Makefile(s) have all been cleaned up such that there is a single
LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE.  The Makefile(s)
should be alot more straightforward then they were before...and
consistent

27 years agoGot AROPT setting backwards...correct it
Marc G. Fournier [Fri, 4 Apr 1997 09:02:34 +0000 (09:02 +0000)]
Got AROPT setting backwards...correct it

27 years agoAdd distclean to target listing
Marc G. Fournier [Fri, 4 Apr 1997 09:01:19 +0000 (09:01 +0000)]
Add distclean to target listing

27 years agoAgain, needs float.h
Marc G. Fournier [Fri, 4 Apr 1997 08:55:29 +0000 (08:55 +0000)]
Again, needs float.h

27 years agoneeds float.h for DBL_MIN under FreeBSD
Marc G. Fournier [Fri, 4 Apr 1997 08:53:08 +0000 (08:53 +0000)]
needs float.h for DBL_MIN under FreeBSD

27 years agoRemove some files that were inadvertantly created
Marc G. Fournier [Fri, 4 Apr 1997 08:16:37 +0000 (08:16 +0000)]
Remove some files that were inadvertantly created
Clean up format of linux-elf

27 years agoOne helluva mess.
Marc G. Fournier [Fri, 4 Apr 1997 07:59:48 +0000 (07:59 +0000)]
One helluva mess.

Further extended Makefile.global/build/configure so that we can
have a 'template' file for each OS (and each version of OS, as in BSDi)
which is used as much as possible to generate Makefile.global

Any future ports should look at using the template file as a basis,
before moving over to Makefile.global.

This will most probably break alot of the ports, atho I've tried to
be very neat about it...

27 years agoInstall os.h when we install the other headers...
Marc G. Fournier [Fri, 4 Apr 1997 02:53:14 +0000 (02:53 +0000)]
Install os.h when we install the other headers...

Pointed out by: System Administrator <sysadmin@sba.miami.edu>

27 years agoMore modifications to make building more interactive:
Marc G. Fournier [Thu, 3 Apr 1997 22:16:34 +0000 (22:16 +0000)]
More modifications to make building more interactive:

Allow installer to change DEF_PGPORT
Allow installer to disable HBA

27 years agoRemove code associated with !ACLGROUP_PATCH, and appropriate #ifdef's
Marc G. Fournier [Thu, 3 Apr 1997 21:31:57 +0000 (21:31 +0000)]
Remove code associated with !ACLGROUP_PATCH, and appropriate #ifdef's

27 years agoVarious improvements to reduce questions :)
Marc G. Fournier [Thu, 3 Apr 1997 21:26:36 +0000 (21:26 +0000)]
Various improvements to reduce questions :)

Remove USE_LOCALE from Makefile.global.in
Add USE_LOCALE to build/configure/config.h

Add check for BUILDRUN in configure to make sure that build is run before
configure

27 years agoFrom: "D'Arcy J.M. Cain" <darcy@druid.net>
Marc G. Fournier [Thu, 3 Apr 1997 19:58:11 +0000 (19:58 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] timestamp.c changes

I sent in changes previously and they were rejected because they didn't
follow ANSI spec.  Here is the input part of the changes again.  Even
though it allows more flexibility for inputting different formats, it
is also backwards compatible with the standard version.  I have also
not changed the output format so it will still output the ANSI forms.
Is this acceptable to everyone?