summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added check is new item successfuly inserted to a page or not.Vadim B. Mikheev1997-06-062-17/+29
|
* From: Igor <igor@sba.miami.edu>Marc G. Fournier1997-06-062-22/+35
| | | | | | | | | | | | | | | | | | | | | 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.
* From: "Brian E. Gallew" <geek+@cmu.edu>Marc G. Fournier1997-06-061-0/+1
| | | | Define USE_POSIX_TIME for dgux port
* From: Phil Nelson <phil@cs.wwu.edu>Marc G. Fournier1997-06-061-1/+1
| | | | Subject: [PATCHES] Patches to allow generic NetBSD support
* From: Phil Nelson <phil@cs.wwu.edu>Marc G. Fournier1997-06-062-1/+40
| | | | Subject: [PATCHES] Added support for NetBSD/pc532.
* From: PortSite <info@portsite.nl>Marc G. Fournier1997-06-061-3/+3
| | | | | The GNUmakefile in src/test/regress uses `gmake' for the make program. This should be $(MAKE)
* From: "D'Arcy J.M. Cain" <darcy@druid.net>Marc G. Fournier1997-06-061-1/+5
| | | | | | | | 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.
* From: "D'Arcy J.M. Cain" <darcy@druid.net>Marc G. Fournier1997-06-061-10/+21
| | | | | | | | | | | | | | | | | | 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.
* Fix for large objects and case sensitivity, from Raymond Toy.Bruce Momjian1997-06-052-6/+6
|
* bsdi configure detection fix.Bruce Momjian1997-06-051-3/+3
|
* allpaths.c:find_join_paths(): compute_rel_size() shouldn't be calledVadim B. Mikheev1997-06-052-3/+6
| | | | | | | | | | | | | | 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...
* Definition for RelationForgetRelation().Vadim B. Mikheev1997-06-041-1/+2
|
* heap_destroy() now calls RelationForgetRelation() to really flushVadim B. Mikheev1997-06-041-5/+11
| | | | the relation from the relcache.
* New func RelationForgetRelation();Vadim B. Mikheev1997-06-041-9/+53
| | | | | * RelationFlushRelation + if the relation is local then get rid of * the relation descriptor from the newly created relation list.
* Add bsdi to template detection.Bruce Momjian1997-06-031-0/+4
|
* Use error message syntax consistant with other messages from the sameThomas G. Lockhart1997-06-031-1/+1
| | | | reference platform (Linux/gcc-lib/i686).
* Update to reflect new "drop aggregate" syntax and messages.Thomas G. Lockhart1997-06-031-1/+9
|
* Update to show new path and polygon syntax.Thomas G. Lockhart1997-06-035-1066/+1066
|
* Update path and polygon syntax to new conventions.Thomas G. Lockhart1997-06-034-33/+33
|
* Update to use new path geometric type syntax.Thomas G. Lockhart1997-06-032-5129/+5129
| | | | Order in streets.data changed and is now alphabetical (sorry).
* Modify banner to suggest using PST8PDT time zone rather than full specifierThomas G. Lockhart1997-06-031-3/+3
| | | | string.
* Update to suggest using PST8PDT time zone rather than full time zone string.Thomas G. Lockhart1997-06-031-14/+31
| | | | Include section on error message differences.
* Add upgradepath(), isoldpath(), upgradepoly() and revertpoly() to allowThomas G. Lockhart1997-06-032-5/+19
| | | | upgrading from existing pre-v6.1 path and polygon geometric data types.
* Put parens around macro arguments for safety per D'Arcy's suggestion.Thomas G. Lockhart1997-06-031-3/+3
|
* Add upgradepath(), isoldpath(), upgradepoly() and revertpoly() to allowThomas G. Lockhart1997-06-031-23/+168
| | | | | migration from pre-v6.1 geometric data types. Only allow new input syntax for paths and polygons.
* Use finite() macro if available to check returns from pow() and exp().Thomas G. Lockhart1997-06-031-1/+13
|
* Fix a few DATEDEBUG print statements.Thomas G. Lockhart1997-06-031-3/+3
|
* cc1: warnings being treated as errorsVadim B. Mikheev1997-06-031-2/+2
| | | | | | | | dt.c: In function `timespan2tm': dt.c:1722: warning: unused variable `funit' dt.c:1722: warning: unused variable `iunit' -> got rid of them.
* SET geqo TO 'on' restores _use_geqo_rels_ to GEQO_RELS, notVadim B. Mikheev1997-06-031-2/+2
| | | | | to last specified with 'on' #. What is better ?
* cc1: warnings being treated as errorsVadim B. Mikheev1997-06-031-2/+1
| | | | | | | remove.c: In function `RemoveAggregate': remove.c:413: warning: unused variable `typename' -> got rid of it.
* SET var TO '...'Vadim B. Mikheev1997-06-031-2/+2
| | | | ^^ - added
* cc1: warnings being treated as errorsVadim B. Mikheev1997-06-031-3/+3
| | | | | | | | 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;
* Cleanups.Vadim B. Mikheev1997-06-031-6/+8
|
* Add \dt and \di to psql help.Bruce Momjian1997-06-031-1/+5
|
* New description of currval.Vadim B. Mikheev1997-06-031-8/+6
|
* #define GEQO_RELS 6 (not 7)Vadim B. Mikheev1997-06-031-2/+2
|
* Fix deleted tuples re-incarnation possible when vacuum transactionVadim B. Mikheev1997-06-031-38/+26
| | | | | | | start time equal to tuple->t_tmax. Privent shrinking if there are tuples modifyed by running transactions (it concerns system relations only, currently).
* *** empty log message ***Edmund Mergl1997-06-0210-21/+59
|
* Update man and psqlHelp for new SET GEQO=# option.Bruce Momjian1997-06-022-12/+22
|
* Allow for EOF or \0 as input() return from lex.Bruce Momjian1997-06-021-2/+3
|
* Oracle like currval behaviour.Vadim B. Mikheev1997-06-021-21/+7
|
* #define GEQO_RELS 7Vadim B. Mikheev1997-06-022-5/+5
| | | | moved from geqo.h to internal.h.
* Use GEQO if _use_geqo_ is TRUE and # of relations is >= _use_geqo_rels_Vadim B. Mikheev1997-06-021-2/+3
| | | | (both are settable via SET geqo TO ...).
* SET var TO 'a=b'Vadim B. Mikheev1997-06-021-30/+127
| | | | | ^^ is supported by get_token now. (SET geqo TO 'on=XXX' works now).
* From: Igor <igor@sba.miami.edu>Marc G. Fournier1997-06-021-2/+5
| | | | | | | 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..
* From: Igor <igor@sba.miami.edu>Marc G. Fournier1997-06-021-3/+4
| | | | | | | | | 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.
* From: Igor <igor@sba.miami.edu>Marc G. Fournier1997-06-023-24/+171
| | | | | | | | | | 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...
* Ordering of libraries changed so that -lbsd is *after* -lmMarc G. Fournier1997-06-012-61/+61
| | | | | Fixes a problem Darren reports with AIX, and doesn't seem to break either FreeBSD or Linux(David?)...
* From: Darren King <aixssd!darrenk@abs.net>Marc G. Fournier1997-06-011-14/+34
| | | | | | | | | | | | | 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.
* From: Phil Nelson <phil@cs.wwu.edu>Marc G. Fournier1997-06-011-1/+6
| | | | | | Subject: [PATCHES] Support for NetBSD/sparc The following is a patch to allow BSD44_derived to support NetBSD/sparc.