Commit Graph

  • 7229b8cb8a Add MONEY URL: Bruce Momjian 2006-09-30 02:59:06 +00:00
  • 352a56ba68 Allow assignment to array elements not contiguous with those already present; intervening positions are filled with nulls. This behavior is required by SQL99 but was not implementable before 8.2 due to lack of support for nulls in arrays. I have only made it work for the one-dimensional case, which is all that SQL99 requires. It seems quite complex to get it right in higher dimensions, and since we never allowed extension at all in higher dimensions, I think that must count as a future feature addition not a bug fix. Tom Lane 2006-09-29 21:22:21 +00:00
  • 673a573dcc Remove duplicate (and now incorrect) documentation for row-wise IS [NOT] NULL. Noted by Teodor. Tom Lane 2006-09-29 18:36:45 +00:00
  • f213131f20 Fix IS NULL and IS NOT NULL tests on row-valued expressions to conform to the SQL spec, viz IS NULL is true if all the row's fields are null, IS NOT NULL is true if all the row's fields are not null. The former coding got this right for a limited number of cases with IS NULL (ie, those where it could disassemble a ROW constructor at parse time), but was entirely wrong for IS NOT NULL. Per report from Teodor. Tom Lane 2006-09-28 20:51:43 +00:00
  • d3aa4a8e33 Add URL for client_encoding being set by client: Bruce Momjian 2006-09-28 17:43:36 +00:00
  • 062421defb Fix a couple other places that need to know about (some) src/port/ files explicitly. Tom Lane 2006-09-28 14:48:45 +00:00
  • 85bbd549d8 Oops, forgot that libpq needs extra steps to make use of src/port/ files. Tom Lane 2006-09-27 21:29:17 +00:00
  • c92f7e258e Replace strncpy with strlcpy in selected places that seem possibly relevant to performance. (A wholesale effort to get rid of strncpy should be undertaken sometime, but not during beta.) This commit also fixes dynahash.c to correctly truncate overlength string keys for hashtables, so that its callers don't have to anymore. Tom Lane 2006-09-27 18:40:10 +00:00
  • 996b203e62 Add strlcpy() to the set of functions supported by src/port/ when not available directly on the platform. Per discussion, this function is sufficiently widely recognized to be treated as standard. Tom Lane 2006-09-27 16:29:46 +00:00
  • 1d45168f4b Fix some misuses of strncat(). Tom Lane 2006-09-27 16:19:42 +00:00
  • 9ba4065312 Remove separate strdup.h header file; it's redundant with port.h. Tom Lane 2006-09-27 15:41:24 +00:00
  • de6ca63d7f GiST stands for "Generalized Search Tree", and therefore should not be spelled with a capital "I". Neil Conway 2006-09-27 06:37:28 +00:00
  • 4650c4fdb9 Degrade the transaction-id wraparound point message from LOG to DEBUG1, per discussion. Alvaro Herrera 2006-09-26 17:21:39 +00:00
  • 1d5a13b154 Update wording of inheritance major release item. Bruce Momjian 2006-09-26 12:31:48 +00:00
  • 8580985c2b Split out inheritance major feature item in release notes. Bruce Momjian 2006-09-26 11:45:33 +00:00
  • 03a68a7cae Done: Bruce Momjian 2006-09-26 11:18:29 +00:00
  • 2c660c61cf Added new files Michael Meskes 2006-09-26 09:07:31 +00:00
  • 9897e35c56 Added Joachim's changes for MinGW. Added SET DATESTYLE to one test so the output format is defined. Michael Meskes 2006-09-26 07:56:57 +00:00
  • 0f8fc35a5a Increase default value of effective_cache_size to 128MB, per discussion. Tom Lane 2006-09-25 22:12:24 +00:00
  • ffae5cc5a6 Add a check to prevent overwriting valid data if smgrnblocks() gives a wrong answer, as has been seen to occur with a buggy Linux kernel. Not really our bug, but it's a simple test in a seldom-used control path, so might as well have a defense. Tom Lane 2006-09-25 22:01:10 +00:00
  • 6575920fa5 More incremental improvements for the release notes. Neil Conway 2006-09-25 15:35:28 +00:00
  • 1f4841a953 no-data-for-failed-tables is a pg_restore option, not a pg_dump option. Tom Lane 2006-09-25 15:31:50 +00:00
  • c232c8afa8 Fix notice message from DROP FUNCTION IF EXISTS, and improve message for DROP AGGREGATE IF EXISTS. Per report from Teodor. Tom Lane 2006-09-25 15:17:34 +00:00
  • 0c858bd69e Fix name, "Laurenz Albe" at request of author. Bruce Momjian 2006-09-25 15:04:37 +00:00
  • 2804442da6 Minor incremental improvements to the release notes. Neil Conway 2006-09-24 18:47:56 +00:00
  • 1d0969041e Fix incorrect mapping of fopen mode 'a' in recently-added code to make fopen work safely on Windows. Magnus Tom Lane 2006-09-24 17:19:53 +00:00
  • f375d5d6f9 Cause pg_regress to invoke the temporary postmaster as 'postgres' not 'postmaster', so as not to depend on the existence of the postmaster symlink. Also, implement postmaster-still-alive and postmaster-kill operations for Windows, per Magnus. Tom Lane 2006-09-24 17:10:18 +00:00
  • ccfafb4716 Suppress useless warning on pre-XP versions of Windows. Magnus Tom Lane 2006-09-24 16:59:45 +00:00
  • bbed6678f3 Tag us Beta1 REL8_2_BETA1 PostgreSQL Daemon 2006-09-23 01:33:37 +00:00
  • d40d34863e Fix pg_locks view to call advisory locks advisory locks, while preserving backward compatibility for anyone using the old userlock code that's now on pgfoundry --- locks from that code still show as 'userlock'. Tom Lane 2006-09-22 23:20:14 +00:00
  • beca984e5f Fix bugs in plpgsql and ecpg caused by assuming that isspace() would only return true for exactly the characters treated as whitespace by their flex scanners. Per report from Victor Snezhko and subsequent investigation. Tom Lane 2006-09-22 21:39:58 +00:00
  • 6d0efd3a09 Surely this temp buffer needn't be static. Tom Lane 2006-09-22 19:51:14 +00:00
  • cbb7acface Rearrange yes/no prompting code so that the prompts always show the (possibly (un)translated) letters that are actually expected as input. Also reject invalid responses instead of silenty taken them as "no". Peter Eisentraut 2006-09-22 18:50:41 +00:00
  • ae3f415f1d Add to major release notes items, per Simon. Bruce Momjian 2006-09-22 18:09:40 +00:00
  • 90c07a71ca Add units to the default postgresql.conf. For the most part, this should match what SHOW displays as default value, to make the user experience uniform. Peter Eisentraut 2006-09-22 17:41:21 +00:00
  • ceefbbf718 Move incorrectly-located indexterm entry. Tom Lane 2006-09-22 16:35:55 +00:00
  • e893e87530 Update timezone documentation to reflect current reality: instead of giving tables of known timezone names, refer the user to the system views. Joachim Wieland Tom Lane 2006-09-22 16:20:00 +00:00
  • 9adb2c49dd Update release notes to only use HTML4 entities. Bruce Momjian 2006-09-22 15:41:12 +00:00
  • 29e53ca389 We're going to have to spell dotless i as plain i, because dotless i is not in the character set supported by DocBook nor standard HTML. (Sorry Volkan.) Also replace random character-set references by a pointer to the actual standard. Tom Lane 2006-09-22 15:29:04 +00:00
  • 507447b585 Fix a lot of broken markup. Tom Lane 2006-09-22 15:22:04 +00:00
  • 285b5bdd6f Update release notes to be current as of CVS today. Bruce Momjian 2006-09-22 03:04:23 +00:00
  • f7fa844b6c Update major release note items. Bruce Momjian 2006-09-22 01:52:27 +00:00
  • bf31a62a6b First try at a major features list for 8.2. Bruce Momjian 2006-09-22 01:39:33 +00:00
  • 9e936693a9 Fix free space map to correctly track the total amount of FSM space needed even when a single relation requires more than max_fsm_pages pages. Also, make VACUUM emit a warning in this case, since it likely means that VACUUM FULL or other drastic corrective measure is needed. Per reports from Jeff Frost and others of unexpected changes in the claimed max_fsm_pages need. Tom Lane 2006-09-21 20:31:22 +00:00
  • b0d64a090b Add comments about STORAGE option for GIN Teodor Sigaev 2006-09-21 15:09:38 +00:00
  • 823ffd88e3 Fix table's caption Teodor Sigaev 2006-09-21 15:03:53 +00:00
  • 8ad3afee1a Updated several parts in particular variable handling. This is work that was part of SoC. Michael Meskes 2006-09-21 09:10:27 +00:00
  • 323ff93afb Wording changes for continuous archving, per Simon. Bruce Momjian 2006-09-21 03:12:58 +00:00
  • 0efa510bf7 Add documentation for new in-core advisory lock functions. Merlin Moncure Tom Lane 2006-09-20 23:43:22 +00:00
  • e56ccad7b0 Add URL for domain casting: Bruce Momjian 2006-09-20 23:01:55 +00:00
  • 0e54962890 Update release notes to use scaron, rather than numeric code for entity. Bruce Momjian 2006-09-20 22:48:47 +00:00
  • c59487cfb3 Fix bogus markup. Tom Lane 2006-09-20 21:30:20 +00:00
  • f2aad31424 Add AIX shared library support item to release notes. Bruce Momjian 2006-09-20 19:55:42 +00:00
  • bfd1ffa948 Change patternsel (LIKE/regex selectivity estimation) so that if there is a large enough histogram, it will use the number of matches in the histogram to derive a selectivity estimate, rather than the admittedly pretty bogus heuristics involving examining the pattern contents. I set 'large enough' at 100, but perhaps we should change that later. Also apply the same technique in contrib/ltree's <@ and @> estimator. Per discussion with Stefan Kaltenbrunner and Matteo Beccati. Tom Lane 2006-09-20 19:50:21 +00:00
  • 06b33f0ee8 Release note wording improvement. Bruce Momjian 2006-09-20 11:54:23 +00:00
  • c840db7f0d Add shared linking information to AIX FAQ. Bruce Momjian 2006-09-20 02:10:11 +00:00
  • c62172100b Improvements to the partitioning documentation. Original patch from Greg Stark, additional fixes and editorialization by Neil Conway. Greg's patch description: Neil Conway 2006-09-20 01:20:38 +00:00
  • b74c543685 Improve usage of effective_cache_size parameter by assuming that all the tables in the query compete for cache space, not just the one we are currently costing an indexscan for. This seems more realistic, and it definitely will help in examples recently exhibited by Stefan Kaltenbrunner. To get the total size of all the tables involved, we must tweak the handling of 'append relations' a bit --- formerly we looked up information about the child tables on-the-fly during set_append_rel_pathlist, but it needs to be done before we start doing any cost estimation, so push it into the add_base_rels_to_query scan. Tom Lane 2006-09-19 22:49:53 +00:00
  • 45e11d098f Do a round of copy-editing for the release notes: fix some typos and grammatical errors, improve the description of some new features. Neil Conway 2006-09-19 19:54:05 +00:00
  • b27170b936 Dashed items are now for 8.3: Bruce Momjian 2006-09-19 19:20:21 +00:00
  • aa3f396aca Remove completed TODO items: Bruce Momjian 2006-09-19 19:20:00 +00:00
  • f7ea4eeed6 Document how to use psql's --single-transaction option to rollback restoring an SQL dump if an error occurs. Along the way, make some improvements and copy-edits to the surrounding text. Patch from Simon Riggs, additional fixes by Neil Conway. Neil Conway 2006-09-19 19:04:51 +00:00
  • 85fca79a02 Fix broken markup. Tom Lane 2006-09-19 17:22:42 +00:00
  • 9b5e108ee9 Fix shared library creation to work properly on AIX. Albe Laurenz Tom Lane 2006-09-19 15:36:08 +00:00
  • 48fe137425 Minor additions and typo fixes for the backup documentation. Patch from Simon Riggs, minor editorialization by Neil Conway. Neil Conway 2006-09-19 15:18:41 +00:00
  • a676d7f6d9 More 8.2 release item reordering. Bruce Momjian 2006-09-19 02:25:13 +00:00
  • cf90c54bb3 Reorder 8.2 release note items more logically. Bruce Momjian 2006-09-19 02:08:30 +00:00
  • 88057d0cf2 Update migration changes, more cleanups. Bruce Momjian 2006-09-19 00:57:07 +00:00
  • dd18c57979 Properly mention in the release notes that fillfactor controls both heap and indexes. Other cleanups. Bruce Momjian 2006-09-18 23:19:50 +00:00
  • e328f8b0ba Wrap long lines in 8.2 release notes. Bruce Momjian 2006-09-18 23:01:43 +00:00
  • 1fc333f041 Updates from Jim Nasby. Bruce Momjian 2006-09-18 22:43:16 +00:00
  • 9b4cda0df6 Add built-in userlock manipulation functions to replace the former contrib functionality. Along the way, remove the USER_LOCKS configuration symbol, since it no longer makes any sense to try to compile that out. No user documentation yet ... mmoncure has promised to write some. Thanks to Abhijit Menon-Sen for creating a first draft to work from. Tom Lane 2006-09-18 22:40:40 +00:00
  • f7f308d6a6 Move 8.2 release documentation into SGML. Bruce Momjian 2006-09-18 21:45:10 +00:00
  • ecf5009099 Make the order of the CASCADE and RESTRICT keywords in the DROP OWNED syntax summary consistent with the other SQL reference pages. Patch from Euler Taveira de Oliveira. Neil Conway 2006-09-18 21:19:29 +00:00
  • b5b1eb80b7 Documentation for VALUES lists. Joe Conway and Tom Lane Tom Lane 2006-09-18 19:54:01 +00:00
  • 5f04ce3126 Add URL for commenting postgresql.conf: Bruce Momjian 2006-09-18 16:24:07 +00:00
  • c74c313519 Add URL for UUID: Bruce Momjian 2006-09-18 16:22:32 +00:00
  • 2ad94d382c Fix problems with column name list of CREATE TABLE AS being applied to the input query's target list too soon, causing it to affect processing of ORDER BY in the input query. Tom Lane 2006-09-18 16:04:04 +00:00
  • e8efd98312 Add item: Bruce Momjian 2006-09-18 15:52:23 +00:00
  • 329cec451e Add URL to UPDATE unique index case x=x+1: Bruce Momjian 2006-09-18 14:56:19 +00:00
  • bcbb402e31 Improve wordings by David Fuhry <dfuhry@cs.kent.edu> Teodor Sigaev 2006-09-18 12:11:36 +00:00
  • 18a963778a Fix CREATE TABLE ... AS VALUES ... to work rather than Assert'ing; oversight in original implementation of VALUES. Also fix an oversight in recent addition of options to CREATE TABLE AS: they weren't getting propagated if the query was a set-operation such as UNION. Tom Lane 2006-09-18 00:52:14 +00:00
  • da7540b9d1 Change ANALYZE to take ShareUpdateExclusiveLock not AccessShareLock on the table being analyzed. This prevents two ANALYZEs from running concurrently on the same table and possibly suffering concurrent-update failures while trying to store their results into pg_statistic. The downside is that a database-wide ANALYZE executed within a transaction block will hold ShareUpdateExclusiveLock on many tables simultaneously, which could lead to concurrency issues or even deadlock against another such ANALYZE. However, this seems a corner case of less importance than getting unexpected errors from a foreground ANALYZE when autovacuum elects to analyze the same table concurrently. Per discussion. Tom Lane 2006-09-17 22:50:31 +00:00
  • 2e5e856f6b Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared after an error during VACUUM. We have a PG_TRY block anyway around the only call sites, so just reset it in the CATCH clause instead of having AtEOXact_Buffers blindly do it during xact end. I think the old code was actively wrong for the case of a failure during ANALYZE inside a subtransaction --- the flag wouldn't get cleared until main transaction end. Probably not worth back-patching though. Tom Lane 2006-09-17 22:16:22 +00:00
  • f204274191 Update TODO for short header versions: Bruce Momjian 2006-09-16 22:06:54 +00:00
  • 5ff4f39c0e Rename the recently-added pg_timezonenames view to pg_timezone_abbrevs, and create a new view pg_timezone_names that provides information about the zones known in the 'zic' database. Magnus Hagander, with some additional work by Tom Lane. Tom Lane 2006-09-16 20:14:34 +00:00
  • 7ed5df437d Update timezone data files to release 2006k of the zic database. Tom Lane 2006-09-16 17:21:03 +00:00
  • 1246d797e4 Rename xml_valid() to xml_is_well_formed(), but provide a temporary alias with the old name for backwards compatibility. Per discussion, the old name is actively wrong because validity and well-formedness have different meanings in XML. Tom Lane 2006-09-16 16:18:11 +00:00
  • 801cbe3310 Define errcode as __msvc_errcode not __vc_errcode for MSVC builds, per Magnus. Tom Lane 2006-09-16 13:35:49 +00:00
  • ac733df61b Fix some more uses of str[n]casecmp that should be pg_str[n]casecmp. Tom Lane 2006-09-16 13:31:40 +00:00
  • 32cebaecff Remove emacs info from footer of SGML files. Bruce Momjian 2006-09-16 00:30:20 +00:00
  • 5e550acbc4 Document Warm Standby for High Availability Bruce Momjian 2006-09-15 22:02:21 +00:00
  • 075c0caa90 Document WAL recovery now uses checkpoints. Bruce Momjian 2006-09-15 21:55:07 +00:00
  • 83078e9912 Several fixes for MSVC build scripts, from Magnus. Tom Lane 2006-09-15 21:42:02 +00:00
  • aab964b311 Fix some uses of str[n]casecmp that should be pg_str[n]casecmp. Tom Lane 2006-09-15 21:35:30 +00:00
  • a22de540cf Fix some uses of str[n]casecmp that should be pg_str[n]casecmp, per Magnus. Tom Lane 2006-09-15 21:34:23 +00:00
  • 0b52204f0d Remove WINLDAPAPI decoration from ldap_start_tls_sA typedef, per Magnus. Tom Lane 2006-09-15 21:28:08 +00:00
  • 0498a08e66 Improve confusing comment for HeapTupleSatisfiesNow, per gripe from Greg Stark. Tom Lane 2006-09-15 16:39:32 +00:00
  • fa6f9ceab6 Make postgresql.conf.sample match the initdb defaults. This fixes comment alignment on most systems. Bruce Momjian 2006-09-14 23:21:47 +00:00
  • 65ab9f4f24 Add a couple of information functions to support direct checks on whether a schema is our own temp schema or another backend's temp schema, and use these in place of some former kluges in information_schema. Per my proposal of yesterday. Tom Lane 2006-09-14 22:05:06 +00:00