Commit Graph

  • af49a1634f Adjust probe for getaddrinfo to cope with macro-ized definitions, such as Tru64's. Per previous discussion. Tom Lane 2006-02-21 06:06:50 +00:00
  • 11b3472672 Fix three Python reference leaks in PLy_traceback(). This would result in leaking memory when invoking a PL/Python procedure that raises an exception. Unfortunately this still leaks memory, but at least the largest leak has been plugged. Neil Conway 2006-02-20 20:10:48 +00:00
  • bf578aedca Fix three Python reference leaks in PLy_traceback(). This would result in leaking memory when invoking a PL/Python procedure that raises an exception. Unfortunately this still leaks memory, but at least the largest leak has been plugged. Neil Conway 2006-02-20 20:10:45 +00:00
  • 8ac04d4d78 Fix three Python reference leaks in PLy_traceback(). This would result in leaking memory when invoking a PL/Python procedure that raises an exception. Unfortunately this still leaks memory, but at least the largest leak has been plugged. Neil Conway 2006-02-20 20:10:43 +00:00
  • 797deb5092 Fix three Python reference leaks in PLy_traceback(). This would result in leaking memory when invoking a PL/Python procedure that raises an exception. Unfortunately this still leaks memory, but at least the largest leak has been plugged. Neil Conway 2006-02-20 20:10:41 +00:00
  • 45594a6859 Fix three Python reference leaks in PLy_traceback(). This would result in leaking memory when invoking a PL/Python procedure that raises an exception. Unfortunately this still leaks memory, but at least the largest leak has been plugged. Neil Conway 2006-02-20 20:10:37 +00:00
  • dde9457294 Fixing and improve compound word support. This changes cannot be applied to previous version iwthout recreating tsvector fields... Teodor Sigaev 2006-02-20 17:51:05 +00:00
  • 21e2544aa7 Update obsolete comment. Tom Lane 2006-02-19 19:59:53 +00:00
  • b34aa3372f Modify logtape.c so that the initial LogicalTapeSetCreate call only allocates the control data. The per-tape buffers are allocated only on first use. This saves memory in situations where tuplesort.c overestimates the number of tapes needed (ie, there are fewer runs than tapes). Also, this makes legitimate the coding in inittapes() that includes tape buffer space in the maximum-memory calculation: when inittapes runs, we've already expended the whole allowed memory on tuple storage, and so we'd better not allocate all the tape buffers until we've flushed some tuples out of memory. Tom Lane 2006-02-19 05:58:36 +00:00
  • df700e6b40 Improve tuplesort.c to support variable merge order. The original coding with fixed merge order (fixed number of "tapes") was based on obsolete assumptions, namely that tape drives are expensive. Since our "tapes" are really just a couple of buffers, we can have a lot of them given adequate workspace. This allows reduction of the number of merge passes with consequent savings of I/O during large sorts. Tom Lane 2006-02-19 05:54:06 +00:00
  • 85c0eac1af Add TABLESPACE and ON COMMIT clauses to CREATE TABLE AS. ON COMMIT is required by the SQL standard, and TABLESPACE is useful functionality. Patch from Kris Jurka, minor editorialization by Neil Conway. Neil Conway 2006-02-19 00:04:28 +00:00
  • 8c5dfbabff Minor SGML style police work. Neil Conway 2006-02-18 23:14:45 +00:00
  • 3228a92ccd ' is not valid HTML 4.01, so print the plain character instead. Peter Eisentraut 2006-02-18 22:54:50 +00:00
  • 0c853662bd Patch from Marko Kreen: Neil Conway 2006-02-18 20:49:02 +00:00
  • ac2172d6f6 Patch from Marko Kreen: Neil Conway 2006-02-18 20:49:00 +00:00
  • 74f615766c Patch from Marko Kreen: Neil Conway 2006-02-18 20:48:56 +00:00
  • 3bd549ba0a Patch from Marko Kreen: Neil Conway 2006-02-18 20:48:53 +00:00
  • ce9b75db6b Patch from Marko Kreen: Neil Conway 2006-02-18 20:48:51 +00:00
  • 1b658473ea Add support for Windows codepages 1253, 1254, 1255, and 1257 and clean up a bunch of the support utilities. Peter Eisentraut 2006-02-18 16:15:23 +00:00
  • a6d3b5b944 Mark unescape_single_char() "static": as far as I can see this function is only used by scan.l/scan.c Neil Conway 2006-02-18 01:44:35 +00:00
  • ea9eca2c20 Fix typo in comment. Neil Conway 2006-02-17 03:29:02 +00:00
  • 15a3c33164 Change MemSet to use long instead of int32, for better performance on 64-bit platforms. Peter Eisentraut 2006-02-16 23:23:50 +00:00
  • 422998d275 Put the first section of a chapter in its own chunk. Peter Eisentraut 2006-02-16 01:03:48 +00:00
  • bba11cdd97 Since we only use libld on AIX, don't include it in LIBS on any other platforms (it does exist on HPUX, for one). We could probably even make this a test for specific AIX versions, but I don't know which ones need it. Tom Lane 2006-02-15 17:23:10 +00:00
  • 0ad14ebc8d Repair --single-transaction patch so it handles blobs correctly. Simon Riggs Tom Lane 2006-02-14 23:30:43 +00:00
  • f5ab0a2597 Move btbulkdelete's vacuum_delay_point() call to a place in the loop where we are not holding a buffer content lock; where it was, InterruptHoldoffCount is positive and so we'd not respond to cancel signals as intended. Also add missing vacuum_delay_point() call in btvacuumcleanup. This should fix complaint from Evgeny Gridasov about failure to respond to SIGINT/SIGTERM in a timely fashion (bug #2257). Tom Lane 2006-02-14 17:20:17 +00:00
  • 4fc6585cb9 Move btbulkdelete's vacuum_delay_point() call to a place in the loop where we are not holding a buffer content lock; where it was, InterruptHoldoffCount is positive and so we'd not respond to cancel signals as intended. Also add missing vacuum_delay_point() call in btvacuumcleanup. This should fix complaint from Evgeny Gridasov about failure to respond to SIGINT/SIGTERM in a timely fashion (bug #2257). Tom Lane 2006-02-14 17:20:10 +00:00
  • 2d7f694729 Move btbulkdelete's vacuum_delay_point() call to a place in the loop where we are not holding a buffer content lock; where it was, InterruptHoldoffCount is positive and so we'd not respond to cancel signals as intended. Also add missing vacuum_delay_point() call in btvacuumcleanup. This should fix complaint from Evgeny Gridasov about failure to respond to SIGINT/SIGTERM in a timely fashion (bug #2257). Tom Lane 2006-02-14 17:20:01 +00:00
  • efaac136bf Add some missing vacuum_delay_point calls in GIST vacuuming. Tom Lane 2006-02-14 16:39:36 +00:00
  • 49758f4703 Add some missing vacuum_delay_point calls in GIST vacuuming. Tom Lane 2006-02-14 16:39:32 +00:00
  • 006320e1d4 AllocSetStats should probably be using unsigned format to show space totals. Tom Lane 2006-02-14 15:34:46 +00:00
  • e9b978c82b Need a DLLIMPORT for MaxFSMPages, per buildfarm failure on snake. Tom Lane 2006-02-14 15:03:59 +00:00
  • 99b384b8b6 Document that GRANT on a table does not affect sequence permissions, inclusing SERIAL column sequences. Bruce Momjian 2006-02-14 03:32:14 +00:00
  • e93b33754c Document that xact commit/abort stats are collected if any stat variable is set. Bruce Momjian 2006-02-14 02:03:44 +00:00
  • 2fc80b9ae6 Add positive defense against trying to connect when the connection option state hasn't been fully set up. This is possible via PQreset() and might occur in other code paths too, so a state flag seems the most robust solution. Per report from Arturs Zoldners. Tom Lane 2006-02-13 22:33:57 +00:00
  • 1cf13e6f36 IMHO, --single-transaction should wrap *all* the commands in BEGIN/COMMIT, not just some of them. Tom Lane 2006-02-13 21:30:19 +00:00
  • d537e0b41b Improve documentation of --single-transaction option: fix markup, and don't promise more than the code actually delivers. Tom Lane 2006-02-13 21:29:08 +00:00
  • f5ef3d4379 Place function names in first column for consistency. Bruce Momjian 2006-02-13 17:09:25 +00:00
  • dc9d11dc33 Fix qual_is_pushdown_safe to not try to push down quals involving a whole-row Var referencing the subselect output. While this case could possibly be made to work, it seems not worth expending effort on. Per report from Magnus Naeslund(f). Tom Lane 2006-02-13 16:22:38 +00:00
  • d8882a2c66 Fix qual_is_pushdown_safe to not try to push down quals involving a whole-row Var referencing the subselect output. While this case could possibly be made to work, it seems not worth expending effort on. Per report from Magnus Naeslund(f). Tom Lane 2006-02-13 16:22:29 +00:00
  • 4299a92d3c Fix qual_is_pushdown_safe to not try to push down quals involving a whole-row Var referencing the subselect output. While this case could possibly be made to work, it seems not worth expending effort on. Per report from Magnus Naeslund(f). Tom Lane 2006-02-13 16:22:23 +00:00
  • 562f63b0a7 Fix build failure when not USE_READLINE. Sergey E. Koposov Tom Lane 2006-02-13 14:57:15 +00:00
  • 589b67d34b Add: Bruce Momjian 2006-02-13 03:55:02 +00:00
  • 8325be229c Revert because C locale uses "" for thousands_sep, meaning "n/a", while French uses "" for "don't want". Seems we have to keep the existing behavior. Bruce Momjian 2006-02-12 23:48:23 +00:00
  • eb46ad568d Stamp 7.3.14. REL7_3_14 Tom Lane 2006-02-12 22:38:54 +00:00
  • a41379fbce Stamp 7.4.12. REL7_4_12 Tom Lane 2006-02-12 22:38:30 +00:00
  • a5746b8b09 Stamp 8.0.7. REL8_0_7 Tom Lane 2006-02-12 22:38:05 +00:00
  • d72c32a0d1 Stamp 8.1.3. REL8_1_3 Tom Lane 2006-02-12 22:37:44 +00:00
  • ee7c1a3fd4 Update release notes. Tom Lane 2006-02-12 22:36:16 +00:00
  • 8cef661bcf Update release notes. Tom Lane 2006-02-12 22:36:05 +00:00
  • 2d584b5c1b Update release notes. Tom Lane 2006-02-12 22:35:52 +00:00
  • ef434ebfbc Update release notes. Tom Lane 2006-02-12 22:35:36 +00:00
  • 47a048f3f3 Update release notes. Tom Lane 2006-02-12 22:35:26 +00:00
  • 118f54d06d Fix bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled (CVE-2006-0553). Thanks to Akio Ishida for reporting this problem. Tom Lane 2006-02-12 22:33:47 +00:00
  • 7ef174c032 Fix bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled (CVE-2006-0553). Thanks to Akio Ishida for reporting this problem. Tom Lane 2006-02-12 22:33:29 +00:00
  • df2c740c94 Fix bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled (CVE-2006-0553). Thanks to Akio Ishida for reporting this problem. Tom Lane 2006-02-12 22:33:14 +00:00
  • 20334a9e86 Fix bug that allowed any logged-in user to SET ROLE to any other database user id (CVE-2006-0553). Also fix related bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled. The escalation-of-privilege risk exists only in 8.1.0-8.1.2. However, the Assert-crash risk exists in all releases back to 7.3. Thanks to Akio Ishida for reporting this problem. Tom Lane 2006-02-12 22:32:57 +00:00
  • 226a980bb0 Fix bug that allowed any logged-in user to SET ROLE to any other database user id (CVE-2006-0553). Also fix related bug in SET SESSION AUTHORIZATION that allows unprivileged users to crash the server, if it has been compiled with Asserts enabled. The escalation-of-privilege risk exists only in 8.1.0-8.1.2. However, the Assert-crash risk exists in all releases back to 7.3. Thanks to Akio Ishida for reporting this problem. Tom Lane 2006-02-12 22:32:43 +00:00
  • 2a5180c26e Throw a warning rather than an error on invalid character from UTF8 to Latin1, like we do for other Latin encodings. Bruce Momjian 2006-02-12 21:15:19 +00:00
  • b71e2bb122 Fix broken markup. Tom Lane 2006-02-12 21:13:00 +00:00
  • 1ac1526ea0 Fix broken markup. Tom Lane 2006-02-12 20:31:58 +00:00
  • 6e51bcef8e Back out patch pending review. Bruce Momjian 2006-02-12 20:08:29 +00:00
  • 3e682635e3 > I've now tested this patch at home w/ 8.2HEAD and it seems to fix the > bug. I plan on testing it under 8.1.2 at work tommorow with > mod_auth_krb5, etc, and expect it'll work there. Assuming all goes > well and unless someone objects I'll forward the patch to -patches. > It'd be great to have this fixed as it'll allow us to use Kerberos to > authenticate to phppgadmin and other web-based tools which use > Postgres. Bruce Momjian 2006-02-12 20:04:42 +00:00
  • 2cb61220eb Support "" for thousands separator and plus sign in to_char(), per report from French Debian user. psql already handles "" fine. Bruce Momjian 2006-02-12 19:52:06 +00:00
  • 05e27a9c20 Remove LEFT part of JOIN to pg_roles because of optimizer limitation: Bruce Momjian 2006-02-12 19:31:14 +00:00
  • 68f34bf281 Update README file. Bruce Momjian 2006-02-12 19:24:35 +00:00
  • 7d57a1825f Update README file. Bruce Momjian 2006-02-12 19:24:24 +00:00
  • 544ccf6ce6 Update wording for 8.1.X, remove <only>: Bruce Momjian 2006-02-12 19:19:37 +00:00
  • 3694e70682 Not done: Bruce Momjian 2006-02-12 19:13:19 +00:00
  • 04a2b54c09 Revert patch becaues of locking concerns: Bruce Momjian 2006-02-12 19:11:01 +00:00
  • a22873a19e > Actually, if you submit a patch that says either "SCROLL is the default" > or "NO SCROLL is the default", it will be rejected as incorrect. The > reason is that the default behavior is different from either of these, > as is explained in the NOTES section. Bruce Momjian 2006-02-12 19:02:28 +00:00
  • 92a26489ac > Actually, if you submit a patch that says either "SCROLL is the default" > or "NO SCROLL is the default", it will be rejected as incorrect. The > reason is that the default behavior is different from either of these, > as is explained in the NOTES section. Bruce Momjian 2006-02-12 19:02:15 +00:00
  • 9bb401cd73 Update FAQ latest version Bruce Momjian 2006-02-12 18:50:45 +00:00
  • 86b2da894a Update FAQ latest version Bruce Momjian 2006-02-12 18:50:26 +00:00
  • da91fde3e8 Update FAQ latest version Bruce Momjian 2006-02-12 18:50:07 +00:00
  • 34d9bbee4d Stamp releases for 2006-02-14 release Bruce Momjian 2006-02-12 18:42:20 +00:00
  • 5ae9c6138b Stamp releases for 2006-02-14 release Bruce Momjian 2006-02-12 18:41:53 +00:00
  • 81c303c514 Stamp releases for 2006-02-14 release Bruce Momjian 2006-02-12 18:41:39 +00:00
  • c551fd362e Stamp releases for 2006-02-14 release Bruce Momjian 2006-02-12 18:41:22 +00:00
  • dfa879bc98 Update release notes for 2006-02-14 release Bruce Momjian 2006-02-12 18:23:46 +00:00
  • dd56158eef Update release notes for 2006-02-14 release Bruce Momjian 2006-02-12 18:23:22 +00:00
  • db4534e31f Update release notes for 2006-02-14 release Bruce Momjian 2006-02-12 18:23:00 +00:00
  • 003daafb0d Fix release item ordering. Bruce Momjian 2006-02-12 18:14:29 +00:00
  • 0bbd470443 Fix release item ordering. Bruce Momjian 2006-02-12 18:13:10 +00:00
  • 12ea69aaf5 Update back branch release notes. Bruce Momjian 2006-02-12 17:58:31 +00:00
  • 6df2da06bd Update back branch release notes. Bruce Momjian 2006-02-12 17:57:37 +00:00
  • d9dafcc5d6 Fix release markup. Bruce Momjian 2006-02-12 17:28:23 +00:00
  • a321d6755f Fix release markup. Bruce Momjian 2006-02-12 17:27:33 +00:00
  • 10d78c76e9 Update release checlist. Bruce Momjian 2006-02-12 17:23:31 +00:00
  • a318438fb3 Stamp 8.1.3, but exclude configure.in/configure change. Bruce Momjian 2006-02-12 17:17:39 +00:00
  • cffed790ec Update for 8.1.3. Bruce Momjian 2006-02-12 17:15:57 +00:00
  • 3a9c81e3e9 Update release notes for 8.1.3. Bruce Momjian 2006-02-12 17:11:28 +00:00
  • 720bad3b32 Update release notes for 8.1.3. Bruce Momjian 2006-02-12 17:10:47 +00:00
  • 21e567ba2f Improve tab completion macro for default keywords. Bruce Momjian 2006-02-12 15:25:04 +00:00
  • a7dc90d9f6 When performing a parallel build (make -j N) with ./configure --enable-depend it often tries to create the .deps directory twice and bails out when it already exists due to a race condition of if doesn't exist, then create. This patch prevents mkdir from returning an error. Bruce Momjian 2006-02-12 07:29:36 +00:00
  • 79b9564330 List psql tab completion for various default keywords. Bruce Momjian 2006-02-12 07:21:40 +00:00
  • 20b508308a Done: Bruce Momjian 2006-02-12 06:51:14 +00:00
  • 15c72174f3 Apply code-reviewed version of for-scalar-list patch: mostly, fixing it to report reasonable errors in error cases. Tom Lane 2006-02-12 06:37:05 +00:00
  • 58634caa0f Add MSVC support for utility commands and pg_dump. Bruce Momjian 2006-02-12 06:11:51 +00:00
  • 025ffe586f Allow PL/pgSQL FOR statement to return values to scalars as well as records and row types. Bruce Momjian 2006-02-12 06:03:38 +00:00