Commit Graph

  • 83feff3ee7 patch for null table in getPrimaryKeys Dave Cramer 2002-12-20 13:15:53 +00:00
  • 96bce9f689 Update 7.3.1 to give proper attribution to pg_dump item. Bruce Momjian 2002-12-20 00:24:29 +00:00
  • ff494e8851 Update 7.3.1 to give proper attribution to pg_dump item. Bruce Momjian 2002-12-20 00:24:00 +00:00
  • 6d6c9fd9a4 Cause planner to include costs of InitPlans in startup cost of parent plan node. Not sure why this oversight has persisted so long ... Tom Lane 2002-12-19 23:25:01 +00:00
  • abf6f48319 pgindent fe-connect.c --- done to make IPv6 patch easier to apply. Bruce Momjian 2002-12-19 19:30:24 +00:00
  • 9e04de0e8d Fix release notes and installation instructions for 7.3.1 release. Peter Eisentraut 2002-12-18 23:38:08 +00:00
  • e77443fde0 MVCC doc improvements: Bruce Momjian 2002-12-18 20:40:24 +00:00
  • c4a389599c Update Russian FAQ. Update all FAQ's for 7.3.X branch. Bruce Momjian 2002-12-18 20:39:31 +00:00
  • 088f3ccefd Update Russian FAQ. Update all FAQ's for 7.3.X branch. Bruce Momjian 2002-12-18 20:38:48 +00:00
  • 9c8ace7f0e Update RELEASE checklist. Bruce Momjian 2002-12-18 20:07:43 +00:00
  • 2d663bbf0e Update RELEASE checklist. Bruce Momjian 2002-12-18 20:07:32 +00:00
  • de34661de1 Update INSTALL file for 7.3.1. Bruce Momjian 2002-12-18 20:07:02 +00:00
  • 88e816964b Add some items to development-branch release notes. Tom Lane 2002-12-18 19:01:25 +00:00
  • d2f0761b82 From the SSL_CTX_new man page: PostgreSQL Daemon 2002-12-18 13:20:03 +00:00
  • 750a0e676e From the SSL_CTX_new man page: PostgreSQL Daemon 2002-12-18 13:15:15 +00:00
  • 46a4351dcd *** empty log message *** Bruce Momjian 2002-12-18 04:56:30 +00:00
  • 29ef2a4a2d incorporates latest changes in the English original. Bruce Momjian 2002-12-18 04:46:17 +00:00
  • bb501dcaaf Update FAQ for 7.3.1. Bruce Momjian 2002-12-18 04:41:06 +00:00
  • 34a719b1c8 Stamp 7.3.1 Bruce Momjian 2002-12-18 04:39:48 +00:00
  • 148e7e06bf Stamp 7.3.1. Bruce Momjian 2002-12-18 02:07:30 +00:00
  • d1e2d0345f Stamp 7.3.1. Bruce Momjian 2002-12-18 02:06:23 +00:00
  • 350260795a Update EvalPlanQual() to work with new executor memory management method. It doesn't leak memory anymore ... Tom Lane 2002-12-18 00:14:47 +00:00
  • 689659764f Prevent core dump when ExecMarkPos is called before any tuples have been retrieved. This cannot happen in ordinary execution, but it can happen under EvalPlanQual(). Tom Lane 2002-12-18 00:14:24 +00:00
  • 49077e87af Improvement to CREATE TRIGGER and catalog documentation. Bruce Momjian 2002-12-17 17:41:30 +00:00
  • e5bdd8d6f8 Skip unnecessary plan-copying now that plan trees are read-only in the executor. Tom Lane 2002-12-17 15:51:59 +00:00
  • 81ca457da8 Fix typo. Tom Lane 2002-12-17 15:45:01 +00:00
  • e932a724a4 To suppress memory leakage in long-lived Lists, lremove() should pfree the cons cell it's deleting from the list. Do this, and fix a few callers that were bogusly assuming it wouldn't free the cons cell. Tom Lane 2002-12-17 01:18:35 +00:00
  • 9f76d0d926 Fix GEQO to work again in CVS tip, by being more careful about memory allocation in best_inner_indexscan(). While at it, simplify GEQO's interface to the main planner --- make_join_rel() offers exactly the API it really wants, whereas calling make_rels_by_clause_joins() and make_rels_by_clauseless_joins() required jumping through hoops. Rewrite gimme_tree for clarity (sometimes iteration is much better than recursion), and approximately halve GEQO's runtime by recognizing that tours of the forms (a,b,c,d,...) and (b,a,c,d,...) are equivalent because of symmetry in make_join_rel(). Tom Lane 2002-12-16 21:30:30 +00:00
  • 9cecff0314 Document that zero-column tables are allowed (and non-standard). Tom Lane 2002-12-16 19:08:25 +00:00
  • 5131e5ab7d Update release to mark 7.3. Bruce Momjian 2002-12-16 18:40:32 +00:00
  • f599d56f51 Fix ALTER TABLE ADD COLUMN to disallow the same column types that are disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types from being introduced by the range-function syntax. While at it, allow CREATE TABLE to create zero-column tables, per recent pghackers discussion. I am back-patching this into 7.3 since failure to disallow pseudo-types is arguably a security hole. Tom Lane 2002-12-16 18:39:57 +00:00
  • 260faf0b63 Fix ALTER TABLE ADD COLUMN to disallow the same column types that are disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types from being introduced by the range-function syntax. While at it, allow CREATE TABLE to create zero-column tables, per recent pghackers discussion. I am back-patching this into 7.3 since failure to disallow pseudo-types is arguably a security hole. Tom Lane 2002-12-16 18:39:22 +00:00
  • 88177f77b1 Code review for palloc0 patch --- avoid dangerous and unnecessary practice of evaluating MemSet's arguments multiple times, except for the special case of newNode(), where we can assume the argument is a constant sizeof() operator. Also, add GetMemoryChunkContext() to mcxt.c's API, in preparation for fixing recent GEQO breakage. Tom Lane 2002-12-16 16:22:46 +00:00
  • e64c7feb2f Tweak default memory context allocation policy so that a context is not given any malloc block until something is first allocated in it; but thereafter, MemoryContextReset won't release that first malloc block. This preserves the quick-reset property of the original policy, without forcing 8K to be allocated to every context whether any of it is ever used or not. Also, remove some more no-longer-needed explicit freeing during ExecEndPlan. Tom Lane 2002-12-15 21:01:34 +00:00
  • 5bab36e9f6 Revise executor APIs so that all per-query state structure is built in a per-query memory context created by CreateExecutorState --- and destroyed by FreeExecutorState. This provides a final solution to the longstanding problem of memory leaked by various ExecEndNode calls. Tom Lane 2002-12-15 16:17:59 +00:00
  • 90b3a0b6fd Improve comment. Bruce Momjian 2002-12-15 03:16:58 +00:00
  • c465dcc1d0 Add major/minor release changes info to RELEASE_CHANGES file. Bruce Momjian 2002-12-14 19:45:46 +00:00
  • 750b3f3825 The actual segfault was caused by a double pfree(), but ISTM that failing to find pg_hba.conf should be a fatal error anyway, so I increased the priority of the elog() from LOG to FATAL and refactored the code a little bit. Bruce Momjian 2002-12-14 18:49:43 +00:00
  • c78701697c The actual segfault was caused by a double pfree(), but ISTM that failing to find pg_hba.conf should be a fatal error anyway, so I increased the priority of the elog() from LOG to FATAL and refactored the code a little bit. Bruce Momjian 2002-12-14 18:49:37 +00:00
  • 96e9574037 Ok, I think I've gotten this figured out now. I saw this comment in pqcomm.c, switched the ERROR logs to COMMERROR logs and it all works. I've attached a patch to be-secure.c that fixes all my problems. Bruce Momjian 2002-12-14 18:39:39 +00:00
  • fb2d7a24f9 Ok, I think I've gotten this figured out now. I saw this comment in pqcomm.c, switched the ERROR logs to COMMERROR logs and it all works. I've attached a patch to be-secure.c that fixes all my problems. Bruce Momjian 2002-12-14 18:39:14 +00:00
  • 1b42ad7e59 Initial version of the SQL information schema Peter Eisentraut 2002-12-14 00:24:35 +00:00
  • 2d8d66628a Clean up plantree representation of SubPlan-s --- SubLink does not appear in the planned representation of a subplan at all any more, only SubPlan. This means subselect.c doesn't scribble on its input anymore, which seems like a good thing; and there are no longer three different possible interpretations of a SubLink. Simplify node naming and improve comments in primnodes.h. No change to stored rules, though. Tom Lane 2002-12-14 00:17:59 +00:00
  • 77a9708f85 Backpatch SSL fixes into 7.3.1. Bruce Momjian 2002-12-13 22:20:22 +00:00
  • 9056af5b63 Increment libpq major number for 7.3.1 and minor for 7.4. Bruce Momjian 2002-12-13 22:18:22 +00:00
  • 29cdab3d53 Increment libpq major number for 7.3.1 and minor for 7.4. Bruce Momjian 2002-12-13 22:17:57 +00:00
  • 3145cbc14f Admit defeat on the prospect of keeping straight exactly which platforms produce which output in the geometry test, even with the problem narrowed down to only whether they print minus zero or not. Instead, use pg_regress' locale-variant mechanism to automatically consider the test to pass if it matches either supplied comparison file. geometry_1.out replaces the former geometry-positive-zeros.out. Tom Lane 2002-12-13 20:35:57 +00:00
  • 88d639e6e8 Protect from null param on ecpg disconnect, verified by Roland Karch Bruce Momjian 2002-12-13 20:29:07 +00:00
  • 0f8e9b4d74 Add a basic regression test for IS DISTINCT FROM, which has spent way too much time in a broken state for lack of anyone noticing. Tom Lane 2002-12-13 20:16:11 +00:00
  • 3a4f7dde16 Phase 3 of read-only-plans project: ExecInitExpr now builds expression execution state trees, and ExecEvalExpr takes an expression state tree not an expression plan tree. The plan tree is now read-only as far as the executor is concerned. Next step is to begin actually exploiting this property. Tom Lane 2002-12-13 19:46:01 +00:00
  • 77b7a740f9 Adjust costsize calculations to avoid introducing unnecessary roundoff error. This seems to explain the differing choice of plan that's been causing geometry regress test to fail for the last few days. Tom Lane 2002-12-13 17:29:25 +00:00
  • 023ff17178 Remove strerror output for openssl SYSCALL error check. Bruce Momjian 2002-12-13 05:51:29 +00:00
  • 8fba8caba6 This patch fixes minor bugs in dictionary generator in contrib/tsearch (contrib/tsearch/makedict/makedict.pl) Bruce Momjian 2002-12-13 05:50:41 +00:00
  • 8358302ded This patch fixes minor bugs in dictionary generator in contrib/tsearch (contrib/tsearch/makedict/makedict.pl) Bruce Momjian 2002-12-13 05:50:18 +00:00
  • e60b5d5306 This patch fixes a few typos in the documentation for the '~/.pgpass' libpq feature. Bruce Momjian 2002-12-13 05:49:10 +00:00
  • 1b706651b6 Here's the patch I mentioned on HACKERS to fix up ALTER command tab completion. Note that it's based on 7.3 tarball, not CVS HEAD, or 7.3rel branch. Damn, looking at CVS, this will patch into 7.3rel (just tested, it does) probably collide with Rod Taylor's patch adding ALTER TRIGGER stuff. O.K, second patch attached against HEAD - not tested, hand merged. Bruce Momjian 2002-12-13 05:36:24 +00:00
  • d274105942 > There is an ugly little problem with the DB wrapper class. > > In pg.py the attributes of DB are defined as being the same as > the attributes of the corresponding pgobject "db", using the following Bruce Momjian 2002-12-12 22:49:27 +00:00
  • 482ed836f7 Check SSL_get_error() value SSL_ERROR_SYSCALL to see if SSL_read() returned -1, per SSL_get_error() documentation. Bruce Momjian 2002-12-12 22:42:39 +00:00
  • 5587f077ab While porting my TPC-C implementation from Oracle, I discovered the attached problem with the EXEC SQL COMMIT RELEASE statement. Bruce Momjian 2002-12-12 21:50:01 +00:00
  • b73251686f Don't produce bogus COPY command when there are no undropped columns in a table. Tom Lane 2002-12-12 21:03:24 +00:00
  • 40c4472e22 TODO marked as done: Bruce Momjian 2002-12-12 21:02:25 +00:00
  • 8ac39d02fd Done: Bruce Momjian 2002-12-12 21:02:21 +00:00
  • 4ad0aa3efb Don't force rebuild of all of backend/parser when we only need keywords.o. Tom Lane 2002-12-12 21:02:00 +00:00
  • b0422b215c Preliminary code review for domain CHECK constraints patch: add documentation, make VALUE a non-reserved word again, use less invasive method of passing ConstraintTestValue into transformExpr, fix problems with nested constraint testing, do correct thing with NULL result from a constraint expression, remove memory leak. Domain checks still need much more work if we are going to allow ALTER DOMAIN, however. Tom Lane 2002-12-12 20:35:16 +00:00
  • 1c432d60d7 Guard against overrunning CTZName buffer when TZ is bogus. Tom Lane 2002-12-12 19:17:04 +00:00
  • ff7349694f Guard against overrunning CTZName buffer when TZ is bogus. Tom Lane 2002-12-12 19:16:55 +00:00
  • 68df4f7ca8 Back-patch fix to prevent core dump in EXPLAIN if optimizer has simplified function call to a constant. (7.3 won't actually execute such a plan anyway, but core dump is bad regardless.) Tom Lane 2002-12-12 16:16:58 +00:00
  • a0bf885f9e Phase 2 of read-only-plans project: restructure expression-tree nodes so that all executable expression nodes inherit from a common supertype Expr. This is somewhat of an exercise in code purity rather than any real functional advance, but getting rid of the extra Oper or Func node formerly used in each operator or function call should provide at least a little space and speed improvement. initdb forced by changes in stored-rules representation. Tom Lane 2002-12-12 15:49:42 +00:00
  • debb072886 Add for protocol changes: Bruce Momjian 2002-12-12 00:19:22 +00:00
  • b7ebebea1e Move psql \? Formatting above Large Object/Copy. Bruce Momjian 2002-12-11 23:07:06 +00:00
  • c4a7e5dd9f psql \? rearrangement, suggested by Tom. Bruce Momjian 2002-12-11 23:03:45 +00:00
  • 721dd19212 Reorder psql \? help into groupings, idea from Harald Armin Massa. Bruce Momjian 2002-12-11 22:45:13 +00:00
  • 20606b46fd Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user. template/sco updated. Bruce Momjian 2002-12-11 22:27:34 +00:00
  • dc8d322a8b Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user. template/sco updated. Bruce Momjian 2002-12-11 22:27:26 +00:00
  • bab9c3d555 Fix line count error reporting in config files, like pg_hba.conf, per report from Oliver Elphick. Bruce Momjian 2002-12-11 22:17:31 +00:00
  • 92d77c69e5 Fix line count error reporting in config files, like pg_hba.conf, per report from Oliver Elphick. Bruce Momjian 2002-12-11 22:17:11 +00:00
  • d9d59ca65e patch for getTables to fix problems with backends before 7.3 by Kris Jurka Dave Cramer 2002-12-11 21:02:58 +00:00
  • 58eeb82cf8 Mike Beachy's build patch to allow ant builds without make Dave Cramer 2002-12-11 12:29:13 +00:00
  • a905eaacf0 Aaron's patch for Pooled Connections Dave Cramer 2002-12-11 11:42:14 +00:00
  • 0046d80b97 Back out psql help change. Not done yet. Bruce Momjian 2002-12-11 04:09:51 +00:00
  • f28802cac8 Bump version for 7.3 and 7.4. Bruce Momjian 2002-12-11 04:08:05 +00:00
  • 6ca16d7b80 Bump version for 7.3 and 7.4. Bruce Momjian 2002-12-11 04:07:39 +00:00
  • 944f95d2b6 Add: Bruce Momjian 2002-12-10 22:27:45 +00:00
  • ac3534f973 Translation updates Peter Eisentraut 2002-12-10 20:00:27 +00:00
  • 5435944e23 Reverse out unintended resultmap change. Tom Lane 2002-12-10 18:23:12 +00:00
  • 53f275b9e5 If typecmds is going to have its own header file, said header file should include what it needs. Tom Lane 2002-12-10 16:12:53 +00:00
  • be134e9dc4 Add an unnecessary assignment to remove a bogus warning. I checked the logic carefully and I am sure that the test against n happens after it is assigned to. D'Arcy J.M. Cain 2002-12-10 11:43:44 +00:00
  • 1d8dfe3ac4 More minor improvements to the SGML docs, namely doc/src/sgml/runtime.sgml Bruce Momjian 2002-12-10 01:57:46 +00:00
  • bc6625970c Following patch avoids removing oids in the temporary table from the temporary table. Bruce Momjian 2002-12-10 01:57:16 +00:00
  • b842726fc7 I've simplified the Darwin/Mac OS X startup script I submitted earlier in the year. This version has only the two files required by the Darwin startup bundle design. Plus the sh script now uses Darwin-standard functions to start up PostgreSQL, and it checks for the presence of a variable in /etc/hostconfig, as do other Darwin startup scripts. Bruce Momjian 2002-12-09 21:26:09 +00:00
  • 7ba47bf961 This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not "OS/X". Bruce Momjian 2002-12-09 21:03:42 +00:00
  • 3bca6ca61c This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not "OS/X". Bruce Momjian 2002-12-09 21:03:30 +00:00
  • 9ee4891570 Some quick fixes for ALTER DOMAIN patch. It still needs a lot of work, but at least it doesn't generate gcc warnings. Tom Lane 2002-12-09 20:31:05 +00:00
  • 4ed6be54e2 Fix Latin9/Unicode conversion by selecting the right table. Peter Eisentraut 2002-12-09 19:47:21 +00:00
  • 39610c8f03 Fix Latin1/Unicode conversion by selecting the right table. Peter Eisentraut 2002-12-09 19:42:31 +00:00
  • 780651d09c Update obsolete comment. Tom Lane 2002-12-09 18:21:43 +00:00
  • 1170a970a9 Add: Bruce Momjian 2002-12-09 18:09:44 +00:00
  • a92a4010a7 As far as I figured from the source code this function only deals with cleaning up locale names and nothing else. Since all the locale names are in plain ASCII I think it will be safe to use ASCII-only lower-case conversion. Bruce Momjian 2002-12-09 17:45:17 +00:00
  • b3b39591c1 Explain's code for showing quals of SubqueryScan nodes has been broken all along; not noticed till now. It's a scan not an upper qual ... Tom Lane 2002-12-06 19:28:13 +00:00
  • d6161ba7ec Explain's code for showing quals of SubqueryScan nodes has been broken all along; not noticed till now. It's a scan not an upper qual ... Tom Lane 2002-12-06 19:28:03 +00:00