1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00
Commit Graph

34563 Commits

Author SHA1 Message Date
ff8ce5230d 1. Cleanup (no more FreeFd - unuseful; others).
2. FreeFile() has to do nothing with nfile (# of files opened
   by VFD manager).
1997-05-22 16:51:19 +00:00
12d9a12eda gist.h:
/*
** You can have as many strategies as you please in GiSTs, as
** long as your consistent method can handle them
*/
#define GISTNStrategies                 100
                                        ^^^
- too big number:

strat.h->StrategyEvaluationData->StrategyExpression  expression[12]
                                                                ^^
 - so 12 is real max # of strategies, or StrategyEvaluationIsValid
crashes backend (called if CASSER defined).
1997-05-22 16:09:57 +00:00
737ab85cc0 1. Pass GISTENTRYs to giststate->penaltyFn by pointers, not by vals.
2. Re-initialize keys in gistrescan (if gist used in inner scan).
1997-05-22 16:01:33 +00:00
4800abc7c1 From: Darren King <aixssd!darrenk@abs.net>
To: pgsql-patches@postgreSQL.org
Subject: [PATCHES] DROP AGGREGATE gram.y typo...


Somehow I dropped a comma in the gram.y part (line 129) of my
patch for drop aggregate.  Here's a correct patch for gram.y.

PS. I hope I got the right comma, manually applied :) (scrappy)
1997-05-22 00:24:07 +00:00
5e7c0a0b9a From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] DROP AGGREGATE patch/fix.


Here's a patch that fixes the DROP AGGREGATE command to delete
the desired aggregate for a specific type.
1997-05-22 00:17:24 +00:00
021ccf0b8c Oops, missed the commit on this one by Darren King also...new Makefile.aix 1997-05-22 00:12:03 +00:00
24ed6d604d From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] AIX make patch resubmitted.

Misc patches for AIX from Darren:

1)  New src/makefiles/Makefile.aix  This patch should only be
    applied if the following patch (4) is applied to backend/Makefile!
    Still looking into having configure determine the last line to do
    the shared link.  The 325 code will work for 41, so I put that in
    as the default.  Included a commented out 41 line for completeness.

*and*

4)  Patch the backend Makefile.  I've reviewed this patch with respect to the
    other ports that use MAKE_EXPORTS (svr4 and univel) as closely as I could
    and I don't see where it will break them.  If it does, please let me know
    and I'll rework it somehow.
1997-05-22 00:11:29 +00:00
3e871388b5 From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] Re: [PORTS] AIX 6.1 fixes...

Here are the patches for the two things that wouldn't make it thru the AIX
compiler.  The geo_ops.c change is harmless I believe.  The nbtcompare.c patch
fixes me, but I don't know about any other ports.  Maybe wait on that one
until Vadim decides what to do about the unsigned vs signed chars varlena
issue.
1997-05-22 00:07:30 +00:00
fce2c41b6c Updated pg_dumpall and psql to preserve database owners. 1997-05-21 03:12:23 +00:00
cb8396d9fc Add SRCDIR to lextest 1997-05-21 00:45:24 +00:00
ca56c2a311 Fix for lextest return value. 1997-05-20 21:35:16 +00:00
92ab5dc2b5 Little memmory leak in RelationFlushRelation() in freeing
relation->rd_att (relation' TupleDesc).
1997-05-20 11:41:38 +00:00
b0dfe8e38e Define FREE(x) as pfree. 1997-05-20 11:37:33 +00:00
5f893a1e32 Shouldn't we use palloc instead of malloc ?
Because of
 *      resetpsort  - resets (frees) malloc'd memory for an aborted Xaction
 *
 *      Not implemented yet.
1997-05-20 11:35:50 +00:00
e7f7cf4a1c 1. LocalBufferSync(): set nextFreeLocalBuf to 0 - we're freeing
all local buffers @ xact commit, so accordingly nextFreeLocalBuf
   is first local buffer now.
   It helps to avoid unnecessary local buffer allocations in LocalBufferAlloc()
   latter ("memmory leaks" in 'order by').
2. ResetLocalBufferPool() lost allocated local buffers:

   memset(LocalBufferDescriptors, 0, sizeof(BufferDesc) * NLocBuffer);

   (local buffers leak @ xact aborts).
1997-05-20 11:30:32 +00:00
4a8c3dddc3 Consider right-sided plans if _use_right_sided_plans_ is true. 1997-05-20 10:37:26 +00:00
c4ab256383 New VAR r_plans added to enable turn ON/OFF
using right-sided plans.
1997-05-20 10:31:42 +00:00
0f67fb46f6 Initialize internal keys if rtree used in inner scan. 1997-05-20 10:29:30 +00:00
a1157deb57 Added fcvt() prot for bsdi.
Made PQsetdb() and PQfnumber() case-insensitive.
Removed attempt to set table ownership via pg_dumpall.
1997-05-20 03:39:02 +00:00
9860926148 From: Darren King <aixssd!darrenk@abs.net>
Subject: [PATCHES] AIX 6.2 make patch.

New template files to replace the old AIX template
1997-05-20 03:00:17 +00:00
8073af5267 Remove create_database interactive prohibition from manual. 1997-05-19 14:23:08 +00:00
b1ae7aac93 Add Makefile.global to lextest makefile. 1997-05-19 14:19:13 +00:00
65019fcf3d Multi-column indices creation is now supported in normal way
(CREATE INDEX ...)
1997-05-19 04:31:18 +00:00
6ea80b470b From: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>
Minor patches to geo_ops.c to clean up compile under AIX 4.1.3
1997-05-19 03:49:39 +00:00
500b17eadf These two files got reversed somehow... -K PIC is a cc'ism and -fPIC is a
gcc'ism
1997-05-19 03:21:55 +00:00
33a629cfef added const declaration in form() E.Mergl 1997-05-17 16:25:57 +00:00
0c67d28a08 added const declaration E.Mergl 1997-05-17 16:23:06 +00:00
377cd2ea32 Add comments to assist with installation. 1997-05-17 15:17:30 +00:00
0b055d3145 Linux-specific (RedHat variant) postgres system startup routine.
Initial version.
1997-05-17 15:08:32 +00:00
b072cd4e97 Add information on regression testing and Linux ports.
Fix typos in TZ setting for regression testing and in gmake redirection.
1997-05-17 14:26:30 +00:00
0c3b6e670a Initial 64-bit integer package. 1997-05-17 14:24:09 +00:00
5bc1024225 Remove troublesome type coersions from the char8 return statements.
Noted in trying to port to AIX.
1997-05-17 06:20:34 +00:00
99643abec7 Spiff up description of the regression tests and outcomes. 1997-05-17 06:17:45 +00:00
02233addcc Include information for reset, set, and show commands. 1997-05-17 06:16:34 +00:00
e454d8a116 From: David Friend <dfriend@atlsci.atlsci.com>
Add an entry for the Sparc/Linux port in .similar
1997-05-17 03:02:04 +00:00
ab5910a766 From: David Friend <dfriend@atlsci.atlsci.com>
Here are the latest changes to the INSTALL instructions.

The main changes are:
  - Step 5, on flex
  - Steps 18 and 19, on regression tests
  - Step 22 c) on starting postmaster on bootup on FreeBSD
  - Added porting notes for SPARC/Linux at end.

If there is time, Thomas should review step 19.
1997-05-17 03:00:24 +00:00
51e0fe5c88 Improve informational messages for "show" command responses. 1997-05-16 07:24:13 +00:00
f8d4b3cf40 Fix expected output for datetime and abstime to/from date conversions.
This results from improvements in datetime.c which ensures that the
 conversions are done in local time rather than GMT.
1997-05-16 07:22:28 +00:00
e35b759fed Fix datetime and abstime conversions to and from date.
Bring optional new-storage date and time up to date and test.
This new storage format should fix the "Sparc gcc -O2 bug".
(Enable new code with USE_NEW_DATE and USE_NEW_TIME in dt.h)
1997-05-16 07:19:50 +00:00
07f01fc274 Add documentation for reset, set, and show, and cross-reference in built-in. 1997-05-16 07:13:54 +00:00
d7a85cb2c9 Modify lextest and GNUmakefile so that if the test does fail, the
make doesn't proceed
1997-05-16 02:00:03 +00:00
718adf8bf7 Have Make process exit if lextest fails 1997-05-16 01:09:39 +00:00
cc349d2c87 From: Robert E. Bruccoleri <bruc@bms.com>
Fixes:

	Shared objects are not linked correctly
1997-05-15 22:55:35 +00:00
e56f1d60a5 From: David Friend <dfriend@atlsci.atlsci.com>
Subject: [PATCHES] Patch for INSTALL

The following patch makes a number of modifications to file INSTALL.
Among other things, it restores some platform specific notes I deleted.
It also no longer requires a separate compile for the regression tests.

Please note that this patch already incorporates the patch Hal Snyder
submitted on Monday.  Do not apply Hal's patch.
1997-05-15 22:16:45 +00:00
63cdcd2352 More TODO/HISTORY updates 1997-05-14 21:56:13 +00:00
d4c0bfd65e UPdate TODO and HIstory for new release. 1997-05-14 20:18:53 +00:00
2fc04874a6 Allow pg_dumpall to preserve database ownership. 1997-05-14 19:49:34 +00:00
029873a109 Remove README.flex and make lextest point to INSTALL. 1997-05-14 17:12:30 +00:00
bb50eeb740 lextest Makefile cleanup 1997-05-14 04:46:47 +00:00
9fd868d16a Rename new float and int conversion routines to avoid conflicts with
system calls on AIX (and probably other machines too).
1997-05-14 04:35:10 +00:00