Commit Graph

  • 5a0152b3fd I think in datatype.sgml line 506 or so: <entry>varchar(n)</entry> <entry>(4+x) bytes</entry> Bruce Momjian 2000-11-16 06:03:40 +00:00
  • 312063c97b Make pgsql compile on FreeBSD-alpha. Bruce Momjian 2000-11-16 05:51:07 +00:00
  • 580d2bc60f Syslog Facility Patch Bruce Momjian 2000-11-16 05:50:01 +00:00
  • d807129503 Repair markup Peter Eisentraut 2000-11-15 19:43:39 +00:00
  • 76920de895 Rename parameter "hostname" to "virtual_host". Seemed very ambiguous... Peter Eisentraut 2000-11-15 18:36:06 +00:00
  • 85b762b499 Clean up array-dimensions parser a bit. This code still needs a lot of love, however ... Tom Lane 2000-11-14 23:28:13 +00:00
  • 12b401f739 Fix return type Peter Eisentraut 2000-11-14 21:26:21 +00:00
  • bea3b8ea35 spaces to tab Peter Eisentraut 2000-11-14 21:23:47 +00:00
  • d8a11b29c1 Give GCC on Irix a (theoretical) chance. Peter Eisentraut 2000-11-14 21:12:00 +00:00
  • 21e1e6643c Minor cleanup of tableOid-related coding. Tom Lane 2000-11-14 21:04:32 +00:00
  • b0d243e420 Clean up comments. Tom Lane 2000-11-14 20:47:34 +00:00
  • 0937bf9544 Small polishing of syslog facility and ident settings. Only allow setting at postmaster start, rename syslog_progid to syslog_ident, since syslog itself uses that term, fix doc markup. Peter Eisentraut 2000-11-14 19:13:27 +00:00
  • 2cf48ca04b Extend CREATE DATABASE to allow selection of a template database to be cloned, rather than always cloning template1. Modify initdb to generate two identical databases rather than one, template0 and template1. Connections to template0 are disallowed, so that it will always remain in its virgin as-initdb'd state. pg_dumpall now dumps databases with restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0. This allows proper behavior when there is user-added data in template1. initdb forced! Tom Lane 2000-11-14 18:37:49 +00:00
  • 8a9315ca92 Update and polish postmaster and postgres help output and man pages. Peter Eisentraut 2000-11-14 18:11:32 +00:00
  • 3eaf3363d7 Fix illegal combination of SearchSysCacheTuple() and heap_freetuple() in AlterTableOwner(). Hiroshi Inoue 2000-11-14 01:57:30 +00:00
  • 8f3b2b3a5c Add mention of new leading-slash handling of hostname to libpq docs. Bruce Momjian 2000-11-14 01:53:37 +00:00
  • 026643a6e7 Rename PortName to PortNumber. Bruce Momjian 2000-11-14 01:15:06 +00:00
  • ab47254757 Add mention of hostname leading slash handling to all manual pages that use -h. Bruce Momjian 2000-11-13 23:57:20 +00:00
  • ebd61ac03f Remove -k unix socketpath option from client side, allow hostname with leading slash to behave as a unix socket path. Bruce Momjian 2000-11-13 23:37:54 +00:00
  • d63a762f79 Ok, You guys are probably tired of me, BUT, here is another one, that adds the facility to set the program name used in syslog. (this includes the other ones). Bruce Momjian 2000-11-13 21:35:03 +00:00
  • b557be50a0 Fix for no hterror(). Bruce Momjian 2000-11-13 21:31:46 +00:00
  • 2150c2edf1 UUNET is looking into offering PostgreSQL as a part of a managed web hosting product, on both shared and dedicated machines. We currently offer Oracle and MySQL, and it would be a nice middle-ground. However, as shipped, PostgreSQL lacks the following features we need that MySQL has: Bruce Momjian 2000-11-13 15:18:15 +00:00
  • 7633cada54 SearchSysCacheTupleCopy() instead of SearchSysCache() Hiroshi Inoue 2000-11-13 09:16:55 +00:00
  • c7eb18fcf4 prevent open failure of VIEW Hiroshi Inoue 2000-11-13 09:06:36 +00:00
  • ebb0a20149 Keep track of the last active slot in the shared ProcState array, so that search loops only have to scan that far and not through all maxBackends entries. This eliminates a performance penalty for setting maxBackends much higher than the average number of active backends. Also, eliminate no-longer-used 'backend tag' concept. Remove setting of environment variables at backend start (except for CYR_RECODE), since none of them are being examined by the backend any longer. Tom Lane 2000-11-12 20:51:52 +00:00
  • f68b847504 Add new 7.0.3 item to all places. Bruce Momjian 2000-11-12 14:26:59 +00:00
  • c48025e799 Add new 7.0.3 item to all places. Bruce Momjian 2000-11-12 14:26:48 +00:00
  • 6835ca6298 put a quick, short note in about Tom's last bug fix for the 'double portal on abort' crash ... hopefully I'm sum'd up his explanation close enough? :) REL7_0_3 Marc G. Fournier 2000-11-12 07:31:36 +00:00
  • 6543d81d65 Restructure handling of inheritance queries so that they work with outer joins, and clean things up a good deal at the same time. Append plan node no longer hacks on rangetable at runtime --- instead, all child tables are given their own RT entries during planning. Concept of multiple target tables pushed up into execMain, replacing bug-prone implementation within nodeAppend. Planner now supports generating Append plans for inheritance sets either at the top of the plan (the old way) or at the bottom. Expanding at the bottom is appropriate for tables used as sources, since they may appear inside an outer join; but we must still expand at the top when the target of an UPDATE or DELETE is an inheritance set, because we actually need a different targetlist and junkfilter for each target table in that case. Fortunately a target table can't be inside an outer join... Bizarre mutual recursion between union_planner and prepunion.c is gone --- in fact, union_planner doesn't really have much to do with union queries anymore, so I renamed it grouping_planner. Tom Lane 2000-11-12 00:37:02 +00:00
  • 609f9199af Repair markup Peter Eisentraut 2000-11-11 23:27:48 +00:00
  • d55f878193 Markup enhancements, some factual corrections. Peter Eisentraut 2000-11-11 23:01:45 +00:00
  • 8095924bdd Make sure shell scripts send error messages to stderr. Improve help output. Teach droplang to remove 'pltclu'. Peter Eisentraut 2000-11-11 22:59:48 +00:00
  • b9c8faedde Allow more timezone-like interpretation of INTERVALs. Fix up labeling of some new test cases. Thomas G. Lockhart 2000-11-11 19:57:03 +00:00
  • d74c52c357 Allow more timezone-like interpretation of INTERVALs. Thomas G. Lockhart 2000-11-11 19:56:43 +00:00
  • a669bd74ee Check for existence of the results directory before invoking mkdir. Thomas G. Lockhart 2000-11-11 19:56:20 +00:00
  • 17d63245c7 Define conversions to and from text for date, time, and timetz. Thomas G. Lockhart 2000-11-11 19:55:39 +00:00
  • 89a99cb686 Allow interpretation of INTERVALs with more timezone-like syntax. Define conversions to and from text for date, time, and timetz. Have millisecond and microsecond return full # of seconds in those units. Previously, only returned full fractional part in those units. Thomas G. Lockhart 2000-11-11 19:55:19 +00:00
  • ecc367b764 Mention new AT TIME ZONE feature. Thomas G. Lockhart 2000-11-11 19:50:31 +00:00
  • bc20c41275 Fix bug in recent improvement to type resolution code. Forgot to retain "best choice" type category when resolving UNKNOWN function and operator arguments. Thanks to Tom Lane for finding test case. Thomas G. Lockhart 2000-11-11 19:49:26 +00:00
  • a8555ad4f9 Eliminate word rot Peter Eisentraut 2000-11-11 13:53:49 +00:00
  • 9e877702fc Update expected output to track recent code changes. Tom Lane 2000-11-10 23:19:46 +00:00
  • eafb636435 Update to PyGreSQL 3.1: Bruce Momjian 2000-11-10 22:29:21 +00:00
  • 960c186184 the bug was not fixed in the snapshot of November 5th. Also the enterprise edition of the driver did not compile. I have fixed both issues again. I have attached the modified files to this email, maybe you can check them into the repository. (Fixes are marked with //FIXME). Enterprise edition driver now compiles and seems to work. Bruce Momjian 2000-11-10 22:06:26 +00:00
  • a210023008 Adjust INET/CIDR display conventions and reimplement some INET/CIDR functions, per recent discussions on pghackers. For now, I have called the verbose-display formatting function text(), but will reconsider if enough people object. initdb forced. Tom Lane 2000-11-10 20:13:27 +00:00
  • d7f8ffa781 Update TODO list. Bruce Momjian 2000-11-10 19:42:35 +00:00
  • e0e694640c Add update of HISTORY file for 7.0.3. Bruce Momjian 2000-11-10 19:41:26 +00:00
  • 83993240ac Fix typos. Tom Lane 2000-11-10 16:32:09 +00:00
  • 27026fef60 Use SearchSysCacheTupleCopy() instead of SearchSysCacheTuple() in order to continue to access the tuple more than now. This would resolve a segmentation fault error. Hiroshi Inoue 2000-11-10 09:38:21 +00:00
  • ae585b5c37 Stopgap patch for problem with cursors using hash joins: an ABORT would cause two attempts to delete the hashtable portal, one from query shutdown and one from portalmem.c. Fix by making hash portals be treated as 'special' portal names, so that CollectNamedPortals will not think it should delete them. This code is in need of complete rewrite (and is already largely rewritten in current sources), but still need to put a finger in the dike for 7.0.*. Tom Lane 2000-11-10 04:08:25 +00:00
  • 92875e6f44 pg_fsync is fsync in WAL version. Vadim B. Mikheev 2000-11-10 03:53:45 +00:00
  • ddeab22565 Clean up syscache so that recursive invocation is safe, and remove error message about recursive use of a syscache. Also remove most of the specialized indexscan routines in indexing.c --- it turns out that catcache.c is perfectly able to perform the indexscan for itself, in fact has already looked up all the information needed to do so! This should be faster as well as needing far less boilerplate code. Tom Lane 2000-11-10 00:33:12 +00:00
  • 700032ad6f Real dynamic loader code Peter Eisentraut 2000-11-09 19:00:50 +00:00
  • 6b70f3862c Also test for 'void *' as third arg of accept() (as on Solaris 7 and 8), but take it as 'int *' instead. Peter Eisentraut 2000-11-09 18:18:42 +00:00
  • 343f615e3a ExecEndAppend() neglected to close indices on appended result rels, and improperly prevented the main result rel from being closed if it wasn't one of the Append's own result rels. Per report from Hiroshi. Tom Lane 2000-11-09 18:12:53 +00:00
  • 5cbbdd2ecb Applied yet another patch by Christof. Thanks Cristof! Synced parser. Michael Meskes 2000-11-09 14:06:57 +00:00
  • b0299c5d37 Auto checkpoint creation. Vadim B. Mikheev 2000-11-09 11:26:00 +00:00
  • a0951eec08 Please apply this patch to current, to fix a problem with runcheck, that installs into a different path than is configured. Bruce Momjian 2000-11-09 04:17:53 +00:00
  • 372e598c44 Arrange for CASE or UNION with only untyped literal constants as input to resolve the unknown constants as type TEXT. Tom Lane 2000-11-09 04:14:32 +00:00
  • 9bbca2c0f0 Add some more union/intersect/except test cases, per suggestions from Kevin O'Gorman. Tom Lane 2000-11-09 02:47:49 +00:00
  • a1d133990f Repair some bugs in new union/intersect/except code. Thanks to Kevin O'Gorman for finding these... Tom Lane 2000-11-09 02:46:17 +00:00
  • 26adbc7b48 Clean up compiler warnings. Tom Lane 2000-11-08 23:24:24 +00:00
  • 3908473c80 Make DROP TABLE rollback-able: postpone physical file delete until commit. (WAL logging for this is not done yet, however.) Clean up a number of really crufty things that are no longer needed now that DROP behaves nicely. Make temp table mapper do the right things when drop or rename affecting a temp table is rolled back. Also, remove "relation modified while in use" error check, in favor of locking tables at first reference and holding that lock throughout the statement. Tom Lane 2000-11-08 22:10:03 +00:00
  • ebe0b23690 Add ANALYSE spelling of ANALYZE for vacuum. Bruce Momjian 2000-11-08 21:28:06 +00:00
  • 9c0eacb434 Only use ld -R flag in UW 7.1*, since it's new. Peter Eisentraut 2000-11-08 20:27:38 +00:00
  • 0225d1f01e Fix 'soname's for various platforms, so that libpq.so.2.0 is considered compatible with libpq.so.2.1, etc. Peter Eisentraut 2000-11-08 20:18:49 +00:00
  • ac27a5b4b7 Update TODO list. Bruce Momjian 2000-11-08 20:04:23 +00:00
  • 5e00df3568 Add dependencies required for parallel make Peter Eisentraut 2000-11-08 18:56:25 +00:00
  • c6d103a494 Dump identity of alternative location, if any. Peter Eisentraut 2000-11-08 18:23:44 +00:00
  • 929a599369 Add '-c name=val' flag for setting run-time parameters. Peter Eisentraut 2000-11-08 17:57:46 +00:00
  • 3304341700 Reimplement alternative database locations with symlinks. No changes in user interface. Peter Eisentraut 2000-11-08 16:59:50 +00:00
  • 218f357d82 CLUSTER did no permissions checking, forsooth ... Tom Lane 2000-11-08 16:31:06 +00:00
  • e6e893e74f Enable fallback to string type when argument(s) are of UNKNOWN type. Same code exactly as for function resolution. An obvious example is for select '1' = '01'; which used to throw an error and which now resolves to two text strings. Thomas G. Lockhart 2000-11-07 16:01:01 +00:00
  • 3af2827f5b This somehow gets moot. Is there a way to make gcc reject those comments? Bruce Momjian 2000-11-07 11:35:16 +00:00
  • f27da05c00 Undo incorrectly committed Makefile. Michael Meskes 2000-11-07 08:52:22 +00:00
  • df8789bb15 Third try. Sorry, I had a wrong path in my copy statement. Michael Meskes 2000-11-07 08:46:27 +00:00
  • c823b1eedc Added more patches by Cristif Petig. Michael Meskes 2000-11-07 08:41:15 +00:00
  • 5781dbc061 Update for new results. Tom Lane 2000-11-07 06:51:21 +00:00
  • 52386df4b9 DropErrorMsg() died with assert failure if try to drop a toast table... mea culpa... Tom Lane 2000-11-07 02:17:50 +00:00
  • ff0bca613f Update geometry for FreeBSD 4.1 (same as 4.0) Peter Eisentraut 2000-11-06 22:40:30 +00:00
  • 306c44eead Add -V option to backend, to show version, since --version doesn't seem to work everywhere. Also, on FreeBSD you need to set the optreset variable to 1 before parsing the command line a second time with getopt(). Peter Eisentraut 2000-11-06 22:18:10 +00:00
  • 6f2f169015 Fix GNU make detection. Peter Eisentraut 2000-11-06 18:18:22 +00:00
  • db631de531 Add explicit ORDER BYs in a couple of cases --- seems to be necessary to get platform-independent results. Tom Lane 2000-11-06 18:11:46 +00:00
  • e8f1340fe0 I think Thomas missed an update here... Tom Lane 2000-11-06 18:11:03 +00:00
  • a9d5289d3c Back out aix makefile patch. Bruce Momjian 2000-11-06 18:06:58 +00:00
  • 712c8bba84 Makefile.ports (copied from makefiles/Makefile.aix) is included before the default target in GNUmakefile is reached. This patch calls that default target. Bruce Momjian 2000-11-06 17:07:43 +00:00
  • d9ef7e9ec7 Add support for AT TIME ZONE syntax. Thomas G. Lockhart 2000-11-06 16:05:25 +00:00
  • 07272c6f8b Add tests for more INTERVAL syntax. Add more tests for JOIN syntax. All tests pass on my Linux box (except for the usual couple of lines for geometry). Thomas G. Lockhart 2000-11-06 16:03:47 +00:00
  • 8e8fc32bec Add functions to support AT TIME ZONE syntax. Update catalog version to today. Thomas G. Lockhart 2000-11-06 15:58:46 +00:00
  • 2cf1642461 Fix INTERVAL output when year/month has different sign as day/hour etc. Previously, all fields were unsigned, with only a trailing "ago" to indicate negative intervals. Now, ISO format does not use "ago", and and the traditional PostgreSQL format has the first numeric field unsigned with "ago" supporting that field. So "1 month - 2 days ago" is two days less than a month in the past. Fix interval arithmetic across daylight savings time boundaries. Previously, most math across boundaries introduced a one hour offset. Allow some date/time functions to return NULL if called with NULL args. Implement functions for AT TIME ZONE support. Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES is defined. Thomas G. Lockhart 2000-11-06 15:57:00 +00:00
  • df9462ac05 Implement AT TIME ZONE SQL9x syntax. AT is now a keyword but is not a reserved word. Thomas G. Lockhart 2000-11-06 15:47:17 +00:00
  • 155e0b998a Allow type resolution for UNKNOWN arguments to functions to fall back to any available string type. Previously, all candidate choices must have fallen within the same "type category" for PostgreSQL to be willing to choose any of them. Need to apply the same fixup to operator type resolution. Thomas G. Lockhart 2000-11-06 15:42:30 +00:00
  • 493635b25f Update TODO list. Bruce Momjian 2000-11-06 03:59:20 +00:00
  • f0e37a8531 New CHECKPOINT command. Auto removing of offline log files and creating new file at checkpoint time. Vadim B. Mikheev 2000-11-05 22:50:21 +00:00
  • 7267fdd7a3 Add some configure checks for DocBook and related tools. With a somewhat standard installation layout it should be possible to build the HTML and print documentation without additional manual setup. Peter Eisentraut 2000-11-05 21:04:07 +00:00
  • bee6cc6f9c Update for recent developments (C++, shlib), minor fixes Peter Eisentraut 2000-11-05 20:52:59 +00:00
  • dd03129b9f UNION select in a CREATE RULE caused a weird error, because transformRuleStmt got confused by 'dummy' targetlist built for the UNION's toplevel query. Fix by making dummy targetlist a little less cheesy. Tom Lane 2000-11-05 01:42:07 +00:00
  • d72eb7cbbd Update TODO list. Bruce Momjian 2000-11-05 00:22:02 +00:00
  • 11f7b29054 Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where the grammar did not allow redundant parentheses around sub-selects. Distinguish LIMIT ALL from LIMIT 0; make the latter behave as one would expect. Tom Lane 2000-11-05 00:15:54 +00:00
  • 66436e66e1 Update for createlang options in docs. Bruce Momjian 2000-11-04 21:09:41 +00:00
  • ae2cf18f55 more procedural doc cleanup Bruce Momjian 2000-11-04 21:06:37 +00:00