summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-06-02From: Igor <igor@sba.miami.edu>Marc G. Fournier
Subject: [PATCHES] Another destroydb patch This is a patch to my previous destroydb patch cause some people wanted slightly different behavior. After this patch is applied, destroydb will destroy a database as usual, but if added -i flag (which could be aliased like rm -i) would ask for confirmation.
1997-06-02From: Igor <igor@sba.miami.edu>Marc G. Fournier
Subject: [PATCHES] pg_dump memory leak patch This patch fixes a HUGE memory leak problem in pg_dump. Pretty much anything that was allocated was never freed and Purify reported about 40% possible memory leak and 6% actual leak. I added functions to clear out all the allocated structures. After the patch Purify returns 0 for number of bytes leaked...
1997-06-01Ordering of libraries changed so that -lbsd is *after* -lmMarc G. Fournier
Fixes a problem Darren reports with AIX, and doesn't seem to break either FreeBSD or Linux(David?)...
1997-06-01From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
Subject: [PATCHES] psql - \dt,\di commands. I sent this a couple of months ago in re a request by Maxim Kozin, but I had the patch reversed, creating some confusion over applying it. Here's a more complete version. Adds \dt to list only tables/views and \di to list only indicies. \d will still work as before.
1997-06-01From: Phil Nelson <phil@cs.wwu.edu>Marc G. Fournier
Subject: [PATCHES] Support for NetBSD/sparc The following is a patch to allow BSD44_derived to support NetBSD/sparc.
1997-06-01From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
Subject: [PATCHES] aix.h needs POSIX...
1997-06-01From: Robert Bruccoleri <bruc@bms.com>Marc G. Fournier
One more Irix related patch for Dynamic Linking
1997-06-01From: Igor <igor@sba.miami.edu>Marc G. Fournier
Subject: [PATCHES] destroydb patch I am including a patch for destroydb to ask for confirmation before deleting databases (after I accidentally deleted mine)...destroydb -y would force delete without any confirmation.
1997-06-01From: Igor <igor@sba.miami.edu>Marc G. Fournier
Subject: [PATCHES] memory leak patches in libpq and psql A couple of small memory leak patches (detected with Purify) primarily in libpq. * Fixed (NULL) border problem in psql (run psql, do \m, then select something from a table...row separators will be nulls) * Fixed memory leak with the abovementioned border not being freed properly. * Fixed memory leak in freePGconn() not freeing conn->port * Fixed up PQclear() to free parts of PGresult only if these parts are not null. * Fixed a decent memory leak that occured after executing every command in psql. PGresult *results was not freed most of the time. There is still a leak being detected (2 bytes) in readline functions, but I think this is old readline library. I will install new one and test it.
1997-06-01Added \n to error message.Bruce Momjian
1997-06-01Add R_PLANS to psql help, and SET cleanup.Bruce Momjian
1997-06-01DROP agg psql help change from Darren.Bruce Momjian
1997-06-01SET R_PLANS added to manual page.Bruce Momjian
1997-06-01Put back old lines.Bruce Momjian
1997-06-01Add bsdi 3.0 to configure.Bruce Momjian
1997-06-01Cleanup for AIX from Darren.Bruce Momjian
1997-06-01Escape newline in select output, from A. Duursma.Bruce Momjian
1997-06-01Enable GEQO for more than six tables, from Martin.Bruce Momjian
1997-06-01Changed 1943 to 1947 to fix, other cleanups.Bruce Momjian
1997-05-31Fix for SELECT * INTO TABLE for char(), varchar() fields.Bruce Momjian
1997-05-31If there is no table in RangeTable for colname thenVadim B. Mikheev
elog (WARN, "attribute %s not found", colname);
1997-05-31If we have to split leaf page in the chain of duplicatesVadim B. Mikheev
then we try to look at our right sibling first, but not farther, as it was in yesterday fix.
1997-05-30Added: new BTP_CHAIN flag (if hikey == firstkey then it's notVadim B. Mikheev
last page in chain of duplicates).
1997-05-30Fix duplicates handling.Vadim B. Mikheev
1997-05-30Clean up support for USE_POSIX_TIME, ! HAVE_INT_TIMEZONE machines.Thomas G. Lockhart
Remove references to modf() which is buggy on some platforms (Sparc/Linux).
1997-05-26Ensure double alignment for time and arrays of circles.Thomas G. Lockhart
1997-05-26From: David Friend <dfriend@atlsci.atlsci.com>Marc G. Fournier
Subject: [PATCHES] pqcomprim.c patch This is the patch by Robert Bruccoleri to fix the endian problem. (Actually, it's the reverse of his patch. He must have gotten the order wrong.)
1997-05-25-m <arg> -M weren't setup properly in getopts()...Marc G. Fournier
These are undocumented in the man pages though...should they be removed? Reported by: "A. Duursma" <it@portsite.nl>
1997-05-24Fix core dump on \c.Bruce Momjian
1997-05-24Fix \c option after breaking it.Bruce Momjian
1997-05-23Clean up redundant tests for valid pointers in geometric types.Thomas G. Lockhart
Fix up decoder field masks for timespan and reltime.
1997-05-23Enable new date and time definitions to allow Solaris and Irix -O2 compilation.Thomas G. Lockhart
Move date and time field type labels to less than 32 to allow use as masks.
1997-05-23AllocateFile():Vadim B. Mikheev
fdleft = pg_nofile() - allocatedFiles - nfile; looks more realistic, but too noisy - fdleft = pg_nofile() - allocatedFiles; restored.
1997-05-23Only free memory if environment value is replaced.Bruce Momjian
1997-05-23Comment on fix added.Bruce Momjian
1997-05-22Preserve putenv() memory in psql \connect user fix.Bruce Momjian
1997-05-22Fix backslash commands broken when \connect user added.Bruce Momjian
1997-05-22RelationPurgeLocalRelation():Vadim B. Mikheev
/* * RelationFlushRelation () below will flush relation information * from the cache. We must call smgrclose to flush relation * information from SMGR & FMGR, too. We assume that for temp * relations smgrunlink is already called by heap_destroyr * and we skip smgrclose for them. - vadim 05/22/97 */ smgrclose(reln->rd_rel->relsmgr, reln); - it avoids memory leaks in SMGR & VFD. RelationFlushRelation(): there is no more call FileInvalidate(RelationGetSystemPort(relation)); - invalid (FileInvalidate() expects File, not SMGR' fd) - unuseful anyway.
1997-05-221. Fix md memory leak:Vadim B. Mikheev
mdunlink() and mdclose() (too !!!) now free MdfdVec for relation and add it to free list, so it may be re-used for another relation later. 2. Fix VFD-manager memory leak (found by Massimo ... and me): mdunlink() has to call FileUnlink() to free allocation for fileName and add the Vfd slot to the free list.
1997-05-221. Cleanup (no more FreeFd - unuseful; others).Vadim B. Mikheev
2. FreeFile() has to do nothing with nfile (# of files opened by VFD manager).
1997-05-22gist.h:Vadim B. Mikheev
/* ** 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-221. Pass GISTENTRYs to giststate->penaltyFn by pointers, not by vals.Vadim B. Mikheev
2. Re-initialize keys in gistrescan (if gist used in inner scan).
1997-05-22From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
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-22From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
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-22Oops, missed the commit on this one by Darren King also...new Makefile.aixMarc G. Fournier
1997-05-22From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
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-22From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier
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-21Updated pg_dumpall and psql to preserve database owners.Bruce Momjian
1997-05-21Add SRCDIR to lextestBruce Momjian
1997-05-20Fix for lextest return value.Bruce Momjian