Commit Graph

  • 5c83b510be Fix typo. Alvaro Herrera 2006-08-11 18:51:50 +00:00
  • 0d5877ab0c Update for company URL. Bruce Momjian 2006-08-11 18:47:57 +00:00
  • 3638eff501 Add URLs Bruce Momjian 2006-08-11 15:53:39 +00:00
  • 0ee26100b6 Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged have same data type and same typmod, we show that typmod as the output typmod, rather than generic -1. This responds to several complaints over the past few years about UNIONs unexpectedly dropping length or precision info. Tom Lane 2006-08-10 02:36:29 +00:00
  • b6f564c012 Move Win32 inline define to win32.h so it is found, rather than c.h. (cleaner) Bruce Momjian 2006-08-10 01:45:17 +00:00
  • e860e746e1 Return inline to win32.h because code was OK, but keep additional comment. 8.1.X is not affected by this commit. Bruce Momjian 2006-08-10 01:41:29 +00:00
  • 512d7eab82 Move "#define inline __inline" from port/win32.h to c.h because Win32 interface builds like libpq need it. Bruce Momjian 2006-08-10 01:35:28 +00:00
  • 3929b6e9f6 Move "#define inline __inline" from port/win32.h to c.h because Win32 interface builds like libpq need it. Bruce Momjian 2006-08-10 01:35:21 +00:00
  • a4f14fd109 Fix display of log duration so it is milliseconds.microseconds "ms". Bruce Momjian 2006-08-10 00:44:01 +00:00
  • 0bf9d3a59e Fix inadequate makefile-fu in ecpg regression tests. I think this will fix current platypus build failure. Tom Lane 2006-08-09 22:48:17 +00:00
  • a42c545f62 Round microseconds on setitimer upwards. Bruce Momjian 2006-08-09 21:18:15 +00:00
  • 6a7d3d093e Round microseconds on setitimer upwards. Bruce Momjian 2006-08-09 21:18:13 +00:00
  • 83b27b9180 On Win32, make minimum setitimer() sleep be 1ms, so sleeps < 1ms aren't rounded down to zero. Bruce Momjian 2006-08-09 20:41:07 +00:00
  • 0553a0507c On Win32, make minimum setitimer() sleep be 1ms, so sleeps < 1ms aren't rounded down to zero. Bruce Momjian 2006-08-09 20:40:56 +00:00
  • 64214a2f01 Add URL for typmod: Bruce Momjian 2006-08-09 18:10:34 +00:00
  • 1e35f9aa04 Fix statement_timeout on Win32 so that it properly treats micro-seconds as micro-seconds, rather than as 100 microseconds, as it does now. This actually fixes all setitimer calls on Win32, but statement_timeout is the most visible fix. Bruce Momjian 2006-08-09 17:47:06 +00:00
  • 8f73c88c7c Fix statement_timeout on Win32 so that it properly treats micro-seconds as micro-seconds, rather than as 100 microseconds, as it does now. This actually fixes all setitimer calls on Win32, but statement_timeout is the most visible fix. Bruce Momjian 2006-08-09 17:47:03 +00:00
  • f896b5e146 Formatting improvement. Bruce Momjian 2006-08-09 17:33:52 +00:00
  • b1d78fc9c7 Add URL: Bruce Momjian 2006-08-09 16:42:19 +00:00
  • c7fa4aa3e7 Add TODO items we don't want (Idea from Josh Berkus) Bruce Momjian 2006-08-09 16:35:51 +00:00
  • 4f81337d9d Update packages: Bruce Momjian 2006-08-09 14:55:39 +00:00
  • e6e61afe16 Fixed some memory bugs that somehow reappeared. Also fixed a new Coverity report. Michael Meskes 2006-08-09 09:08:32 +00:00
  • 7c9e2c75da Fixed error handling in numeric conversion (Joachim). Further regression cleanup. Michael Meskes 2006-08-09 07:30:56 +00:00
  • 8a7a6afe2d Suppress MSVC warnings about weak functions by using _CRT_SECURE_NO_DEPRECATE. Bruce Momjian 2006-08-09 03:09:56 +00:00
  • baefb735ff Update packages description: Bruce Momjian 2006-08-09 02:48:10 +00:00
  • bed7d5f635 Update packages: Bruce Momjian 2006-08-08 22:51:37 +00:00
  • 9d5d87a5db Fix win32.mak for config cleanup. Bruce Momjian 2006-08-08 22:44:05 +00:00
  • 7f139b813c Update: Bruce Momjian 2006-08-08 22:39:09 +00:00
  • 644e3fe368 Fix 'make clean' for change of regression.diffs file name. Tom Lane 2006-08-08 19:43:11 +00:00
  • b09bfcaa57 Add a feature for automatic initialization and finalization of dynamically loaded libraries: call functions _PG_init() and _PG_fini() if the library defines such symbols. Hence we no longer need to specify an initialization function in preload_libraries: we can assume that the library used the _PG_init() convention, instead. This removes one source of pilot error in use of preloaded libraries. Original patch by Ralf Engelschall, preload_libraries changes by me. Tom Lane 2006-08-08 19:15:09 +00:00
  • e00664da48 Reverse order of performance guides so powerpostgresql is first. Bruce Momjian 2006-08-08 19:05:24 +00:00
  • cbf0468d66 Add detail on packages: Bruce Momjian 2006-08-08 19:03:59 +00:00
  • 46d759cfff Add package item: Bruce Momjian 2006-08-08 19:02:13 +00:00
  • c554bf878f Fix definition of "errcode" for MSVC. Bruce Momjian 2006-08-08 18:49:14 +00:00
  • 2392cdb795 Done: Bruce Momjian 2006-08-08 17:40:02 +00:00
  • 2b3d2717c4 Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com> Teodor Sigaev 2006-08-08 15:46:31 +00:00
  • 3672084fe6 Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com> Teodor Sigaev 2006-08-08 15:46:09 +00:00
  • 09e33d1628 Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com> Teodor Sigaev 2006-08-08 15:45:56 +00:00
  • 73761f3659 Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com> Teodor Sigaev 2006-08-08 15:45:24 +00:00
  • e7d490f91d Fix bug introduced by last patch, thanks again to Mario Weilguni <mweilguni@sime.com> Teodor Sigaev 2006-08-08 15:45:18 +00:00
  • 79a1a2ec6b Cleaned up log output a little bit more. Michael Meskes 2006-08-08 15:30:39 +00:00
  • 75b5630726 Clarified COPY FROM STDIN in ecpg todo Michael Meskes 2006-08-08 11:52:51 +00:00
  • 6e11202dbe Made parser check for valid copy to/from stdin/stdout combinations. Lots of small changes in regression test suite Michael Meskes 2006-08-08 11:51:25 +00:00
  • d42cb5d880 Done: Bruce Momjian 2006-08-08 01:24:36 +00:00
  • 3716f90c39 For protocol-level prepare/bind/execute: Bruce Momjian 2006-08-08 01:23:15 +00:00
  • 2dd7ab0627 Put back another improperly-removed #include. Tom Lane 2006-08-07 21:56:25 +00:00
  • 01c74da47e Back-port HEAD's configure fixes to select appropriate compiler switches for Intel's icc and AIX's xlc. Tom Lane 2006-08-07 20:08:57 +00:00
  • 804e7c5c53 Back-port HEAD's configure fixes to select appropriate compiler switches for Intel's icc and AIX's xlc. Tom Lane 2006-08-07 20:08:44 +00:00
  • 3da93a0a3b fix bug about modifying value in shared buffer, what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug. Teodor Sigaev 2006-08-07 17:42:54 +00:00
  • 8f0b1d044c fix bug about modifying value in shared buffer, what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug. Teodor Sigaev 2006-08-07 17:42:12 +00:00
  • 2dc7c88c2e On some platforms, pg_usleep isn't interruptible by signals; fix archiver to behave per original coder's expectation on these machines. We already know this everywhere else AFAICT. Tom Lane 2006-08-07 17:41:42 +00:00
  • 9a7788fb4d fix bug about modifying value in shared buffer, what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug. Teodor Sigaev 2006-08-07 17:40:53 +00:00
  • e33ab5b6d5 fix bug about modifying value in shared buffer, what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug. Teodor Sigaev 2006-08-07 17:40:20 +00:00
  • 6d54320002 fix bug about modifying value in shared buffer, what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug. Teodor Sigaev 2006-08-07 17:39:04 +00:00
  • e002836913 Make recovery from WAL be restartable, by executing a checkpoint-like operation every so often. This improves the usefulness of PITR log shipping for hot standby: formerly, if the standby server crashed, it was necessary to restart it from the last base backup and replay all the WAL since then. Now it will only need to reread about the same amount of WAL as the master server would. The behavior might also come in handy during a long PITR replay sequence. Simon Riggs, with some editorialization by Tom Lane. Tom Lane 2006-08-07 16:57:57 +00:00
  • 977ac90001 Joachim fixed some bugs in numeric handling in pgtypeslib. Fixed and cleaned up some regression tests. Also added a new one. Michael Meskes 2006-08-07 13:17:02 +00:00
  • 23dc308245 Tweak sanity_check regression test to display more tables (viz, those without indexes) but not to display temp tables. It's a bit hard to credit that sanity_check could get through a database-wide VACUUM while the preceding create_index test is still trying to clean up its temp tables ... but I see no other explanation for the current failure report from buildfarm member sponge. Tom Lane 2006-08-06 04:35:21 +00:00
  • 704ddaaa09 Add support for forcing a switch to a new xlog file; cause such a switch to happen automatically during pg_stop_backup(). Add some functions for interrogating the current xlog insertion point and for easily extracting WAL filenames from the hex WAL locations displayed by pg_stop_backup and friends. Simon Riggs with some editorialization by Tom Lane. Tom Lane 2006-08-06 03:53:44 +00:00
  • c0dc166adc Use better named loop variable for large loop, rather than 'i'. Bruce Momjian 2006-08-06 02:00:52 +00:00
  • 635d42e9c3 Fix inheritance_planner() to delete dummy subplans from its Append plan list, when some of the child rels have been excluded by constraint exclusion. This doesn't save a huge amount of time but it'll save some, and it makes the EXPLAIN output look saner. We already did the equivalent thing in set_append_rel_pathlist(), but not here. Tom Lane 2006-08-05 17:21:52 +00:00
  • 1d28bf2589 Two more changes to regression tests to fix two differences in different setups. Michael Meskes 2006-08-05 16:48:48 +00:00
  • 381ebcd21f Fix references to the Options section in the pgcrypto documentation. Patch from Michael Fuhr. Neil Conway 2006-08-05 00:29:14 +00:00
  • 63d3f5e593 Fix references to the Options section in the pgcrypto documentation. Patch from Michael Fuhr. Neil Conway 2006-08-05 00:29:11 +00:00
  • 5f789c5ead Extend relation_excluded_by_constraints() to check for mutually contradictory WHERE-clauses applied to a relation. This makes the GUC variable constraint_exclusion rather inappropriately named, but I've refrained for the moment from renaming it. Per example from Martin Lesser. Tom Lane 2006-08-05 00:22:49 +00:00
  • 6357f4ea72 Teach predicate_refuted_by() how to do proofs involving NOT-clauses. This doesn't matter too much for ordinary NOTs, since prepqual.c does its best to get rid of those, but it helps with IS NOT TRUE clauses which the rule rewriter likes to insert. Per example from Martin Lesser. Tom Lane 2006-08-05 00:21:14 +00:00
  • 3f23f4eec8 Add some blank lines for formatting. Bruce Momjian 2006-08-04 22:20:06 +00:00
  • c68489863c Fix domain_in() bug exhibited by Darcy Buskermolen. The idea of an EState that's shorter-lived than the expression state being evaluated in it really doesn't work :-( --- we end up with fn_extra caches getting deleted while still in use. Rather than abandon the notion of caching expression state across domain_in calls altogether, I chose to make domain_in a bit cozier with ExprContext. All we really need for evaluating variable-free expressions is an ExprContext, not an EState, so I invented the notion of a "standalone" ExprContext. domain_in can prevent resource leakages by doing a ReScanExprContext on this rather than having to free it entirely; so we can make the ExprContext have the same lifespan (and particularly the same per_query memory context) as the expression state structs. Tom Lane 2006-08-04 21:33:36 +00:00
  • bf7b205e16 #ifdef fix for MSVC builds of libpq. Bruce Momjian 2006-08-04 18:58:33 +00:00
  • c8961bf1ce Improve logging of protocol-level prepared statements. Bruce Momjian 2006-08-04 18:53:46 +00:00
  • ad269d5e3b Fix bug in new pg_dump -T/-N handling that was dumping system schemas if these options were used before -n/-t. Bruce Momjian 2006-08-04 18:32:15 +00:00
  • 6db6714ffc Remove redeclaration of struct sqlca_t --- unnecessary and provokes warnings on some compilers. Tom Lane 2006-08-04 16:54:05 +00:00
  • 3467758809 Fix missing 'static' keywords --- some compilers gripe about this. Tom Lane 2006-08-04 16:42:56 +00:00
  • a7d400ad07 Fix inadequate quoting in test for AIX xlc. Tom Lane 2006-08-04 15:16:14 +00:00
  • 5d844d3271 'make clean' must remove the create subdirectories results/ and log/, not merely remove their contents. Else 'cvs update' complains. Tom Lane 2006-08-04 14:18:09 +00:00
  • e2d34d75e7 Teach eval_const_expressions to simplify BooleanTest nodes that have constant input. Seems worth doing because rule rewriter inserts IS NOT TRUE tests into WHERE clauses. Tom Lane 2006-08-04 14:09:51 +00:00
  • 3ceaa97b3c Regression test updates and fixes Michael Meskes 2006-08-04 08:52:18 +00:00
  • a83437fcfd Slight wording improvement in documentation. Bruce Momjian 2006-08-04 04:07:38 +00:00
  • 9ac2f2e8ea Add missing ecpg function prototype needed when in threaded mode --- supresses compiler warning. Bruce Momjian 2006-08-04 03:23:37 +00:00
  • 49954b4526 Add URL for terminate backend test: Bruce Momjian 2006-08-04 01:24:49 +00:00
  • c82264291e Add some basic tests of GUC behavior. Joachim Wieland Tom Lane 2006-08-04 00:00:14 +00:00
  • 7946f77220 Cause ALTER TABLE to perform ALTER COLUMN DROP DEFAULT operations during the DROP pass rather than the ADD_CONSTR pass. On examining the code I think this was just an oversight rather than intentional, and it seems to satisfy the principle of least surprise better than the alternative solution that was discussed. Add an example to the ref page showing how to do ALTER TYPE and update the default in one command. Per gripe from Markus Bertheau that that wasn't possible. Tom Lane 2006-08-03 20:57:06 +00:00
  • 89c07b18a6 Remove use of a regex character class in resultmap (for freebsd version check). This isn't supported by pg_regress since the recent rewrite into C. While we could add char classes to pg_regress.c's code, it's not really needed at the moment: thanks to Andrew's patch to make pg_regress always accept the 'standard' comparison file, we can just drop the version check. Tom Lane 2006-08-03 17:04:00 +00:00
  • f5b78fa51f Fix AfterTriggerExecute() to pass tg_trigtuple and tg_newtuple as NULLs rather than pointers to garbage, when calling AFTER STATEMENT triggers. Michael Fuhr Tom Lane 2006-08-03 16:04:41 +00:00
  • bc8ac3ce40 Add missing pgstat_count_index_scan(), per Andreas Seltenreich. Tom Lane 2006-08-03 15:22:09 +00:00
  • d841cc44c5 A few regression tests for VALUES, from Gavin Sherry. Tom Lane 2006-08-03 14:54:44 +00:00
  • 4b8378a671 Removed compiler warnings Michael Meskes 2006-08-03 14:50:11 +00:00
  • 27458bb4fa Applied test suite update by Joachim Wieland <joe@mcknight.de>. Michael Meskes 2006-08-03 13:11:04 +00:00
  • 961ec0ce9c Move 'ddl' right after 'none' in postgresql.conf. It used to be between 'mod' and 'all', which is not the right order. SGML documentation order was correct. Report from Chander Ganesan. Bruce Momjian 2006-08-02 21:48:43 +00:00
  • f1fa94a415 Fix logic to prevent pg_dump from dumping system schemas; bug introduced in recent -t/-n/-T/-N patch. Bruce Momjian 2006-08-02 21:43:43 +00:00
  • 959aee5bbf remove extraneous space after -L flag. Andrew Dunstan 2006-08-02 19:02:34 +00:00
  • 0dfb595d7a Arrange for ValuesScan to keep per-sublist expression eval state in a temporary context that can be reset when advancing to the next sublist. This is faster and more thorough at recovering space than the previous method; moreover it will do the right thing if something in the sublist tries to register an expression context callback. Tom Lane 2006-08-02 18:58:21 +00:00
  • dc84334f1e Fix documentation error: GRANT/REVOKE for roles only accept role names as grantees, not PUBLIC ... and you can't say GROUP either. Noted by Brian Hurt. Tom Lane 2006-08-02 16:30:00 +00:00
  • 9649b182a1 Fix documentation error: GRANT/REVOKE for roles only accept role names as grantees, not PUBLIC ... and you can't say GROUP either. Noted by Brian Hurt. Tom Lane 2006-08-02 16:29:49 +00:00
  • efc861a842 And finally the Makefiles Michael Meskes 2006-08-02 14:19:14 +00:00
  • e79aed7cba Wups, got the test for contain_vars_of_level-not-needed wrong in transformInsertStmt: the target table is already in p_rtable at that point. Tom Lane 2006-08-02 14:14:22 +00:00
  • 1f0a6cd60c Hopefully that's it. The remaining files for ecpg regression tests. Michael Meskes 2006-08-02 14:14:04 +00:00
  • 6392518c69 Add a HINT per suggestion from Michael Glaesemann. Also, tweak OLD/NEW test to avoid expensive contain_vars_of_level() scan in the normal case where we're not inside a rule. Tom Lane 2006-08-02 13:58:52 +00:00
  • b737f85e84 Some more regression test files Michael Meskes 2006-08-02 13:53:45 +00:00
  • 2682a4c01d One more file to remove Michael Meskes 2006-08-02 13:52:11 +00:00
  • 36e8d4e780 Removed old test files Michael Meskes 2006-08-02 13:51:32 +00:00