Commit Graph

  • a922472a2a Supress non-temp schemas from psql \dn display. Bruce Momjian 2003-12-23 23:13:14 +00:00
  • afb09b5a31 Use inlined TAS() on PA-RISC, if we are compiling with gcc. Patch inspired by original submission from ViSolve. Tom Lane 2003-12-23 22:15:07 +00:00
  • cd2ad9b944 Fix a number of places where reconfiguring with a different installation prefix would fail, because the new path did not get propagated to where it needed to be. Note this would fail even with --enable-depend. Tom Lane 2003-12-23 21:56:21 +00:00
  • 358d032f98 Fix compile warning. Tom Lane 2003-12-23 21:50:38 +00:00
  • 03d968fb4e More bogosity in alter_table test: sometimes causes prepare test to fail by means of arbitrarily renaming tables the other test depends on. Tom Lane 2003-12-23 20:34:51 +00:00
  • 2fb67fa469 More bogosity in alter_table test: sometimes causes prepare test to fail by means of arbitrarily renaming tables the other test depends on. Tom Lane 2003-12-23 20:34:45 +00:00
  • d30c69bc63 alter_table test sometimes failed in parallel mode, because of transient table name conflict against rangefuncs test. Tom Lane 2003-12-23 20:17:55 +00:00
  • e8a4515626 alter_table test sometimes failed in parallel mode, because of transient table name conflict against rangefuncs test. Tom Lane 2003-12-23 20:17:47 +00:00
  • baee5f75c5 Push responsibility for selecting out-of-line-assembler TAS code out to the platform template files, instead of doing it directly in configure.in. This seems cleaner, and also opens the door to making the choice be dependent on the compiler being used. Tom Lane 2003-12-23 18:40:53 +00:00
  • 9adaf64da3 Mop-up for HAS_TEST_AND_SET refactoring. Un-break two or three platforms that were broken, try to make layout of s_lock.h entries consistent, use HAVE_SPINLOCKS in preference to HAS_TEST_AND_SET everywhere outside s_lock.h itself. Tom Lane 2003-12-23 18:13:17 +00:00
  • caf6e9d2dd Have configure --without-spinlocks actually not use spinlock code, even if supported by the cpu. Bruce Momjian 2003-12-23 03:52:10 +00:00
  • 69f2e9b0fc Move slock_t typdefs into s_lock.h from include/port files for centralization and easier maintanence. Bruce Momjian 2003-12-23 03:31:30 +00:00
  • dcae5781d1 Remove __alpha__ additions in main.c but document that they are missing. Bruce Momjian 2003-12-23 00:34:04 +00:00
  • 887b5a7be0 Remove NEED_I386_TAS_ASM and just test for compiler defines. Bruce Momjian 2003-12-23 00:32:06 +00:00
  • f66b0ff066 Allow plpgsql variables' default value expressions to reference existing variables (such as function parameters). Per gripe from David Fetter. Tom Lane 2003-12-23 00:01:57 +00:00
  • 9114cb1c5f This applied patch remove NEED_SPARC_TAS_ASM and instead uses __sparc || __sparc__. Bruce Momjian 2003-12-22 23:39:53 +00:00
  • b731d04101 Test for __alpha and __alpha__. Bruce Momjian 2003-12-22 23:36:38 +00:00
  • 86d34e4123 Clarification: Bruce Momjian 2003-12-22 16:30:27 +00:00
  • 9c6063890b Regenerate HISTORY for release. Bruce Momjian 2003-12-22 07:28:46 +00:00
  • 4160b23711 Regenerate HISTORY for release. Bruce Momjian 2003-12-22 07:28:29 +00:00
  • 5bb4d8e8ea Update HISTORY for 7.4.1 release. REL7_4_1 Tom Lane 2003-12-21 23:44:40 +00:00
  • 74f35bb2b2 Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. Tom Lane 2003-12-21 18:06:26 +00:00
  • 5015cf01eb Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. Tom Lane 2003-12-21 18:06:15 +00:00
  • ef92b82dbb Further cleanup in _bt_first: eliminate duplicate code paths. Tom Lane 2003-12-21 17:52:34 +00:00
  • 39a08d3ed8 Some refining of release notes. Markup is still broken by someone else, so I cannot remake HISTORY. Peter Eisentraut 2003-12-21 16:36:34 +00:00
  • 567feba7f6 Update 7.4.1 release notes in preparation for release. Bruce Momjian 2003-12-21 05:24:00 +00:00
  • 550d347811 Update 7.4.1 release notes in preparation for release. Bruce Momjian 2003-12-21 05:23:36 +00:00
  • 0ea4f9c859 Back out: Bruce Momjian 2003-12-21 04:34:36 +00:00
  • ced30eb857 [ This description should have been on the earlier fork/exec commit, but I am adding it now so it is in CVS.] Bruce Momjian 2003-12-21 04:30:10 +00:00
  • 2a0caefeb5 Previous change exposed some opportunities for further simplification in _bt_first(). Tom Lane 2003-12-21 03:00:04 +00:00
  • 569659ae16 Improve btree's initial-positioning-strategy code so that we never need to step more than one entry after descending the search tree to arrive at the correct place to start the scan. This can improve the behavior substantially when there are many entries equal to the chosen boundary value. Per suggestion from Dmitry Tkach, 14-Jul-03. Tom Lane 2003-12-21 01:23:06 +00:00
  • 772d0f9345 The recent DUMMY_PROCS patch broke accounting for the number of semaphores needed. This caused us to fail all the time on Darwin, and we'd fail for some values of maxBackends on SysV-sema platforms, too. Tom Lane 2003-12-21 00:33:33 +00:00
  • 16cc9dff4f bufmgr.c failed to compile on Darwin, because it didn't include <sys/time.h> where struct timeval is defined. Tom Lane 2003-12-20 22:18:02 +00:00
  • 1661b86bca Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge even when HAVE_GETPEEREID is defined, else it will be unable to connect to pre-7.4 backends that are using IDENT authentication. Tom Lane 2003-12-20 18:46:02 +00:00
  • fb8ac3fcb6 Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge even when HAVE_GETPEEREID is defined, else it will be unable to connect to pre-7.4 backends that are using IDENT authentication. Tom Lane 2003-12-20 18:45:49 +00:00
  • 7133152c5b Fix broken IDENT support for FreeBSD (appears to have been broken by ill-considered conditional logic in getpeereid patch of 3-Dec-2002). Per bug #1021. Tom Lane 2003-12-20 18:25:02 +00:00
  • b8f2980209 Fix broken IDENT support for FreeBSD (appears to have been broken by ill-considered conditional logic in getpeereid patch of 3-Dec-2002). Per bug #1021. Tom Lane 2003-12-20 18:24:52 +00:00
  • d75b2ec4eb This patch is the next step towards (re)allowing fork/exec. Bruce Momjian 2003-12-20 17:31:21 +00:00
  • 1ee0ddf91d Another markup fix for recent patch. Bruce Momjian 2003-12-20 16:06:54 +00:00
  • 4e005c9095 Fix broken markup. Bruce Momjian 2003-12-20 15:59:25 +00:00
  • 54c8e821b8 In my mind there were two categories of open issues a) ones that are 100% backward (such as the comment about outputting this format) and b) ones that aren't (such as deprecating the current postgresql shorthand of '1Y1M'::interval = 1 year 1 minute in favor of the ISO-8601 'P1Y1M'::interval = 1 year 1 month. Bruce Momjian 2003-12-20 15:32:55 +00:00
  • 46b5820dc0 Update INSTALL file for 7.4.1. Peter Eisentraut 2003-12-20 15:32:18 +00:00
  • 4c15abce93 Update HISTORY file for 7.4.1. Bruce Momjian 2003-12-20 00:57:32 +00:00
  • 7be614a087 Update HISTORY file for 7.4.1. Bruce Momjian 2003-12-20 00:57:22 +00:00
  • 41f60b20fd Backpatch pg_service.conf file change to not default dbname to match service name. Bruce Momjian 2003-12-19 23:32:36 +00:00
  • cdbfbcf987 Supress ecpg thread test if configure didn't enable threads. Fix tools/thread to run even if configure didn't enable threads because this test is used before enabling threads for the OS. Bruce Momjian 2003-12-19 23:29:29 +00:00
  • 85f51dea1c Supress ecpg thread test if configure didn't enable threads. Fix tools/thread to run even if configure didn't enable threads because this test is used before enabling threads for the OS. Bruce Momjian 2003-12-19 23:29:15 +00:00
  • 580cae7567 Prevent service dbname from defaulting to service name, per bug report from Michael Fuhr Bruce Momjian 2003-12-19 21:50:54 +00:00
  • cb95ec2f7a 7.4.1 release note improvements Peter Eisentraut 2003-12-19 20:06:20 +00:00
  • 24cef7f46c 7.4.1 release note improvements Peter Eisentraut 2003-12-19 20:06:14 +00:00
  • f39748a70f Forbid REVOKE on untrusted languages, and don't dump privileges of untrusted languages (in case they sneak in). Peter Eisentraut 2003-12-19 14:21:56 +00:00
  • 5570c9ee14 Forbid REVOKE on untrusted languages, and don't dump privileges of untrusted languages (in case they sneak in). Peter Eisentraut 2003-12-19 14:21:43 +00:00
  • 9a1cab4391 Add missing $(X). Peter Eisentraut 2003-12-19 11:54:25 +00:00
  • ed651a54fd Add missing $(X). Peter Eisentraut 2003-12-19 11:54:23 +00:00
  • 035a7ea584 Make to_hex() behave portably on negative input values (treat them as unsigned integers). Per report from Jim Crate. Tom Lane 2003-12-19 04:56:54 +00:00
  • 7fc2d50877 Make to_hex() behave portably on negative input values (treat them as unsigned integers). Per report from Jim Crate. Tom Lane 2003-12-19 04:56:41 +00:00
  • edc7f146e3 Use a shutdown callback to ensure proper clean up when rescanning partially-evaluated SRFs. Per report found here: http://archives.postgresql.org/pgsql-general/2003-12/msg00851.php Joe Conway 2003-12-19 00:02:11 +00:00
  • acae15faf3 Use a shutdown callback to ensure proper clean up when rescanning partially-evaluated SRFs. Per report found here: http://archives.postgresql.org/pgsql-general/2003-12/msg00851.php Joe Conway 2003-12-19 00:00:27 +00:00
  • 7748c5ee29 Fix memory leak with SSL connections due to missing X509_free() calls. Per Neil Conway. Tom Lane 2003-12-18 22:49:34 +00:00
  • e0cd175212 Fix memory leak with SSL connections due to missing X509_free() calls. Per Neil Conway. Tom Lane 2003-12-18 22:49:26 +00:00
  • cf88f005f2 Use a shutdown callback to clear setArgsValid in a FuncExprState that is evaluating a set-valued function. This fixes some additional problems with rescanning partially-evaluated SRFs. Tom Lane 2003-12-18 22:23:55 +00:00
  • 54840eca2e Use a shutdown callback to clear setArgsValid in a FuncExprState that is evaluating a set-valued function. This fixes some additional problems with rescanning partially-evaluated SRFs. Tom Lane 2003-12-18 22:23:42 +00:00
  • ed8e5143c2 Forgot to change one compatlib.h. Peter Eisentraut 2003-12-18 20:25:58 +00:00
  • 3434f9e4df Forgot to change one compatlib.h. Peter Eisentraut 2003-12-18 20:25:57 +00:00
  • dc254c8674 Ensure set-returning functions in the targetlist of a plan node will be shut down cleanly if the plan node is ReScanned before the SRFs are run to completion. This fixes the problem for SQL-language functions, but still need work on functions using the SRF_XXX() macros. Tom Lane 2003-12-18 20:21:53 +00:00
  • 38423232a5 Ensure set-returning functions in the targetlist of a plan node will be shut down cleanly if the plan node is ReScanned before the SRFs are run to completion. This fixes the problem for SQL-language functions, but still need work on functions using the SRF_XXX() macros. Tom Lane 2003-12-18 20:21:37 +00:00
  • 125d69cd9b Fix signed char in comparison and check memory allocation Teodor Sigaev 2003-12-18 19:27:53 +00:00
  • ad8c09c29c Move Informix compatibility include files out of the way. compatlib.h was integrated into ecpg_informix.h, the other ones go into their own subdirectory that is automatically considered by the embedded preprocessor when in Informix mode. Peter Eisentraut 2003-12-18 18:55:09 +00:00
  • 716a3d6cff Move Informix compatibility include files out of the way. compatlib.h was integrated into ecpg_informix.h, the other ones go into their own subdirectory that is automatically considered by the embedded preprocessor when in Informix mode. Peter Eisentraut 2003-12-18 18:55:06 +00:00
  • 757a328d0e patch for new OID74Test Dave Cramer 2003-12-18 04:18:15 +00:00
  • b4ed1edb57 patch for new OID74Test Dave Cramer 2003-12-18 04:17:17 +00:00
  • 1d37f8e288 backpatch for OID74Test to conform with jdbc tests Dave Cramer 2003-12-18 04:10:12 +00:00
  • b9deede241 fixed up OID74 test to conform with other tests, by Kris Jurka Dave Cramer 2003-12-18 04:08:30 +00:00
  • e9aec81792 Please find enclosed a patch exemplifying typical use of the ARE Class-Shorthand Escapes<C2><AE>. I believe it will help intrepid regex users. :) Bruce Momjian 2003-12-18 03:59:07 +00:00
  • ed96bfde18 Here is the definition of relation_byte_size() in optimizer/path/costsize.c: Bruce Momjian 2003-12-18 03:46:45 +00:00
  • 6096a72a54 backpatch for rs.previous from Kris Jurka, reported by Andrew Fyfe Dave Cramer 2003-12-18 03:35:55 +00:00
  • 2864c18ee5 patch for building for an alternate port Dave Cramer 2003-12-18 03:32:05 +00:00
  • b304212560 back patch by Kris Jurka to get the correct protocol version from the server Dave Cramer 2003-12-18 03:29:12 +00:00
  • bb58eed004 patch by Kris Jurka to use the correct protocol based upon server information Dave Cramer 2003-12-18 03:27:15 +00:00
  • 663c8295a8 Adjust rules output for unknown-vs-any change (affects expected contents of pg_stats view definition). Tom Lane 2003-12-18 01:48:59 +00:00
  • 38b0dff0d3 Adjust rules output for unknown-vs-any change (affects expected contents of pg_stats view definition). Tom Lane 2003-12-18 01:48:53 +00:00
  • 109a4a603f Be a little smarter in group_clauses_by_indexkey_for_join: detect cases where a joinclause is redundant with a restriction clause. Original coding believed this was impossible and didn't need to be checked for, but that was a thinko ... Tom Lane 2003-12-18 00:22:12 +00:00
  • 1e2883a115 information_schema.constraint_column_usage and key_column_usage should not discriminate against system columns, since we support constraints on system columns, and in fact constraints on OID are moderately useful. Tom Lane 2003-12-17 22:11:42 +00:00
  • 422249120d information_schema.constraint_column_usage and key_column_usage should not discriminate against system columns, since we support constraints on system columns, and in fact constraints on OID are moderately useful. Tom Lane 2003-12-17 22:11:30 +00:00
  • 1ba505dce1 Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz. Tom Lane 2003-12-17 21:45:51 +00:00
  • 78f637c6da Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz. Tom Lane 2003-12-17 21:45:44 +00:00
  • f79c36fc6f Repair badly broken estimation of output buffer size in lquery_out(). Tom Lane 2003-12-17 20:15:53 +00:00
  • a7e383d241 Repair badly broken estimation of output buffer size in lquery_out(). Tom Lane 2003-12-17 20:15:41 +00:00
  • 5129070dfd Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion does not affect UNKNOWN-type literals or Params. This fixes the recent complaint about count('x') being broken, and improves consistency in a few other respects too. Tom Lane 2003-12-17 19:49:52 +00:00
  • f758097c6d Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion does not affect UNKNOWN-type literals or Params. This fixes the recent complaint about count('x') being broken, and improves consistency in a few other respects too. Tom Lane 2003-12-17 19:49:39 +00:00
  • b40b3306fa Remove pg_id. Peter Eisentraut 2003-12-17 18:44:09 +00:00
  • ea27e96dd0 Repair planner failure when there are multiple IN clauses, each with a join in its subselect. In this situation we *must* build a bushy plan because there are no valid left-sided or right-sided join trees. Accordingly, hoary sanity check needs an update. Per report from Alessandro Depase. Tom Lane 2003-12-17 17:08:06 +00:00
  • 99e922a01d Repair planner failure when there are multiple IN clauses, each with a join in its subselect. In this situation we *must* build a bushy plan because there are no valid left-sided or right-sided join trees. Accordingly, hoary sanity check needs an update. Per report from Alessandro Depase. Tom Lane 2003-12-17 17:07:48 +00:00
  • 0323e570af back patching fix for compat 7.1 binary stream issues with the new protocol added test for same Dave Cramer 2003-12-17 15:48:40 +00:00
  • 9dddd242dd revoked patch from Kris Jurka to fix multiarguments, and changed test to create a temp table Dave Cramer 2003-12-17 15:45:05 +00:00
  • e4955c2ec3 patch from Kris Jurka to fix large object 7.1 compatible protocol issues modified test case from Alexey Yudichev to be part of the testsuite Dave Cramer 2003-12-17 15:38:42 +00:00
  • 96cee3f12a Applied all bug fixes from head also to 7.4. Just bugfixes, no new features. Michael Meskes 2003-12-17 15:31:51 +00:00
  • 95eea2d89c - Added just another patch by Dave that fixes a reversed order in variable listing for output variables in cursor definitions - Fixed incorrect if call in long=>numeric conversion. Michael Meskes 2003-12-17 15:23:45 +00:00
  • 845109e606 added polish translation submitted by Piotr Maj Dave Cramer 2003-12-17 13:25:14 +00:00
  • 9c09764783 Restore information schema upgrade instructions of Peter. Bruce Momjian 2003-12-17 07:07:46 +00:00