Commit Graph

  • 3a8f67d091 Fix compile problem with Win32 macro used inside another macro. Bruce Momjian 2003-04-05 19:54:12 +00:00
  • d46e643822 Add Win32 path handling for / vs. \ and drive letters. Bruce Momjian 2003-04-04 20:42:13 +00:00
  • 9bad936f67 Handle cp, rm, and exec for Win32. Bruce Momjian 2003-04-04 20:40:45 +00:00
  • 9c264975d5 Fix some signed-vs-unsigned-int issues; make print_aligned_vertical safe for zero-column tables. Tom Lane 2003-04-04 15:48:38 +00:00
  • eb5e4c58d1 Tighten up register usage for inline PPC version of tas(). Tom Lane 2003-04-04 06:57:39 +00:00
  • cd35d601b8 Put the isync where it's supposed to be. Tom Lane 2003-04-04 05:32:30 +00:00
  • d685417fbb Avoid repeated computation of the constants date2j(1970, 1, 1) and date2j(2000, 1, 1). Should make for some marginal speed improvement in date/time operations. Tom Lane 2003-04-04 04:50:44 +00:00
  • 3b4ca4c0d9 Code review for pg_stat_get_backend_activity_start patch --- fix return type, make protection condition agree with recent change to pg_stat_get_backend_activity, clean up documentation. Tom Lane 2003-04-04 03:03:54 +00:00
  • 8fe728b009 Back-patch changes to validate page header fields immediately after reading in any page. Also back-port the zero_damaged_pages boolean that determines what to do about it. Tom Lane 2003-04-04 00:32:57 +00:00
  • a385186ff7 Remove zero_damaged_pages from postgresql.conf.sample; the only way to find out about it is to read the documentation that tells you how dangerous it is. Add default_transaction_read_only to documentation; seems to have been overlooked in patch that added read-only transactions. Clean up check_guc comparison script, which has been suffering bit rot. Tom Lane 2003-04-03 23:32:47 +00:00
  • f1fb9e0097 Prevent EXPLAIN (without ANALYZE) SELECT ... INTO from creating an INTO table. Needed due to recent change that makes us call ExecutorStart even when not planning to carry out the query. Tom Lane 2003-04-03 22:35:48 +00:00
  • 14e6823c7c Don't re-invent the strchr() wheel. Tom Lane 2003-04-03 21:50:23 +00:00
  • 61c9ea0f3c Fix load_user/load_group to not leave dangling pointers around if the config files are present on one pass and not present on a later pass. Tom Lane 2003-04-03 21:25:02 +00:00
  • c19354dfb5 const-ify functions used with completion_matches(), to suppress cast-away-const warnings from compilers pickier than gcc. Tom Lane 2003-04-03 20:18:16 +00:00
  • a880697f09 Repair incorrect checking of grouped/ungrouped variables in the presence of unnamed joins; per pghackers discussion 31-Mar-03. Tom Lane 2003-04-03 18:04:17 +00:00
  • 906dce0464 Repair incorrect checking of grouped/ungrouped variables in the presence of unnamed joins; per pghackers discussion 31-Mar-03. Tom Lane 2003-04-03 18:04:09 +00:00
  • cdbd298b3a Add prototype for toupper/tolower(). Bruce Momjian 2003-04-03 05:25:41 +00:00
  • d79f743d51 Done in previous release: Bruce Momjian 2003-04-02 22:44:50 +00:00
  • 07b776f52f Fix buffer overrun in to_ascii(), per report from Guido Notari. Tom Lane 2003-04-02 21:08:14 +00:00
  • 8af8be8633 Fix buffer overrun in to_ascii(), per report from Guido Notari. Tom Lane 2003-04-02 21:08:07 +00:00
  • ec54a6efcf Fix buffer overrun in to_ascii(), per report from Guido Notari. Tom Lane 2003-04-02 21:07:59 +00:00
  • 794162bb1a Fix convSockAddr6to4(): eliminate bogus assumptions about byte ordering, remove useless SockAddr_ntop() call. Per report from Andreas Pflug. Tom Lane 2003-04-02 20:00:21 +00:00
  • d6f1aa9760 Fix platform-dependent failure introduced by recent to_char changes (ye good olde uninitialized-local-variable). Tom Lane 2003-04-02 02:33:52 +00:00
  • 1d650da2e5 This is a derived file and should never have been added to CVS. Tom Lane 2003-04-02 00:58:08 +00:00
  • 1da6eb7fda Whack getaddrinfo() patch around until it works, more or less, on machines without IPv6. Or at least it works on HPUX 10.20 ... Tom Lane 2003-04-02 00:49:28 +00:00
  • f8a15f632d Add missing semicolon. Tom Lane 2003-04-01 23:42:55 +00:00
  • 7b85b730f5 More patches for informix compatibility. Michael Meskes 2003-04-01 14:37:25 +00:00
  • 52bc8cadd4 Update Russian FAQ, from Viktor Vislobokov Bruce Momjian 2003-04-01 03:10:44 +00:00
  • 7c100e96b7 Please, apply patch for contrib/ltree to current CVS and 7.3.2 Bruce Momjian 2003-03-31 20:59:20 +00:00
  • baf6c8d21d Please, apply patch for contrib/ltree to current CVS and 7.3.2 Bruce Momjian 2003-03-31 20:53:45 +00:00
  • d307a954e7 Skip START WITH in sequence definition when it's the default value -- and hasn't been called yet. Bruce Momjian 2003-03-31 20:48:45 +00:00
  • 50be3e5efe The following patch cleans up the deferred trigger mechanism. There is an unneeded memory context and some variables that are not used anymore. It's pretty trivial and the regression tests pass fine. There's no change in functionality, only deletion of unused code. I left an empty function because maybe I'll need it for nested transactions. Bruce Momjian 2003-03-31 20:47:51 +00:00
  • 28afe6f8ef TestConfiguration returns int, not bool. This mistake is relatively harmless on signed-char machines but would lead to core dump in the deadlock detection code if char is unsigned. Amazingly, this bug has been here since 7.1 and yet wasn't reported till now. Thanks to Robert Bruccoleri for providing the opportunity to track it down. Tom Lane 2003-03-31 20:33:09 +00:00
  • 28295da0a5 TestConfiguration returns int, not bool. This mistake is relatively harmless on signed-char machines but would lead to core dump in the deadlock detection code if char is unsigned. Amazingly, this bug has been here since 7.1 and yet wasn't reported till now. Thanks to Robert Bruccoleri for providing the opportunity to track it down. Tom Lane 2003-03-31 20:32:50 +00:00
  • 7cd30e1590 TestConfiguration returns int, not bool. This mistake is relatively harmless on signed-char machines but would lead to core dump in the deadlock detection code if char is unsigned. Amazingly, this bug has been here since 7.1 and yet wasn't reported till now. Thanks to Robert Bruccoleri for providing the opportunity to track it down. Tom Lane 2003-03-31 20:32:29 +00:00
  • 80597fd992 Fix broken markup. Tom Lane 2003-03-30 21:48:37 +00:00
  • ba4de4e06a Properly document default value of log_min_error_statement in postgresql.conf. Bruce Momjian 2003-03-30 21:38:13 +00:00
  • 5e1c330227 Properly document default value of log_min_error_statement in postgresql.conf. Bruce Momjian 2003-03-30 21:38:02 +00:00
  • b602639dc6 Backpatch SSL return value changes. Bruce Momjian 2003-03-30 21:36:44 +00:00
  • 5e37f16be0 Forgot two new files and one that was moved. Michael Meskes 2003-03-30 13:26:09 +00:00
  • 999f12982e Moved Informix stuff to its own compat library. Interval datetype is now fully functional. Michael Meskes 2003-03-30 11:48:19 +00:00
  • 82a91eb54e Simplify the socket handling code by supplying a replacement getaddrinfo() function if the OS doesn't provide one. Peter Eisentraut 2003-03-29 11:31:52 +00:00
  • bf7ca0a769 [ Backpatch to 7.3.X.] Bruce Momjian 2003-03-29 05:00:15 +00:00
  • 8df03b2c86 [ Backpatch to 7.3.X.] Bruce Momjian 2003-03-29 03:57:05 +00:00
  • 0184db50a0 [ Backpatch to 7.3.X.] Bruce Momjian 2003-03-29 03:56:44 +00:00
  • fd42262836 Add code to apply some simple sanity checks to the header fields of a page when it's read in, per pghackers discussion around 17-Feb. Add a GUC variable zero_damaged_pages that causes the response to be a WARNING followed by zeroing the page, rather than the normal ERROR; this is per Hiroshi's suggestion that there needs to be a way to get at the data in the rest of the table. Tom Lane 2003-03-28 20:17:13 +00:00
  • bb3c00ee28 Regression output didn't get updated to match recent commit. Tom Lane 2003-03-28 17:24:28 +00:00
  • c7d7788d07 Fix NULL casting warning, pointed out by Joe Conway Bruce Momjian 2003-03-28 16:34:50 +00:00
  • c2d5abae9b Fix number of columns in SGML, from Weiping He Bruce Momjian 2003-03-28 00:23:29 +00:00
  • a69550a363 Fix bogus coding of SET DEFAULT ri triggers ... or at least make it less bogus than it was. Per bug report from Adrian Pop. Tom Lane 2003-03-27 19:25:52 +00:00
  • 1bd159e4e9 Fix bogus coding of SET DEFAULT ri triggers ... or at least make it less bogus than it was. Per bug report from Adrian Pop. Tom Lane 2003-03-27 19:25:40 +00:00
  • 15b9e2c5ff Add <stdlib> to add calloc() prototype. Bruce Momjian 2003-03-27 17:25:34 +00:00
  • 6f2d02d306 Fix syntax error in to_char fixes --- was defining variable in main code block, ala C++. Bruce Momjian 2003-03-27 17:10:55 +00:00
  • 9b59ddfb40 It may not be obvious to you, but the plpython regression tests include output that vary depending on the python build one is running. Basically, the order of keys in a dictionary is non-deterministic, and that part of the test fails for me regularly. Bruce Momjian 2003-03-27 16:58:21 +00:00
  • c75d65485d New \d format: Bruce Momjian 2003-03-27 16:57:39 +00:00
  • 5e8499d995 Add new file. Bruce Momjian 2003-03-27 16:55:11 +00:00
  • 4b0b8dadd2 Add new files. Bruce Momjian 2003-03-27 16:53:15 +00:00
  • 54f7338fa1 This patch implements holdable cursors, following the proposal (materialization into a tuple store) discussed on pgsql-hackers earlier. I've updated the documentation and the regression tests. Bruce Momjian 2003-03-27 16:51:29 +00:00
  • 7638087882 Remove email file. Bruce Momjian 2003-03-27 16:47:58 +00:00
  • fef89414e6 Done: Bruce Momjian 2003-03-27 16:47:10 +00:00
  • 64c1399dac * Make pg_get_triggerdef documentation consistent with other pg_get_ functions * Document pg_conversion_is_visible() which was created in one of my previous patches and didn't get documented for some reason Bruce Momjian 2003-03-27 16:45:51 +00:00
  • a6699f6185 Attached are two patches for psql's tab-completion.c. Bruce Momjian 2003-03-27 16:45:01 +00:00
  • 9d6f5ee860 Adds Bruce Momjian 2003-03-27 16:43:07 +00:00
  • b099d9e7eb Reorder language creation to restore constistently. Bruce Momjian 2003-03-27 16:39:17 +00:00
  • 7a3e7b64ac to_char fixes, Karel Zak Bruce Momjian 2003-03-27 16:35:31 +00:00
  • 9ae5b8cb92 GetTupleForTrigger must use outer transaction's command counter for time qual checking, not GetCurrentCommandId. Per test case from Steve Wolfe. Tom Lane 2003-03-27 14:33:21 +00:00
  • bf576cc014 GetTupleForTrigger must use outer transaction's command counter for time qual checking, not GetCurrentCommandId. Per test case from Steve Wolfe. Tom Lane 2003-03-27 14:33:11 +00:00
  • 89508a8492 More changes to pgtypeslib and set optimization to -O1. Michael Meskes 2003-03-27 14:29:17 +00:00
  • 5e5c5cd31a Merge documentation into one book. (Build with "make html".) Replace vague cross-references with real links. Peter Eisentraut 2003-03-25 16:15:44 +00:00
  • 685a4934d2 I mean, bison 1.875. :-) Bruce Momjian 2003-03-25 15:11:53 +00:00
  • d49800de31 Mention bison 1.85 is now required. Bruce Momjian 2003-03-25 14:58:15 +00:00
  • 2c19928301 plpgsql can assign to subscripted variables now, e.g. x[42] := whatever; The facility is pretty primitive because it doesn't do array slicing and it has the same semantics as array update in SQL (array must already be non-null, etc). But it's a start. Tom Lane 2003-03-25 03:16:41 +00:00
  • 9e29b32e78 patch to notify listeners on error from Csaba Nagy Dave Cramer 2003-03-25 02:46:23 +00:00
  • f1792b932c Use PQfreemem() consistently, and document its use for Notify. Bruce Momjian 2003-03-25 02:44:36 +00:00
  • 6a19c6dccf added DISTINCT to the query to get cross reference. This is required when two columns in a table are both foreign keys to another table. From Peter Royal proyal@pace2020.com Dave Cramer 2003-03-25 02:28:45 +00:00
  • 326b2f96ae fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green, slightly modified Dave Cramer 2003-03-25 02:24:07 +00:00
  • a6f056987e fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green, slightly modified Dave Cramer 2003-03-25 02:23:10 +00:00
  • 1c4f2a63c0 added DISTINCT to the query to get cross reference. This is required when two columns in a table are both foreign keys to another table. From Peter Royal proyal@pace2020.com Dave Cramer 2003-03-25 02:01:19 +00:00
  • b27eb64e61 fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green Dave Cramer 2003-03-25 01:57:03 +00:00
  • 316c5cbfd3 Factor out duplicate code for computing values of PLpgSQL_datum items. This is to help localize the changes needed for adding a new kind of PLpgSQL_datum (like, say, an array element...) Tom Lane 2003-03-25 00:34:24 +00:00
  • 6ba159f9cf Ignore SIGXFSZ (if platform has it), so that ulimit violations work like disk-full conditions instead of provoking a backend crash. Per suggestion from Frederic Surleau. Tom Lane 2003-03-24 22:40:14 +00:00
  • fddc2d94ce Modify keys_are_unique optimization to release buffer pins before it returns NULL. This avoids out-of-buffers failures during many-way indexscans, as in Shraibman's complaint of 21-Mar. Tom Lane 2003-03-24 21:42:33 +00:00
  • 346182ca92 Add comment to postgresql.conf: Bruce Momjian 2003-03-24 20:39:10 +00:00
  • 8670e3588f Prevent multiple queries in a single string into a single transaction when autocommit is off, and document grouping when autocommit is on. Bruce Momjian 2003-03-24 18:33:52 +00:00
  • d258ba01ec Another big editing pass for consistent content and presentation. Peter Eisentraut 2003-03-24 14:32:51 +00:00
  • 74a665a8b3 New build number Barry Lind 2003-03-24 04:01:38 +00:00
  • e27334f405 New build number Barry Lind 2003-03-24 04:01:02 +00:00
  • 8e2ca1a7d8 Backport fix for parsing acls (didn't correctly interpret null acl to mean table owner has privs) Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java Barry Lind 2003-03-24 03:49:49 +00:00
  • 1e3372e6bb Fix bug in reading acls (didn't treat null acl as meaning the table owner had full privs), also updated the regression test for this case. Barry Lind 2003-03-24 03:48:32 +00:00
  • 0489783011 Adjust amrescan code so that it's allowed to call index_rescan with a NULL key pointer, indicating that the existing scan key should be reused. This behavior isn't used yet but will be needed for my planned fix to the keys_are_unique code. Tom Lane 2003-03-23 23:01:03 +00:00
  • 579adfd654 Band-aid patch for Shraibman's 'out of free buffers' bug: disable the keys_are_unique optimization introduced in 7.3. A better fix will appear in 7.4, but I think back-patching it is too risky for the stable branch. Tom Lane 2003-03-23 21:55:14 +00:00
  • cb1672e9f8 Rename README in autovacuum code to match Makefile. Bruce Momjian 2003-03-23 20:16:06 +00:00
  • 8d9e025e7f Instead of storing pg_statistic stavalues entries as text strings, store them as arrays of the internal datatype. This requires treating the stavalues columns as 'anyarray' rather than 'text[]', which is not 100% kosher but seems to work fine for the purposes we need for pg_statistic. Perhaps in the future 'anyarray' will be allowed more generally. Tom Lane 2003-03-23 05:14:37 +00:00
  • 2d0cf42cd4 Tweak selectivity and related routines to cope with domains. Per report from Andreas Pflug. Tom Lane 2003-03-23 01:49:13 +00:00
  • efeffae245 Tweak selectivity and related routines to cope with domains. Per report from Andreas Pflug. Tom Lane 2003-03-23 01:49:02 +00:00
  • 8f5fb5f24e Remove ecpg #warning with approval from Michael. Bruce Momjian 2003-03-22 19:48:41 +00:00
  • 268bbf430f Add missing #include for calloc in ecpg. Bruce Momjian 2003-03-22 17:12:23 +00:00
  • 9323cb0aab Department of second thoughts: probably shouldn't use nth() to get the appropriate targetlist entry out of the subquery. Use an explicit search like we do everywhere else. Tom Lane 2003-03-22 17:11:25 +00:00
  • ed11ccf4d4 Fix comment-only query to return Null result set, rather than nothing. Bruce Momjian 2003-03-22 04:23:34 +00:00
  • 23ecb8855d Add PQfreemem() call for Win32. Bruce Momjian 2003-03-22 03:29:06 +00:00