OSDN Git Service
Marc G. Fournier [Mon, 28 Apr 1997 16:15:13 +0000 (16:15 +0000)]
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] Inputting money
I notice that I have to put single quotes around money amounts if there
is a decimal point in the value. I appears to be happening because there
is something changing things like "123.45" to "123.450000" and the code
has a problem with that. There may be a better way to fix this but here
is a simple change to cash.c that lets it accept trailing zeroes.
Thomas G. Lockhart [Sun, 27 Apr 1997 19:28:23 +0000 (19:28 +0000)]
Provide template for the misc tests which contain path names.
Thomas G. Lockhart [Sun, 27 Apr 1997 19:27:34 +0000 (19:27 +0000)]
Fix path name templates.
Thomas G. Lockhart [Sun, 27 Apr 1997 19:26:24 +0000 (19:26 +0000)]
Update SQL query results for lists of operators and functions.
Add a little info on count().
Thomas G. Lockhart [Sun, 27 Apr 1997 19:24:16 +0000 (19:24 +0000)]
Change mixed-case routines to lower-case for case-insensitive SQL.
Add mixed-case #define synonyms to avoid changing more source code.
Add comparison operators for boolean.
Add aggregate min() and max() for datetime and timespan.
Thomas G. Lockhart [Sun, 27 Apr 1997 19:22:45 +0000 (19:22 +0000)]
Change mixed-case routines to lower-case in pg_proc.h
Add comparison operators for boolean.
Add aggregate min() and max() for datetime and timespan.
Fix duplicate OID in pg_proc.h
Thomas G. Lockhart [Sun, 27 Apr 1997 19:21:06 +0000 (19:21 +0000)]
Change mixed-case routines to lower-case if referenced in pg_proc.h
Thomas G. Lockhart [Sun, 27 Apr 1997 19:20:16 +0000 (19:20 +0000)]
Change mixed-case routines to lower-case if referenced in pg_proc.h
Add comparison operators to boolean and smaller/larger operators to datetime
and timespan. Fix int4 overflow math problem in timespan comparison operators.
Thomas G. Lockhart [Sun, 27 Apr 1997 19:16:44 +0000 (19:16 +0000)]
Modify references to function manager to use lower-case calls.
Marc G. Fournier [Sun, 27 Apr 1997 18:55:37 +0000 (18:55 +0000)]
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
Subject: [PATCHES] to make regress.sh shell friendly to echo.
Hi,
I needed to make the following change to regress.sh to make it more
shell friendly.
The Solaris /bin/sh, and others, use \c to supress the newline.
Marc G. Fournier [Sun, 27 Apr 1997 18:13:54 +0000 (18:13 +0000)]
There, I'll leave this alone until Thomas catchs up *grin*
Marc G. Fournier [Sun, 27 Apr 1997 17:40:13 +0000 (17:40 +0000)]
split out a bunch more tests from misc.source so that the tester knows
what's being tested :)
Marc G. Fournier [Sun, 27 Apr 1997 15:45:26 +0000 (15:45 +0000)]
Change Postgres95 to PostgreSQL
Pointed out by: Christopher Hicks <chicks@chicks.net>
Marc G. Fournier [Sun, 27 Apr 1997 07:45:49 +0000 (07:45 +0000)]
Alot of regression test fixes, mainly to compensate for moving
the DROP TABLE calls from the destroy.sql file to the 'types' .sql files,
so that they are self-contained
btree_index, hash_index and misc all fail as there seems to be missing
a 'misc.out' expected file...have asked Thomas for one...
Marc G. Fournier [Sun, 27 Apr 1997 04:50:06 +0000 (04:50 +0000)]
Get first four tests to pass:
=============== destroying old regression database... =================
=============== creating new regression database... =================
=============== running regression queries... =================
create_function_1 .. ok
create_type .. ok
create_table .. ok
create_function_2 .. ok
Marc G. Fournier [Sun, 27 Apr 1997 04:36:10 +0000 (04:36 +0000)]
Make these self-contained tests...they are testing types, so the tables
that are created should only exist as long as the test requires them...
things are just toooooo spread around
Marc G. Fournier [Sun, 27 Apr 1997 04:04:31 +0000 (04:04 +0000)]
Trying to continue breaking down the large files into smaller tests so that
debugging is a little (well, alot!) easier
Marc G. Fournier [Sun, 27 Apr 1997 04:03:50 +0000 (04:03 +0000)]
clean up misc.source and create *individual test* files ... trying to move
away from one big massive confusing file
Marc G. Fournier [Sun, 27 Apr 1997 03:57:34 +0000 (03:57 +0000)]
*shrug* I don't know anymore...
Marc G. Fournier [Sun, 27 Apr 1997 03:56:23 +0000 (03:56 +0000)]
*shrug*
Marc G. Fournier [Sun, 27 Apr 1997 02:58:38 +0000 (02:58 +0000)]
Massive regression test patches from Thomas *woo hoo!*
Marc G. Fournier [Sat, 26 Apr 1997 18:43:40 +0000 (18:43 +0000)]
A few changes to reflect things properly suggested by David
Marc G. Fournier [Sat, 26 Apr 1997 13:36:38 +0000 (13:36 +0000)]
Reverse check for TR so that trbsd gets checked for first
Pointed out by: adrian@waltham.harvard.net
Marc G. Fournier [Sat, 26 Apr 1997 06:31:55 +0000 (06:31 +0000)]
Add a results directory and a Makefile so that 'make clean' cleans it out
Marc G. Fournier [Sat, 26 Apr 1997 06:13:31 +0000 (06:13 +0000)]
Missed an -I directive
Marc G. Fournier [Sat, 26 Apr 1997 05:50:25 +0000 (05:50 +0000)]
More misc patches from Thomas for regression tests and linux templates
Marc G. Fournier [Sat, 26 Apr 1997 05:45:48 +0000 (05:45 +0000)]
Clean out/up some files that are causing me great headaches since I didn't
do this completely last time and Thomas is creating patches on files that
aren't supposed to exist :(
Marc G. Fournier [Sat, 26 Apr 1997 05:07:12 +0000 (05:07 +0000)]
clean up the bin/*/Makefiles...up version.h to v6.1 instead of v6.0
Remove bin/Makefile.global since it wasn't actually *doing* anything
that Makefile.global hadn't already done
Marc G. Fournier [Sat, 26 Apr 1997 04:40:00 +0000 (04:40 +0000)]
Fix for bootstrap.c problem (F_* values missing from fmgr.h)
Marc G. Fournier [Fri, 25 Apr 1997 18:40:50 +0000 (18:40 +0000)]
More timezone patches by Thomas:
Here are patches which should help fix timezone problems in the
datetime and abstime code. Also, I repatched varlena.c to add in
some comments and a little error checking on top of Vadim's earlier
repairs. There are slight mods to the circle data type to have the
distance operator between circles measure the distance between
closest points rather than between centers.
Marc G. Fournier [Thu, 24 Apr 1997 20:30:41 +0000 (20:30 +0000)]
From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
Subject: [PATCHES] Patches for compiling 6.1 on Digital Unix 3.2c
Attached to this message are the patches I needed to compile 6.1 cleanly
under Digital Unix 3.2c with DEC cc.
I hope these are the last ones. At least, the number of files needing a
patch has decreased noticeably since I sent my previous patches. Nice work
:-)
One of the patches is a bug fix, but I'm including it here anyway.
With these patches applied, the beast seems to work properly. However,
I've done only some preliminary tests. More on this later (but hopefully
before the April 30 deadline... :-)
Marc G. Fournier [Thu, 24 Apr 1997 20:27:46 +0000 (20:27 +0000)]
Fixes:
postgres backend processes end up as so called zombies. It seems that
only Linux a.out (libc.4.6.27) systems are affected.
By:
Wolfgang Roth <roth@statistik.uni-mannheim.de>
Marc G. Fournier [Thu, 24 Apr 1997 20:02:02 +0000 (20:02 +0000)]
Various bug fixes based on a bug report submitted by
Doug Neuhauser <doug@seismo.berkeley.edu> on April 15th
Vadim B. Mikheev [Thu, 24 Apr 1997 16:21:46 +0000 (16:21 +0000)]
Added comments about FASTBUILD.
Added #define BTREE_VERSION_1.
Vadim B. Mikheev [Thu, 24 Apr 1997 16:07:14 +0000 (16:07 +0000)]
* Hack for non-functional btree npages estimation:
* npages = index_pages * selectivity_of_1st_attr_clause(s)
Vadim B. Mikheev [Thu, 24 Apr 1997 16:04:23 +0000 (16:04 +0000)]
Have to copyObject((void*)clauseinfo) for a relation'
joininfo (in add_join_clause_info_to_rels()) : clause may be
commutted later.
Vadim B. Mikheev [Thu, 24 Apr 1997 15:59:58 +0000 (15:59 +0000)]
Bug (yet unfixed but not fatal) found: Re-moving index clauses from the
nestloop's join clauses doesn't work in some cases:
* 1. fix_indxqual_references may change varattno-s in
* inner_indxqual;
* 2. clauses may be commuted
Vadim B. Mikheev [Thu, 24 Apr 1997 15:54:52 +0000 (15:54 +0000)]
Save Var' order in index_outerjoin_references().
Vadim B. Mikheev [Thu, 24 Apr 1997 15:49:30 +0000 (15:49 +0000)]
Add innercost to result in cost_hashjoin.
Vadim B. Mikheev [Thu, 24 Apr 1997 15:46:44 +0000 (15:46 +0000)]
_bt_endpoint fixed: set currentItemData to Invalid if no result.
Vadim B. Mikheev [Thu, 24 Apr 1997 15:41:37 +0000 (15:41 +0000)]
Enable to set _cpu_page_wight_ & _cpu_index_page_wight_ via
SET cost_heap(cost_index) TO ...
Vadim B. Mikheev [Thu, 24 Apr 1997 15:38:34 +0000 (15:38 +0000)]
#define _CPU_PAGE_WEIGHT_: 0.065 --> 0.033
#define _CPU_INDEX_PAGE_WEIGHT_: 0.033 --> 0.017
Marc G. Fournier [Thu, 24 Apr 1997 14:30:09 +0000 (14:30 +0000)]
Set SRCDIR=..
Marc G. Fournier [Thu, 24 Apr 1997 14:14:28 +0000 (14:14 +0000)]
Remove chunk from regression tests about regress.out vs expected.out...the
tests now let you know if it is ok/failed :)
Marc G. Fournier [Thu, 24 Apr 1997 13:25:07 +0000 (13:25 +0000)]
-Wno-error should only be enabled for gcc compilers, it seems
Marc G. Fournier [Thu, 24 Apr 1997 03:39:09 +0000 (03:39 +0000)]
Somewhat backwards #ifdef's for HAVE_GETRUSAGE
Marc G. Fournier [Thu, 24 Apr 1997 02:35:39 +0000 (02:35 +0000)]
Various patches not commited, plus a linux/sparc patch from
Satoshi Ishikawa <power@sekine.densi.gifu-u.ac.jp>
Marc G. Fournier [Wed, 23 Apr 1997 18:02:43 +0000 (18:02 +0000)]
Change HAVE_RUSAGE to HAVE_GETRUSAGE, which is the more appropriate
Vadim B. Mikheev [Wed, 23 Apr 1997 06:41:56 +0000 (06:41 +0000)]
Vacuum help changed (ANALYZE).
Vadim B. Mikheev [Wed, 23 Apr 1997 06:28:48 +0000 (06:28 +0000)]
Analyze data only if specified and specified attrs only.
Vadim B. Mikheev [Wed, 23 Apr 1997 06:09:36 +0000 (06:09 +0000)]
1. SHOW/RESET var fixed.
2. vacuum() call changed (ANALYZE).
Vadim B. Mikheev [Wed, 23 Apr 1997 06:04:46 +0000 (06:04 +0000)]
1. SHOW/RESET var fixed.
2. New VACUUM syntax (ANALYZE ...).
Vadim B. Mikheev [Wed, 23 Apr 1997 05:58:06 +0000 (05:58 +0000)]
1. VariableShowStmt and VariableResetStmt added.
2. VacuumStmt changed (for VACUUM ANALYZE...).
Vadim B. Mikheev [Wed, 23 Apr 1997 05:52:32 +0000 (05:52 +0000)]
There were too many comments.
Marc G. Fournier [Wed, 23 Apr 1997 03:18:27 +0000 (03:18 +0000)]
To: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
Subject: Re: [PATCHES] SET DateStyle patches
On Tue, 22 Apr 1997, Thomas Lockhart wrote:
> Some more patches! These (try to) finish implementing SET variable TO value
> for "DateStyle" (changed the name from simply "date" to be more descriptive).
> This is based on code from Martin and Bruce (?), which was easy to modify.
> The syntax is
>
> SET DateStyle TO 'iso'
> SET DateStyle TO 'postgres'
> SET DateStyle TO 'sql'
> SET DateStyle TO 'european'
> SET DateStyle TO 'noneuropean'
> SET DateStyle TO 'us' (same as "noneuropean")
> SET DateStyle TO 'default' (current same as "postgres,us")
>
> ("european" is just compared for the first 4 characters, and "noneuropean"
> is compared for the first 7 to allow less typing).
>
> Multiple arguments are allowed, so SET datestyle TO 'sql,euro' is valid.
>
> My mods also try to implement "SHOW variable" and "RESET variable", but
> that part just core dumps at the moment. I would guess that my errors
> are obvious to someone who knows what they are doing with the parser stuff,
> so if someone (Bruce and/or Martin??) could have it do the right thing
> we will have a more complete set of what we need.
>
> Also, I would like to have a floating point precision global variable to
> implement "SET precision TO 10" and perhaps "SET precision TO 10,2" for
> float8 and float4, but I don't know how to do that for integer types rather
> than strings. If someone is fixing the SHOW and RESET code, perhaps they can
> add some hooks for me to do the floats while they are at it.
>
> I've left some remnants of variable structures in the source code which
> I did not use in the interests of getting something working for v6.1.
> We'll have time to clean things up for the next release...
Marc G. Fournier [Tue, 22 Apr 1997 17:55:20 +0000 (17:55 +0000)]
From: System Administrator <igor@sba.miami.edu>
Subject: [PORTS] Configure for DEC-Alpha
Configure script properly detects alpha-dec-osf4.0 machine, but
sets a default GENERIC template for it. I modified tempplate/.similar to
add alpha-dec-osf4.0=alpha. Then configure properly set the template to
alpha.
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>
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
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.
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.
Vadim B. Mikheev [Tue, 22 Apr 1997 03:32:38 +0000 (03:32 +0000)]
Fix for Hash and arrays
Marc G. Fournier [Mon, 21 Apr 1997 18:26:27 +0000 (18:26 +0000)]
Document --enable-cassert/--disable-cassert configure options
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.
Vadim B. Mikheev [Mon, 21 Apr 1997 04:28:59 +0000 (04:28 +0000)]
#include <string.h>
Vadim B. Mikheev [Mon, 21 Apr 1997 04:26:47 +0000 (04:26 +0000)]
Fix for -Wno-error
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>
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>
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
Vadim B. Mikheev [Fri, 18 Apr 1997 08:57:39 +0000 (08:57 +0000)]
Fix for -Wno-error
Vadim B. Mikheev [Fri, 18 Apr 1997 08:30:08 +0000 (08:30 +0000)]
CommitInfoNeedsSave[buffer - 1] = 0
added to WriteBuffer(), FlushBuffer(), WriteNoReleaseBuffer().
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.
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.
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
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.
Vadim B. Mikheev [Fri, 18 Apr 1997 02:48:05 +0000 (02:48 +0000)]
Fix bttextcmp() to use unsigned char*.
#ifdef USE_LOCALE added.
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.)
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.
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 :)
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
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>.
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
Vadim B. Mikheev [Wed, 16 Apr 1997 06:29:19 +0000 (06:29 +0000)]
connectDB(): setsockopt (..., TCP_NODELAY, ...) added.
Vadim B. Mikheev [Wed, 16 Apr 1997 06:25:13 +0000 (06:25 +0000)]
StreamConnection(): setsockopt (..., TCP_NODELAY, ...) added.
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.
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.
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>
Marc G. Fournier [Tue, 15 Apr 1997 18:36:45 +0000 (18:36 +0000)]
Oops, don't forget to remove the CASSERT=true line
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
Marc G. Fournier [Tue, 15 Apr 1997 18:18:45 +0000 (18:18 +0000)]
Patch for Solaris 2.5 from: adrian@waltham.harvard.net
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>
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
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.
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>
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
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?)
Marc G. Fournier [Sat, 12 Apr 1997 13:56:44 +0000 (13:56 +0000)]
Fixes for [] escaping pointed out by Adrian
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*)
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
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
Marc G. Fournier [Sat, 12 Apr 1997 10:21:55 +0000 (10:21 +0000)]
More more of the include files under the include directory