| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Define USE_POSIX_TIME for dgux port
|
| |
|
|
| |
Subject: [PATCHES] Patches to allow generic NetBSD support
|
| |
|
|
| |
Subject: [PATCHES] Added support for NetBSD/pc532.
|
| |
|
|
|
| |
The GNUmakefile in src/test/regress uses `gmake' for
the make program. This should be $(MAKE)
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| | |
|
| |
|
|
| |
the relation from the relcache.
|
| |
|
|
|
| |
* RelationFlushRelation + if the relation is local then get rid of
* the relation descriptor from the newly created relation list.
|
| | |
|
| |
|
|
| |
reference platform (Linux/gcc-lib/i686).
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Order in streets.data changed and is now alphabetical (sorry).
|
| |
|
|
| |
string.
|
| |
|
|
| |
Include section on error message differences.
|
| |
|
|
| |
upgrading from existing pre-v6.1 path and polygon geometric data types.
|
| | |
|
| |
|
|
|
| |
migration from pre-v6.1 geometric data types.
Only allow new input syntax for paths and polygons.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
dt.c: In function `timespan2tm':
dt.c:1722: warning: unused variable `funit'
dt.c:1722: warning: unused variable `iunit'
-> got rid of them.
|
| |
|
|
|
| |
to last specified with 'on' #.
What is better ?
|
| |
|
|
|
|
|
| |
remove.c: In function `RemoveAggregate':
remove.c:413: warning: unused variable `typename'
-> got rid of it.
|
| |
|
|
| |
^^ - added
|
| |
|
|
|
|
|
|
| |
psql.c: In function `HandleSlashCmds':
psql.c:1141: warning: `optarg3' might be used uninitialized in this function
psql.c:1157: warning: `optarg3' might be used uninitialized in this function
-> char *optarg3 = NULL;
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
start time equal to tuple->t_tmax.
Privent shrinking if there are tuples modifyed by running transactions
(it concerns system relations only, currently).
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
moved from geqo.h to internal.h.
|
| |
|
|
| |
(both are settable via SET geqo TO ...).
|
| |
|
|
|
| |
^^ is supported by get_token now.
(SET geqo TO 'on=XXX' works now).
|
| |
|
|
|
|
|
| |
Subject: [PATCHES] patch for a memory leak
Well...I screwed up and posted the wrong patch for psql originally..
The patch for that patch wposted below will fix it..
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
| |
Fixes a problem Darren reports with AIX, and doesn't seem to break either
FreeBSD or Linux(David?)...
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Subject: [PATCHES] Support for NetBSD/sparc
The following is a patch to allow BSD44_derived to support NetBSD/sparc.
|