Commit Graph

682 Commits

Author SHA1 Message Date
Bruce Momjian 4f7b0fb103 In release notes checklist, add URL for HTML non-ASCII escapes, mention
UTF8 escapes.
2006-09-14 16:51:39 +00:00
Bruce Momjian f5caa1e9ec Add space between Win2000 and SP4. 2006-08-22 00:45:34 +00:00
Bruce Momjian 45436a403f Mention only Windows 2000SP4 works. 2006-08-18 15:51:28 +00:00
Bruce Momjian a2b6c896e5 Rename in release notes: Mac -> OS/X, Intel to x86:
Fix for OS/X Bonjour on x86 systems (Ashley Clark)
2006-05-23 20:20:52 +00:00
Tom Lane e9cc53025a Update release notes for upcoming releases. 2006-05-21 21:49:22 +00:00
Bruce Momjian 411a64ba73 Stamp 8.1.4, except configure/configure.in. 2006-05-19 03:55:40 +00:00
Bruce Momjian 7540476dc6 Update release notes for 8.1.4. 2006-05-19 03:49:05 +00:00
Bruce Momjian 497b5ad928 Make $PostgreSQL CVS tags consistent for SGML files. 2006-03-10 19:10:50 +00:00
Bruce Momjian 33a84bb306 Mark tsearch2 item as Tom's, not Teodor's. 2006-03-02 19:34:43 +00:00
Tom Lane 47a048f3f3 Update release notes. 2006-02-12 22:35:26 +00:00
Bruce Momjian 0bbd470443 Fix release item ordering. 2006-02-12 18:13:10 +00:00
Bruce Momjian 6df2da06bd Update back branch release notes. 2006-02-12 17:57:37 +00:00
Bruce Momjian a321d6755f Fix release markup. 2006-02-12 17:27:33 +00:00
Bruce Momjian 720bad3b32 Update release notes for 8.1.3. 2006-02-12 17:10:47 +00:00
Tom Lane 9484e14c5c Remove extraneous backslash from 'fixseq.sql' example --- mea culpa
certainly.  Per report from George Woodring.
2006-01-12 18:09:24 +00:00
Tom Lane 615d99feb4 Release-note updates and copy editing. 2006-01-06 02:59:57 +00:00
Bruce Momjian 04236bb296 New pgcrypto item wording. 2006-01-05 15:19:05 +00:00
Bruce Momjian 8b2b1d87f8 Wording improvements. 2006-01-05 15:12:36 +00:00
Bruce Momjian 1c59af06db Improve markup. 2006-01-05 14:53:47 +00:00
Bruce Momjian 4e1712ea54 Update release notes for 8.1.X, 8.0.X, 7.4.X, and 7.3.X. 2006-01-05 05:15:50 +00:00
Tom Lane 3a20db975e Add release notes for back branches (7.3 and up).
Also minor improvements to 8.1.1 release notes.
2005-12-09 20:40:12 +00:00
Bruce Momjian 34848052d0 Release note wording improvements. 2005-12-08 23:22:20 +00:00
Bruce Momjian 8c09ba866c Wrap UTF-8 paragraph. 2005-12-08 22:44:55 +00:00
Bruce Momjian f2946c717d Update wording of translation bug item. 2005-12-08 22:35:44 +00:00
Bruce Momjian 4b0951133d Update release notes for 8.1.1. 2005-12-08 22:21:26 +00:00
Bruce Momjian 3001b4697d Update iconv wording, per Peter. 2005-12-06 21:00:53 +00:00
Bruce Momjian 40c729ae6c Highlight diff idea for iconv. 2005-12-06 20:25:42 +00:00
Bruce Momjian 363fcbafa1 iconv uses UTF-8, not UTF8. 2005-12-06 20:19:17 +00:00
Bruce Momjian 394fedfd72 Document method of removing invalid UTF8 escape sequences from dump
file.  Backpatch to 8.1.X.

Paul Lindner
2005-12-06 19:26:43 +00:00
Bruce Momjian af2e8a872d Documentation cleanup mention:
non-ascii                       convert to & escapes
2005-12-06 18:45:18 +00:00
Bruce Momjian dae896b67d Since my name has a non-ascii-letter in it, it's often spelled wrong. In
the latest release notes there is a latin1 character that shouldn't be
there so I made a patch to fix that. This patch also fixes some old
entries that uses o instead of ö (which is also wrong but not as
bad as including a latin1 character in the sgml file).

Dennis Bj?rklund
2005-12-06 18:43:26 +00:00
Bruce Momjian 788f7c63a1 Add reminder that we should link to the documentation section for new
features.
2005-11-15 22:16:03 +00:00
Peter Eisentraut 39dfbe5791 Spellchecking run, final cleanups 2005-11-04 23:14:02 +00:00
Bruce Momjian 1630571a04 Update release notes for 8.1. 2005-11-04 22:21:33 +00:00
Bruce Momjian ced9dd3699 Add Tomoaki Sato to pgbench changes in release notes. 2005-11-02 14:08:43 +00:00
Tom Lane b524cb36ac Make an editorial pass over the reference pages. 2005-11-01 21:09:51 +00:00
Tom Lane 65a99590ab Fix broken markup. 2005-10-28 20:00:03 +00:00
Bruce Momjian 3332e38189 Disable expanded mode only for \d tablename, not for all backslash
commands.  Per complaint that \df+ is clearer in expanded mode.
2005-10-27 13:34:47 +00:00
Tom Lane fc5894bf77 Adjust parser so that POSTQUEL-style implicit RTEs are stored with
inFromCl true, meaning that they will list out as explicit RTEs if they
are in a view or rule.  Update comments about inFromCl to reflect the way
it's now actually used.  Per recent discussion.
2005-10-26 19:21:55 +00:00
Tom Lane 602007842c Convert explanation of interval change into something resembling grammatical
English, and fix the incorrect example.
2005-10-25 17:54:30 +00:00
Bruce Momjian b83547201f Update 24 hours/1 day distinction in release notes. 2005-10-25 15:12:22 +00:00
Neil Conway fc8f4bac0e Fix assorted typos in the documentation, and use American spelling
rather than British. Patch from Michael Fuhr.
2005-10-15 20:12:33 +00:00
Tom Lane 96a83d8807 Release notes up to date as of today. 2005-10-11 21:17:11 +00:00
Bruce Momjian 8c6f345005 Improve wording of entry. 2005-10-05 19:52:22 +00:00
Tom Lane 060d13f7c7 COPY's test for read-only transaction was backward; it prohibited COPY TO
where it should prohibit COPY FROM.  Found by Alon Goldshuv.
2005-10-03 23:43:09 +00:00
Tom Lane 9c873828bd Fix procedure for updating nextval() defaults so that it actually works.
Update release dates for pending back-branch releases.
2005-10-03 16:04:13 +00:00
Bruce Momjian a87174dca1 Fix font of sequence header. 2005-10-03 13:52:28 +00:00
Bruce Momjian 1624d6d4d2 Fix null bytes at end of file (weird). 2005-10-03 02:49:31 +00:00
Bruce Momjian f890004cc1 Update sequence docs. 2005-10-03 02:46:43 +00:00
Bruce Momjian 4361e0d295 Merge Tom and my descriptions of new sequence behavior into one entry. 2005-10-03 02:21:16 +00:00
Bruce Momjian 07e74305fe Update release notes to show how to upgrade a database to use the new
early binding for nextval() calls in default clauses.
2005-10-03 01:57:59 +00:00
Tom Lane aa731ed843 Change nextval and other sequence functions to specify their sequence
argument as a 'regclass' value instead of a text string.  The frontend
conversion of text string to pg_class OID is now encapsulated as an
implicitly-invocable coercion from text to regclass.  This provides
backwards compatibility to the old behavior when the sequence argument
is explicitly typed as 'text'.  When the argument is just an unadorned
literal string, it will be taken as 'regclass', which means that the
stored representation will be an OID.  This solves longstanding problems
with renaming sequences that are referenced in default expressions, as
well as new-in-8.1 problems with renaming such sequences' schemas or
moving them to another schema.  All per recent discussion.
Along the way, fix some rather serious problems in dbmirror's support
for mirroring sequence operations (int4 vs int8 confusion for instance).
2005-10-02 23:50:16 +00:00
Tom Lane 7b7d1ba0b6 Mention fix for bug #1916 in release notes for affected versions. 2005-09-28 21:22:12 +00:00
Bruce Momjian 6bc4e3617d Add attribution. 2005-09-27 23:32:38 +00:00
Bruce Momjian 2d8225eecc Release notes up to date as of today. 2005-09-27 17:28:51 +00:00
Tom Lane 4056efcfc1 Create preliminary release notes for upcoming back-branch releases. 2005-09-26 21:44:04 +00:00
Bruce Momjian 1a9d96a5fa Update release notes for 4-byte UTF mappings. 2005-09-24 22:57:15 +00:00
Tom Lane 5d9c6b18d3 Document change in large object snapshotting behavior as a version
compatibility issue.
2005-09-24 20:35:21 +00:00
Bruce Momjian bb36c18c51 Remove xid wraparound mention, because it was already done in 8.0, per Neil. 2005-09-23 16:36:35 +00:00
Bruce Momjian e885554c8d Clarify autovacuum wording. 2005-09-23 02:42:34 +00:00
Bruce Momjian 01ead29b0c Please find attached a patch which tells about what the spiffy,
integrated autovacuum now does :)

David Fetter
2005-09-23 02:25:35 +00:00
Bruce Momjian ec294fc6cb Move table constraint patch up into the main new features section of the
release notes.
2005-09-22 23:47:44 +00:00
Bruce Momjian 8a64ec6285 Add "basic" for table partitioning. 2005-09-22 23:24:58 +00:00
Neil Conway e4d9b69779 Rename pg_complete_relation_size() to pg_total_relation_size(), for the
sake of brevity and clarity.

Make pg_reload_conf(), pg_rotate_logfile(), and pg_cancel_backend()
return a boolean rather than an integer to indicate success or failure.

Along the way, make some minor cleanups to dbsize.c -- in particular,
use elog() rather than ereport() for "shouldn't happen" error
conditions, and remove some of the more flagrant violations of the
Postgres indentation conventions.

Catalog version bumped.
2005-09-16 05:35:41 +00:00
Tom Lane b09bfc654d Update release notes for changes between beta1 and beta2. 2005-09-16 03:37:35 +00:00
Neil Conway 4fe4563550 Add a few items to the release notes, and make a few more minor cleanups. 2005-09-12 05:10:12 +00:00
Neil Conway f7a5f90c46 Many small improvements and copy edits to the release notes. Use "—"
rather than "-" for the "dash" character. Correct SGML markup. Make
references to the names of contributors more consistent. Rewrite a bit
of prose, and make some other similar cleanups.
2005-09-11 23:40:33 +00:00
Alvaro Herrera e8f35414ef Fix typo in Richard's last name. 2005-09-04 13:40:24 +00:00
Bruce Momjian c94bbf2027 Add mention of Win32 IPv6 connections. 2005-08-25 01:32:54 +00:00
Bruce Momjian 9e3624d5b1 Small cleanup. 2005-08-25 00:38:37 +00:00
Tom Lane bd19ee3457 Preliminary pass at release note editing. 2005-08-24 22:03:14 +00:00
Bruce Momjian 03417ac182 Run spellchecker over release notes. 2005-08-24 19:41:33 +00:00
Bruce Momjian 63a67221a1 More beta1 cleanup. 2005-08-24 19:34:34 +00:00
Bruce Momjian 5d14b0d08c Suggest markup items for the future. 2005-08-24 19:31:46 +00:00
Bruce Momjian 9a4fd8f481 Update release notes for beta1. 2005-08-24 19:24:20 +00:00
Tom Lane f21e26225c Fix broken markup. 2005-08-24 18:26:36 +00:00
Bruce Momjian db8275dec3 Add to release notes. 2005-08-24 16:47:00 +00:00
Tom Lane 2a733db0cc Fix broken markup. 2005-08-24 15:35:01 +00:00
Bruce Momjian e4bffdad75 Update release notes. 2005-08-24 14:35:26 +00:00
Bruce Momjian 9012bb63fd Remove periods on bullet items. 2005-08-24 03:47:11 +00:00
Bruce Momjian 5279f688c5 Release note cleanups. 2005-08-23 23:31:52 +00:00
Bruce Momjian d086da4bb1 Update pgcrypto items. 2005-08-23 21:25:56 +00:00
Bruce Momjian 26ca0d6abb Update ALTER OWNER description. 2005-08-23 21:17:15 +00:00
Bruce Momjian f2cec87605 Fix function name. 2005-08-23 20:51:27 +00:00
Bruce Momjian a970a8cb95 Back out incorrect commit. 2005-08-23 20:48:47 +00:00
Bruce Momjian eef7e30cc1 Fix function name. 2005-08-23 20:45:11 +00:00
Bruce Momjian bc1a3cdd01 Update release notes. 2005-08-23 19:44:58 +00:00
Bruce Momjian 31ef0588c8 More release note updates. 2005-08-23 14:54:06 +00:00
Bruce Momjian e889ff4def Release note updates. 2005-08-23 12:47:30 +00:00
Bruce Momjian 53a04e005b Release note updates. 2005-08-23 12:46:35 +00:00
Bruce Momjian a5e1cccfdb Avoid bullets in subparagraphs. 2005-08-23 12:14:33 +00:00
Bruce Momjian 9d615a9dbb Fix markup for para. 2005-08-23 11:59:09 +00:00
Bruce Momjian 3a3c06f0e0 Adjust SGML so major feature items are all not in a single subparagraph. 2005-08-23 11:53:33 +00:00
Bruce Momjian 2a49282477 Update release notes from community comments. 2005-08-23 11:32:33 +00:00
Bruce Momjian f9989dae88 Update release notes for 8.1. 2005-08-23 02:57:07 +00:00
Bruce Momjian 2c57528487 Fix SGML sect1-3 alignment in the 8.0.X series. 2005-08-23 01:22:53 +00:00
Tom Lane d8c21181ce Update release notes for upcoming re-releases. 2005-05-09 00:09:45 +00:00
Tom Lane 160ca10609 Per core discussion, we should push out a 7.2.* release too while
we are at it.  Add release notes.
2005-05-05 17:59:40 +00:00
Tom Lane a5ed98ba5a Preliminary release notes for 8.0.3, 7.4.8, 7.3.10. 2005-05-04 21:19:33 +00:00
Tom Lane 26f831a950 Update and copy-edit release notes for 8.0.2. 2005-04-07 19:04:13 +00:00
Tom Lane 2af664e7ce Fix broken markup. 2005-04-05 04:47:19 +00:00
Bruce Momjian dfd33e2ff6 Fix release not typo. 2005-04-02 03:42:41 +00:00
Bruce Momjian 65d2624e04 Update release notes for 8.0.2. 2005-04-02 02:42:01 +00:00
Bruce Momjian fd977434b3 Adjust SGML ulink tags to the URL is always displayed in our printed docs. 2005-03-31 03:54:38 +00:00
Bruce Momjian 8f5b4c8c8c Update pginstaller URL to http://www.postgresql.org/ftp/win32/.
Backpatch to 8.0.X.
2005-02-10 04:52:31 +00:00
Neil Conway c76ff4bc4e Better late than never: document that the GiST API changed in 8.0 in the
"incompatibilities" section of the release notes.
2005-02-06 22:31:50 +00:00
Bruce Momjian b3a7e987a1 Improve wording of to_char() change in 8.1:
The 8.1 release will remove the <function>to_char()</> function
      for intervals.
2005-02-02 18:16:13 +00:00
Tom Lane 64428b8daf Preliminary release notes for 8.0.1, 7.4.7, 7.3.9, 7.2.7. 2005-01-30 01:26:41 +00:00
Bruce Momjian d08889aa8b Add tools/find_gt_lt to find < and > in SGML source.
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:30:59 +00:00
Bruce Momjian 1ced129aa3 More < and > cleanups converted to ampersands. 2005-01-22 22:56:36 +00:00
Bruce Momjian 1e5eb160d1 Change -> and <- to use proper ampersand markups.
HEAD and 8.0.X.
2005-01-22 22:06:27 +00:00
Tom Lane a5645972af Some minor editing work on the release notes. 2005-01-15 21:11:46 +00:00
Tom Lane 0e3afb3277 Minor improvements in descriptions of recent changes. 2005-01-15 07:53:04 +00:00
Bruce Momjian 67c1fd1efd Update release notes for 8.0.0 final. Release date set as 2005-01-19! 2005-01-15 05:59:44 +00:00
Tom Lane a3f98d5795 Adjust lookup of client-side profile files (.pgpass and so on) as per
discussion on pgsql-hackers-win32 list.  Documentation still needs to
be tweaked --- I'm not sure how to refer to the APPDATA folder in
user documentation.
2005-01-06 18:29:11 +00:00
Tom Lane d6294efbec More minor updates and copy-editing. 2005-01-06 01:49:24 +00:00
Peter Eisentraut 5ec30faee6 Spell checker run 2004-12-13 18:05:10 +00:00
Tom Lane 5374d097de Change planner to use the current true disk file size as its estimate of
a relation's number of blocks, rather than the possibly-obsolete value
in pg_class.relpages.  Scale the value in pg_class.reltuples correspondingly
to arrive at a hopefully more accurate number of rows.  When pg_class
contains 0/0, estimate a tuple width from the column datatypes and divide
that into current file size to estimate number of rows.  This improved
methodology allows us to jettison the ancient hacks that put bogus default
values into pg_class when a table is first created.  Also, per a suggestion
from Simon, make VACUUM (but not VACUUM FULL or ANALYZE) adjust the value
it puts into pg_class.reltuples to try to represent the mean tuple density
instead of the minimal density that actually prevails just after VACUUM.
These changes alter the plans selected for certain regression tests, so
update the expected files accordingly.  (I removed join_1.out because
it's not clear if it still applies; we can add back any variant versions
as they are shown to be needed.)
2004-12-01 19:00:56 +00:00
Peter Eisentraut a420b76ca5 Correctly name the Windows operating systems 2004-11-27 21:56:05 +00:00
Peter Eisentraut 49cbef7947 Update of conformance information to SQL:2003
by Troels Arvin, Simon Riggs, Elein Mustain

Make spelling of SQL standard names uniform.
2004-11-27 21:27:08 +00:00
Neil Conway 90f6f4b4b4 Fix typo in release notes. Michael Fuhr. 2004-11-22 07:30:22 +00:00
Tom Lane de8113fcdb Update release notes for recent changes; also minor editorialization. 2004-11-22 00:37:59 +00:00
Tom Lane 35f4994133 Fix plperl and pltcl error handling per my previous proposal. SPI
operations are now run as subtransactions, so that errors in them
can be reported as ordinary Perl or Tcl errors and caught by the
normal error handling convention of those languages.  Also do some
minor code cleanup in pltcl.c: extract a large chunk of duplicated
code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared
subroutine.
2004-11-21 21:17:07 +00:00
Tom Lane 19dacd4492 Fix typo, per Bruno Wolff. 2004-11-20 21:44:24 +00:00
Neil Conway b4cd3b3829 Fix a handful of typos in the release notes introduced by Bruce's recent
commit. Per Gavin Sherry.
2004-11-11 04:11:07 +00:00
Bruce Momjian 45ecebc415 Add SGML markup to 8.0 release notes. 2004-11-10 21:43:50 +00:00
Bruce Momjian 1688848204 Fix sgml markup tags. 2004-11-10 06:13:12 +00:00
Bruce Momjian a3704c6cb1 Update release notes to match CVS. 2004-11-10 06:09:59 +00:00
Tom Lane 98e8b48053 Create 'default_tablespace' GUC variable that supplies a TABLESPACE
clause implicitly whenever one is not given explicitly.  Remove concept
of a schema having an associated tablespace, and simplify the rules for
selecting a default tablespace for a table or index.  It's now just
(a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
empty string; (c) database's default.  This will allow pg_dump to use
SET commands instead of tablespace clauses to determine object locations
(but I didn't actually make it do so).  All per recent discussions.
2004-11-05 19:17:13 +00:00
Tom Lane 8f4edadb09 Add note that REINDEX takes a weaker lock than it used to. 2004-10-24 22:43:56 +00:00
Tom Lane a57df8d50d Update release history for releases 7.4.6, 7.3.8, 7.2.6. 2004-10-22 00:25:18 +00:00
Tom Lane 07ccbeb360 Include schema name in pg_restore -l output, per request from Phil Endecott. 2004-10-08 15:03:26 +00:00
Tom Lane 6c61af6654 Remove arithmetic operators on the 1-byte-char datatype, as per proposals
made several times in the past.  Add coercion functions between "char"
and integer so that a workaround is possible if needed.

Initdb forced.
2004-10-04 22:49:59 +00:00
Tom Lane 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and
bigint variants).  Clean up some inconsistencies in error message wording.
Fix scanint8 to allow trailing whitespace in INT64_MIN case.  Update
int8-exp-three-digits.out, which seems to have been ignored by the last
couple of people to modify the int8 regression test, and remove
int8-exp-three-digits-win32.out which is thereby exposed as redundant.
2004-10-04 14:42:48 +00:00
Neil Conway 3738510c2c Remove more traces of libpgtcl from the source tree. Also, make some
semi-related SGML cleanup. Original patch from ljb220@mindspring.com,
additional cleanup by Neil Conway.
2004-10-01 02:00:44 +00:00
Neil Conway 1d1b8191ce Minor improvements to the release notes. 2004-09-24 01:31:32 +00:00
Tom Lane b2c4071299 Redesign query-snapshot timing so that volatile functions in READ COMMITTED
mode see a fresh snapshot for each command in the function, rather than
using the latest interactive command's snapshot.  Also, suppress fresh
snapshots as well as CommandCounterIncrement inside STABLE and IMMUTABLE
functions, instead using the snapshot taken for the most closely nested
regular query.  (This behavior is only sane for read-only functions, so
the patch also enforces that such functions contain only SELECT commands.)
As per my proposal of 6-Sep-2004; I note that I floated essentially the
same proposal on 19-Jun-2002, but that discussion tailed off without any
action.  Since 8.0 seems like the right place to be taking possibly
nontrivial backwards compatibility hits, let's get it done now.
2004-09-13 20:10:13 +00:00
Tom Lane b339d1fff6 Fire non-deferred AFTER triggers immediately upon query completion,
rather than when returning to the idle loop.  This makes no particular
difference for interactively-issued queries, but it makes a big difference
for queries issued within functions: trigger execution now occurs before
the calling function is allowed to proceed.  This responds to numerous
complaints about nonintuitive behavior of foreign key checking, such as
http://archives.postgresql.org/pgsql-bugs/2004-09/msg00020.php, and
appears to be required by the SQL99 spec.
Also take the opportunity to simplify the data structures used for the
pending-trigger list, rename them for more clarity, and squeeze out a
bit of space.
2004-09-10 18:40:09 +00:00
Tom Lane 166300f318 Add note that contrib/rserv is gone. 2004-08-30 00:47:31 +00:00
Tom Lane 79abc3b0de Add explicit note that empty-string array element values now have to
be written with quotes.  Minor copy-editing too.
2004-08-30 00:33:52 +00:00
Bruce Momjian 968b87686a Update win32 comments. 2004-08-27 02:09:18 +00:00
Bruce Momjian dd9923eb25 New Win32 wording that mentions "code". 2004-08-26 16:54:36 +00:00
Bruce Momjian 8ec3221d32 Update Win32 wording. 2004-08-26 13:44:38 +00:00
Bruce Momjian cf5dd06755 Add warning about Win32 bugs in this release. 2004-08-26 13:08:59 +00:00
Neil Conway cda1bd6cfe Various minor improvements to the SGML documentation: fix some incorrect
SGML markup, add a "deprecated features" section to the 8.0 release
notes, untabify release.sgml and runtime.sgml, and make some other
minor improvements.
2004-08-24 00:06:51 +00:00
Bruce Momjian ade9cbafdf Mention that to_char(interval) will be removed in 8.1. 2004-08-21 03:25:34 +00:00
Bruce Momjian f657594bf7 Remove NT4 mention in release notes. 2004-08-18 15:48:36 +00:00
Tom Lane 950c8afcb4 Update release history for 7.4.5. 2004-08-18 03:03:32 +00:00
Tom Lane e76bcb855b Fix trivial typo. 2004-08-15 00:27:14 +00:00
Tom Lane 682d9fc774 Minor copy-editing for 7.4.4, 7.3.7, 7.2.5 release notes. 2004-08-15 00:09:24 +00:00
Tom Lane 2d65574041 Preliminary release notes for 7.4.4, 7.3.7, 7.2.5. Will add to the
back branches later.
2004-08-13 18:22:12 +00:00
Bruce Momjian ae449122cf Mention the installer doesn't run on NT4. 2004-08-13 03:00:07 +00:00
Joe Conway 881ea47d24 Another array syntax change (whitespace) clarification -- this time in
the release notes.
2004-08-08 06:03:36 +00:00
Joe Conway da8325fa5c Updated release notes for recent array syntax changes. 2004-08-08 05:46:40 +00:00
Tom Lane f8450bb32a Some editorial work on the 8.0 release notes. Update for recent commits,
improve existing descriptions.
2004-08-06 23:33:48 +00:00
Tom Lane fcbc438727 Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments
and documentation to reference 8.0 instead of 7.5.
2004-08-04 21:34:35 +00:00
Bruce Momjian 635018b77e Move dbsize/oid2name to open items list. 2004-08-03 01:14:57 +00:00
Bruce Momjian 9d623ed252 Minor release wording improvments. 2004-08-01 05:22:26 +00:00
Tom Lane b5d2821929 Fix broken markup, release date. 2004-07-31 07:11:07 +00:00
Bruce Momjian 6b771dfa38 Remove mention that we can't trap function errors. 2004-07-31 04:22:46 +00:00
Bruce Momjian d79dc61df9 Update release notes with better wording.
Brian B.
2004-07-28 14:28:57 +00:00
Bruce Momjian 5b2f4afffe Here is a patch that fixes the pipes used in find_other_exec() when
running as a service on windows <= 2000. Required to make the pg_ctl
service wrapper to work at all.

Magnus Hagander
2004-07-26 01:48:00 +00:00
Bruce Momjian 25a1324703 Adjust release notes based on community feedback. 2004-07-26 00:26:42 +00:00
Bruce Momjian a2abe9fe58 Update 7.5 release notes. 2004-07-25 04:18:05 +00:00
Bruce Momjian cbcd8b5bec First draft of 7.5 release notes. Still needs markup, additional major
items, and detailed text descriptions.
2004-07-24 09:36:53 +00:00
Tom Lane 4832c53e10 Some editorializing on 7.4.3 release notes. 2004-06-12 19:30:29 +00:00
Bruce Momjian aa5fe4ae76 Improve release wording. 2004-06-12 04:22:15 +00:00
Bruce Momjian b24e361d11 Markup fix. 2004-06-12 04:08:02 +00:00
Bruce Momjian 342e3b06f8 Fix markup 2004-06-12 04:02:53 +00:00
Bruce Momjian a1c4b9efe4 Update release notes for 7.4.3. 2004-06-12 03:54:51 +00:00
Neil Conway 2b3f6ecdf5 Clarify an entry in the 7.4 release notes. 2004-05-24 04:54:22 +00:00
Neil Conway bfa1171c84 Fix a few more minor errors in the 7.4 release notes. 2004-05-22 11:06:55 +00:00
Neil Conway 76e70108e7 Fix typo in an entry in the 7.4 release notes. 2004-05-22 09:48:15 +00:00
Neil Conway 4ef8b2f901 Fix obscure typo in 7.4.0 release notes. 2004-05-03 08:47:54 +00:00
Tom Lane 0bdce30f6b Some editorial work on 7.4.2 release notes. 2004-03-07 22:07:56 +00:00
Bruce Momjian ff47b8518e First update of release notes for 7.4.2. Still needs work. 2004-03-05 19:51:56 +00:00
Tom Lane 340d44686b Update release notes for 7.3.6. 2004-03-02 00:38:46 +00:00
Bruce Momjian 1decc208ac Tom Lane wrote:
> momjian@svr1.postgresql.org (Bruce Momjian) writes:
>>      someone asked me about the FK deadlock fix, mentioned in the 7.3.3
>>      release notes as 3rd change:
>>      http://www.postgresql.org/docs/current/static/release-7-3-3.html
>>      Actually, that fix was available with 7.4, not 7.3. Don't know if we can
>>      retroactively change the release-notes though.
>
> This is completely erroneous, please undo it.
>
> 2003-05-21 14:14  tgl
>
>       * src/: backend/utils/adt/ri_triggers.c,
>       test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch
>       Jan's fix to avoid primary key lookup (and lock) if foreign key
>       does not change on UPDATE.

Oh ... didn't know that you did a backpatch. Sorry


Jan
2004-02-13 04:40:06 +00:00
Bruce Momjian e850e30fc8 Jan:
someone asked me about the FK deadlock fix, mentioned in the 7.3.3
release notes as 3rd change:

     http://www.postgresql.org/docs/current/static/release-7-3-3.html

Actually, that fix was available with 7.4, not 7.3. Don't know if we can
retroactively change the release-notes though.
2004-02-12 20:17:34 +00:00
Neil Conway e29d8f3c34 SGML markup improvements. 2004-02-10 20:51:39 +00:00
Neil Conway 71998c1e51 Remove an old and out-of-date SGML comment from this file: we already
have WAL, outer joins, and TOAST.
2004-01-05 20:39:23 +00:00
Tom Lane 5015cf01eb Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. 2003-12-21 18:06:15 +00:00
Bruce Momjian 550d347811 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:23:36 +00:00
Peter Eisentraut cb95ec2f7a 7.4.1 release note improvements 2003-12-19 20:06:20 +00:00
Bruce Momjian 0d5fce355b Restore information schema upgrade instructions of Peter. 2003-12-17 07:07:00 +00:00
Bruce Momjian 34cb0f7b46 Update HISTORY and release notes for 7.4.1. 2003-12-15 22:24:59 +00:00
Tom Lane 0fd336c61d Update release notes for 7.3.5. 2003-12-02 16:14:12 +00:00
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Bruce Momjian 6a04c571d4 Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches. 2003-11-17 04:50:56 +00:00
Tom Lane 51eba617b2 More release-notes copy editing, from Neil Conway. 2003-11-16 03:23:48 +00:00
Tom Lane 3e9a86a38d A little bit more copy-editing... 2003-11-15 20:01:11 +00:00
Peter Eisentraut 472d9726dd Correct names of people with funny characters. 2003-11-15 01:16:37 +00:00
Bruce Momjian 959c0f7fb7 Add release date for 7.4. 2003-11-14 17:47:04 +00:00
Peter Eisentraut c4e3cff48c Beat some sense into the release notes. 2003-11-14 02:06:42 +00:00
Peter Eisentraut 934c21344c Documentation cleanup 2003-11-12 22:47:47 +00:00
Bruce Momjian f41ecc6d69 Update release notes for polymorphic functions. 2003-11-10 22:27:00 +00:00
Tom Lane 1a61554b59 Some copy-editing for 7.4 release notes. 2003-11-04 20:54:13 +00:00
Peter Eisentraut 8442a92e5a Spell checking, consistent terminology. 2003-11-01 01:56:29 +00:00
Tom Lane 9bd04c0130 Fix broken markup. 2003-10-31 22:22:10 +00:00
Bruce Momjian 19554ed487 new protocol, faster startup. 2003-10-31 19:51:14 +00:00
Bruce Momjian df1bb47dc4 Update for polymorphic functions, needs more work. 2003-10-31 19:49:40 +00:00
Bruce Momjian 12f2525b0d MAC OS X => Mac OS X 2003-10-31 19:33:17 +00:00
Bruce Momjian d908c8e238 Release updates suggested by Tom. 2003-10-31 19:24:17 +00:00
Bruce Momjian ef1b846daf Remove <note> take, use another paragraph for description. 2003-10-31 04:44:25 +00:00
Bruce Momjian d6ad5375cb Update with more comments. 2003-10-31 04:30:22 +00:00
Bruce Momjian fcfbd434cc Fix markup by using <note> for comments. 2003-10-30 20:49:47 +00:00
Bruce Momjian d8df98d026 More SGML cleanup. 2003-10-30 20:31:24 +00:00
Bruce Momjian 39b752f6b7 SGML cleanup. 2003-10-30 20:29:35 +00:00
Bruce Momjian c0d92dc489 Update SGML release notes with Peter's direction. Does not compile
because of section adjustments still needed.
2003-10-30 20:25:36 +00:00
Bruce Momjian 216bc11020 Mark release note comments as new subsections rather than footnotes, per
Peter.

Remove "Changes" section and pull all sections below it up one level.

More comment additions.
2003-10-30 19:43:01 +00:00
Bruce Momjian d807bbe837 Fix markup for new release footnotes. 2003-10-30 03:46:42 +00:00
Bruce Momjian d46f9cd3bd Update more release descriptions. 2003-10-29 23:28:59 +00:00
Bruce Momjian 8478bbfd76 Add more footnote comments to the release notes. 2003-10-29 22:54:01 +00:00
Bruce Momjian 1a2be80ee7 Add first release note detail item. 2003-10-29 20:38:19 +00:00
Bruce Momjian 03a2c3b586 Fix MOVE/FETCH wording. 2003-10-27 02:51:39 +00:00
Bruce Momjian b3a10a88d7 Update MOVE/FETCH release note mention. 2003-10-26 04:50:16 +00:00
Bruce Momjian 269df29e8b Release notes updates from Neil Conway. 2003-10-22 17:27:14 +00:00
Bruce Momjian 4377a9afc3 Add mention that "today" doesn't work as column default anymore. 2003-10-22 05:09:12 +00:00
Bruce Momjian 2f603a8b0c Add release info about dollar signs to migration section:
<listitem><para> Dollar sign (<literal>$</>) is no longer allowed
	in operator names</para></listitem>
     <listitem><para> Dollar sign (<literal>$</>) can be a non-first
	character in identifiers</para></listitem>
2003-10-21 01:25:31 +00:00
Tom Lane 34ed505966 Fix busted markup. 2003-10-17 18:29:55 +00:00
Bruce Momjian 60feaa261f Fix SGML markup.
Update HISTORY file.
2003-10-16 04:11:53 +00:00
Bruce Momjian 352f29b17b This patch adds another item to the "migration to 7.4" list in the
HISTORY file, and attributes the shared-buffer-alignment change to
Manfred Spraul.

Neil Conway
2003-10-16 03:55:31 +00:00
Bruce Momjian 62fdc3dd60 I have run pg_autovacuum on AIX, so that can, at least loosely, be
considered "tested."

And I have turned all of the 7.4 HISTORY material into DocBook for
release.sgml

Christopher Browne
2003-10-16 03:47:28 +00:00
Bruce Momjian b8d7e1e798 Change 7.3.4 release note format to match the rest of the 7.3.x
releases.

Rod Taylor
2003-09-29 18:15:12 +00:00
Tom Lane f3ad615ce8 Fix a batch of speling misteaks identified by Peter's spell-checker tool. 2003-09-20 20:12:05 +00:00
Bruce Momjian 2a5b6a7c9b This patch fixes a few missed GUC variables that were still upper case,
makes a few more small improvements to runtime.sgml, and makes some SGML
conventions more consistent.

Neil Conway
2003-09-11 21:42:20 +00:00
Bruce Momjian 743f667f00 Update URL for 7.3 changes:
http://developer.postgresql.org/~momjian/upgrade_tips_7.3
2003-08-27 03:35:35 +00:00
Bruce Momjian bb8586d19d Update for 7.3 tips URL. 2003-08-17 00:41:46 +00:00
Bruce Momjian 36f3a3c486 contraints -> constraints
Rod Taylor
2003-07-31 04:48:15 +00:00
Tom Lane 9c2a7c2269 Apply (a somewhat revised version of) Greg Mullane's patch to eliminate
heuristic determination of day vs month in date/time input.  Add the
ability to specify that input is interpreted as yy-mm-dd order (which
formerly worked, but only for yy greater than 31).  DateStyle's input
component now has the preferred spellings DMY, MDY, or YMD; the older
keywords European and US are now aliases for the first two of these.
Per recent discussions on pgsql-general.
2003-07-29 00:03:19 +00:00
Peter Eisentraut f1a27b120d Begin improving markup of (past) release notes. 2003-07-25 09:00:17 +00:00
Bruce Momjian d36fef11d0 Add to 7.3.4 release notes:
* Repair breakage in timestamp-to-date conversion for dates before 2000
2003-07-24 00:43:53 +00:00
Bruce Momjian 93395de092 New WAL fix release text is:
Prevent rare possibility of server startup failure (Tom)
2003-07-23 22:58:38 +00:00
Bruce Momjian a7e898785b Stamp 7.3.4. 2003-07-23 04:08:44 +00:00
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention
for the sign of timezone offsets, ie, positive is east from UTC.  These
were previously out of step with other operations that accept or show
timezones, such as I/O of timestamptz values.
2003-07-17 00:55:37 +00:00
Tom Lane cfa6999d3b Cause SHOW DATESTYLE to produce a string that will be accepted by SET
DATESTYLE, for instance 'SQL, European' instead of
'SQL with European conventions'.  Per gripe a month or two back from
Barry Lind.
2003-07-15 19:19:56 +00:00
Tom Lane 6115224448 Rename plpython to plpythonu, and update documentation to reflect its
now-untrusted status.
2003-06-30 18:31:42 +00:00
Tom Lane f9ebf36970 Update psql for some features of new FE/BE protocol. There is a
client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports
SQL-spec commit behavior.  Get rid of LO_TRANSACTION hack --- the
LO operations just work now, using libpq's ability to track the
transaction status.  Add a VERBOSE variable to control verboseness
of error message display, and add a %T prompt-string code to show
current transaction-block status.  Superuser state display in the
prompt string correctly follows SET SESSION AUTHORIZATION commands.
Control-C works to get out of COPY IN state.
2003-06-28 00:12:40 +00:00
Tom Lane 1bd22f55cf Disallow dollar sign in operator names, instead allow it as a non-first
character in identifiers.  The first change eliminates the current need
to put spaces around parameter references, as in "x<=$2".  The second
change improves compatibility with Oracle and some other RDBMSes.  This
was discussed and agreed to back in January, but did not get done.
2003-06-19 23:22:40 +00:00
Tom Lane eab5d643b2 Make FLOAT(p) measure the precision p in bits, not decimal digits, to
match the SQL standard.  Document FLOAT and FLOAT(p) notations in
datatype.sgml.  Per recent pghackers discussion.
2003-06-17 23:12:36 +00:00
Tom Lane fc8d970cbc Replace functional-index facility with expressional indexes. Any column
of an index can now be a computed expression instead of a simple variable.
Restrictions on expressions are the same as for predicates (only immutable
functions, no sub-selects).  This fixes problems recently introduced with
inlining SQL functions, because the inlining transformation is applied to
both expression trees so the planner can still match them up.  Along the
way, improve efficiency of handling index predicates (both predicates and
index expressions are now cached by the relcache) and fix 7.3 oversight
that didn't record dependencies of predicate expressions.
2003-05-28 16:04:02 +00:00
Tom Lane 6923ea2b86 Fix misstatement in release-notes item. 2003-05-26 18:58:26 +00:00
Tom Lane f45df8c014 Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing
blanks, in hopes of reducing the surprise factor for newbies.  Remove
redundant operators for VARCHAR (it depends wholly on TEXT operations now).
Clean up resolution of ambiguous operators/functions to avoid surprising
choices for domains: domains are treated as equivalent to their base types
and binary-coercibility is no longer considered a preference item when
choosing among multiple operators/functions.  IsBinaryCoercible now correctly
reflects the notion that you need *only* relabel the type to get from type
A to type B: that is, a domain is binary-coercible to its base type, but
not vice versa.  Various marginal cleanup, including merging the essentially
duplicate resolution code in parse_func.c and parse_oper.c.  Improve opr_sanity
regression test to understand about binary compatibility (using pg_cast),
and fix a couple of small errors in the catalogs revealed thereby.
Restructure "special operator" handling to fetch operators via index opclasses
rather than hardwiring assumptions about names (cleans up the pattern_ops
stuff a little).
2003-05-26 00:11:29 +00:00
Tom Lane d23f6f8bb7 Update release history for impending 7.3.3 release. 2003-05-22 18:31:45 +00:00
Peter Eisentraut 2c0556068f Indexing support for pattern matching operations via separate operator
class when lc_collate is not C.
2003-05-15 15:50:21 +00:00
Tom Lane f85f43dfb5 Backend support for autocommit removed, per recent discussions. The
only remnant of this failed experiment is that the server will take
SET AUTOCOMMIT TO ON.  Still TODO: provide some client-side autocommit
logic in libpq.
2003-05-14 03:26:03 +00:00
Tom Lane d72f6c7503 Reimplement NUMERIC datatype using base-10000 arithmetic; also improve
some of the algorithms for higher functions.  I see about a factor of ten
speedup on the 'numeric' regression test, but it's unlikely that that test
is representative of real-world applications.
initdb forced due to change of on-disk representation for NUMERIC.
2003-03-21 01:58:05 +00:00
Tom Lane 7bcc6d98fb Replace regular expression package with Henry Spencer's latest version
(extracted from Tcl 8.4.1 release, as Henry still hasn't got round to
making it a separate library).  This solves a performance problem for
multibyte, as well as upgrading our regexp support to match recent Tcl
and nearly match recent Perl.
2003-02-05 17:41:33 +00:00
Tom Lane c7bceca156 Implement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing from
Tom Lane.
2003-02-02 23:46:38 +00:00
Tom Lane 6adb475f77 Update release history for 7.3.2. 2003-02-02 19:48:20 +00:00
Tom Lane 887edf4ff7 Update release history for 7.2.4. 2003-01-29 22:14:08 +00:00
Tom Lane 9f5f212475 Allow the planner to collapse explicit inner JOINs together, rather than
necessarily following the JOIN syntax to develop the query plan.  The old
behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT
to 1.  Also create a GUC variable FROM_COLLAPSE_LIMIT to control the
similar decision about when to collapse sub-SELECT lists into their parent
lists.  (This behavior existed already, but the limit was always
GEQO_THRESHOLD/2; now it's separately adjustable.)
2003-01-25 23:10:30 +00:00
Peter Eisentraut ef7422510e Grant options, and cascading revoke. Grant options are allowed only for
users right now, not groups.  Extension of has_foo_privileges functions to
query the grant options.  Extension of aclitem type to store grantor.
2003-01-23 23:39:07 +00:00
Tom Lane bdfbfde1b1 IN clauses appearing at top level of WHERE can now be handled as joins.
There are two implementation techniques: the executor understands a new
JOIN_IN jointype, which emits at most one matching row per left-hand row,
or the result of the IN's sub-select can be fed through a DISTINCT filter
and then joined as an ordinary relation.
Along the way, some minor code cleanup in the optimizer; notably, break
out most of the jointree-rearrangement preprocessing in planner.c and
put it in a new file prep/prepjointree.c.
2003-01-20 18:55:07 +00:00
Bruce Momjian 161c2a7be6 Fix capitalization. 2003-01-11 21:02:49 +00:00
Peter Eisentraut b65cd56240 Read-only transactions, as defined in SQL. 2003-01-10 22:03:30 +00:00
Tom Lane 061168d38f Code review for FETCH/MOVE 0 changes. Improve documentation, do the
right thing with the destination when FETCH 0 can't return a row,
don't try to stuff LONG_MAX into an int value.
2003-01-08 00:22:27 +00:00
Peter Eisentraut 939a59ffc6 Use our own version of getopt_long() if the OS doesn't have one. 2003-01-06 18:53:25 +00:00
Tom Lane 896bd121cc Code review for transaction-safe-TRUNCATE patch: minor cleanups. 2002-12-30 19:45:17 +00:00
Bruce Momjian ff494e8851 Update 7.3.1 to give proper attribution to pg_dump item. 2002-12-20 00:24:00 +00:00
Tom Lane 88e816964b Add some items to development-branch release notes. 2002-12-18 19:01:25 +00:00
Bruce Momjian d1e2d0345f Stamp 7.3.1. 2002-12-18 02:06:23 +00:00
Peter Eisentraut 1b42ad7e59 Initial version of the SQL information schema 2002-12-14 00:24:35 +00:00
Tom Lane b0422b215c Preliminary code review for domain CHECK constraints patch: add documentation,
make VALUE a non-reserved word again, use less invasive method of passing
ConstraintTestValue into transformExpr, fix problems with nested constraint
testing, do correct thing with NULL result from a constraint expression,
remove memory leak.  Domain checks still need much more work if we are going
to allow ALTER DOMAIN, however.
2002-12-12 20:35:16 +00:00
Bruce Momjian 75d1ed3392 Recreate HISTORY file to match release.sgml changes. Stamp 7.3 final in
configure/configure.in.
2002-11-26 22:04:03 +00:00
Bruce Momjian 1b7f3cc02d This patch implements FOR EACH STATEMENT triggers, per my email to
-hackers a couple days ago.

Notes/caveats:

        - added regression tests for the new functionality, all
          regression tests pass on my machine

        - added pg_dump support

        - updated PL/PgSQL to support per-statement triggers; didn't
          look at the other procedural languages.

        - there's (even) more code duplication in trigger.c than there
          was previously. Any suggestions on how to refactor the
          ExecXXXTriggers() functions to reuse more code would be
          welcome -- I took a brief look at it, but couldn't see an
          easy way to do it (there are several subtly-different
          versions of the code in question)

        - updated the documentation. I also took the liberty of
          removing a big chunk of duplicated syntax documentation in
          the Programmer's Guide on triggers, and moving that
          information to the CREATE TRIGGER reference page.

        - I also included some spelling fixes and similar small
          cleanups I noticed while making the changes. If you'd like
          me to split those into a separate patch, let me know.

Neil Conway
2002-11-23 03:59:09 +00:00
Tom Lane 349d529abf Release note improvements (Neil, Tom) 2002-11-23 02:41:03 +00:00
Peter Eisentraut b327906683 Merge release note updates from 7.3 branch. 2002-11-11 20:06:00 +00:00
Bruce Momjian 433d4eb986 Update release docs for 7.3. 2002-11-08 03:44:15 +00:00
Peter Eisentraut 10f41b2b80 Replace &version; by appropriate version. 2002-10-12 16:29:51 +00:00
Bruce Momjian fbc48fac11 Update HISTORY/release.sgml for 7.2.3. 2002-10-01 03:23:05 +00:00
Bruce Momjian a6c00af4c8 Make PL/pgSQL capitalization consistent. 2002-09-24 23:37:42 +00:00
Peter Eisentraut bc49968764 Add more appropriate markup. 2002-09-21 18:32:54 +00:00
Tom Lane b26dfb9522 Extend pg_cast castimplicit column to a three-way value; this allows us
to be flexible about assignment casts without introducing ambiguity in
operator/function resolution.  Introduce a well-defined promotion hierarchy
for numeric datatypes (int2->int4->int8->numeric->float4->float8).
Change make_const to initially label numeric literals as int4, int8, or
numeric (never float8 anymore).
Explicitly mark Func and RelabelType nodes to indicate whether they came
from a function call, explicit cast, or implicit cast; use this to do
reverse-listing more accurately and without so many heuristics.
Explicit casts to char, varchar, bit, varbit will truncate or pad without
raising an error (the pre-7.2 behavior), while assigning to a column without
any explicit cast will still raise an error for wrong-length data like 7.3.
This more nearly follows the SQL spec than 7.2 behavior (we should be
reporting a 'completion condition' in the explicit-cast cases, but we have
no mechanism for that, so just do silent truncation).
Fix some problems with enforcement of typmod for array elements;
it didn't work at all in 'UPDATE ... SET array[n] = foo', for example.
Provide a generalized array_length_coerce() function to replace the
specialized per-array-type functions that used to be needed (and were
missing for NUMERIC as well as all the datetime types).
Add missing conversions int8<->float4, text<->numeric, oid<->int8.
initdb forced.
2002-09-18 21:35:25 +00:00
Bruce Momjian 4f1a32b37e Update new HISTORY file for 7.3! 2002-09-04 07:16:32 +00:00
Tom Lane 8f60f43f2e Department of second thoughts: make checks for replacing a view slightly
more flexible, and improve the error reporting.  Also, add documentation
for REPLACE RULE/VIEW.
2002-09-02 20:04:40 +00:00
Tom Lane 26993b2918 AUTOCOMMIT mode is now an available backend GUC variable; setting it
to false provides more SQL-spec-compliant behavior than we had before.
I am not sure that setting it false is actually a good idea yet; there
is a lot of client-side code that will probably be broken by turning
autocommit off.  But it's a start.

Loosely based on a patch by David Van Wie.
2002-08-30 22:18:07 +00:00
Tom Lane e107f3a7e3 PL/pgSQL functions can return sets. Neil Conway's patch, modified so
that the functionality is available to anyone via ReturnSetInfo, rather
than hard-wiring it to PL/pgSQL.
2002-08-30 00:28:41 +00:00
Tom Lane 5241a6259f Remove support for version-0 FE/BE protocol, per pghackers discussion.
This breaks support for 6.2 or older client libraries.
2002-08-29 03:22:01 +00:00
Tom Lane 64505ed58b Code review for standalone composite types, query-specified composite
types, SRFs.  Not happy with memory management yet, but I'll commit these
other changes.
2002-08-29 00:17:06 +00:00
Tom Lane 28e82066a1 PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing
from Tom Lane.
2002-08-27 04:55:12 +00:00
Bruce Momjian d46172e4fa Update docs for 7.2.2 release info. 2002-08-25 14:34:24 +00:00
Tom Lane b663f3443b Add a bunch of pseudo-types to replace the behavior formerly associated
with OPAQUE, as per recent pghackers discussion.  I still want to do some
more work on the 'cstring' pseudo-type, but I'm going to commit the bulk
of the changes now before the tree starts shifting under me ...
2002-08-22 00:01:51 +00:00
Peter Eisentraut 6faf8024fa Enable large file support.
Use off_t and size_t in pg_dump to handle file offset arithmetic correctly.
2002-08-20 17:54:45 +00:00
Tom Lane a0bf1a7f2e Fix pg_dump to dump serial columns as serials. Per pghackers discussion,
cause SERIAL column declaration not to imply UNIQUE, so that this can be
done without creating an extra index.
2002-08-19 19:33:36 +00:00
Peter Eisentraut c828ec8820 Make pg_dump output more portable and more pleasing to look at.
The -n and -N options were removed.  Quoting is now smart enough to
supply quotes if and only if necessary.

Numerical types are now printed without quotes, except in cases of
special values such as NaN.

Boolean values printed as true and false.

Most string literals now do not escape whitespace characters (newlines,
etc.) for portability.

SET SESSION AUTHORIZATION argument is a string literal, to follow SQL.

Made commands output by pg_dump use consistent spacing and indentation.
2002-08-18 09:36:26 +00:00
Tom Lane e44beef712 Code review of CLUSTER patch. Clean up problems with relcache getting
confused, toasted data getting lost, etc.
2002-08-11 21:17:35 +00:00
Tom Lane 38bb77a5d1 ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne,
code review by Tom Lane.  Remaining issues: functions that take or
return tuple types are likely to break if one drops (or adds!)
a column in the table defining the type.  Need to think about what
to do here.

Along the way: some code review for recent COPY changes; mark system
columns attnotnull = true where appropriate, per discussion a month ago.
2002-08-02 18:15:10 +00:00
Tom Lane ea4686e3e1 Implement CREATE/DROP OPERATOR CLASS. Work still remains: need more
documentation (xindex.sgml should be rewritten), need to teach pg_dump
about it, need to update contrib modules that currently build pg_opclass
entries by hand.  Original patch by Bill Studenmund, grammar adjustments
and general update for 7.3 by Tom Lane.
2002-07-29 22:14:11 +00:00
Tom Lane c33a6343cd Code review for SHOW output changes; fix horology expected files for
new SHOW output format.
2002-07-20 15:12:56 +00:00
Peter Eisentraut 97377048b4 pg_cast table, and standards-compliant CREATE/DROP CAST commands, plus
extension to create binary compatible casts.  Includes dependency tracking
as well.

pg_proc.proimplicit is now defunct, but will be removed in a separate
commit.

pg_dump provides a migration path from the previous scheme to declare
casts.  Dumping binary compatible casts is currently impossible, though.
2002-07-18 23:11:32 +00:00
Tom Lane 5af19e4227 Add more dependency insertions --- this completes the basic pg_depend
functionality.  Of note: dropping a table that has a SERIAL column
defined now drops the associated sequence automatically.
2002-07-16 22:12:20 +00:00
Tom Lane 7c6df91dda Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY
constraints all have real live entries in pg_constraint.  pg_depend
exists, and RESTRICT/CASCADE options work on most kinds of DROP;
however, pg_depend is not yet very well populated with dependencies.
(Most of the ones that are present at this point just replace formerly
hardwired associations, such as the implicit drop of a relation's pg_type
entry when the relation is dropped.)  Need to add more logic to create
dependency entries, improve pg_dump to dump constraints in place of
indexes and triggers, and add some regression tests.
2002-07-12 18:43:19 +00:00
Thomas G. Lockhart 090dd22de6 Implement SQL99 OVERLAY(). Allows substitution of a substring in a string.
Implement SQL99 SIMILAR TO as a synonym for our existing operator "~".
Implement SQL99 regular expression SUBSTRING(string FROM pat FOR escape).
 Extend the definition to make the FOR clause optional.
 Define textregexsubstr() to actually implement this feature.
Update the regression test to include these new string features.
 All tests pass.
Rename the regular expression support routines from "pg95_xxx" to "pg_xxx".
Define CREATE CHARACTER SET in the parser per SQL99. No implementation yet.
2002-06-11 15:32:33 +00:00
Peter Eisentraut d60f10b0e7 Add optional "validator" function to languages that can validate the
function body (and other properties) as a function in the language
is created.  This generalizes ad hoc code that already existed for
the built-in languages.

The validation now happens after the pg_proc tuple of the new function
is created, so it is possible to define recursive SQL functions.

Add some regression test cases that cover bogus function definition
attempts.
2002-05-22 17:21:02 +00:00
Peter Eisentraut e8ac187c68 Allow functions to be executed with the privileges of the function owner.
I took the opportunity to remove the pg_proc.proistrusted field.
2002-05-18 13:48:01 +00:00
Peter Eisentraut 94bdc4855c Extend syntax of CREATE FUNCTION to resemble SQL99. 2002-05-17 18:32:52 +00:00
Tom Lane f0811a74b3 Merge the last few variable.c configuration variables into the generic
GUC support.  It's now possible to set datestyle, timezone, and
client_encoding from postgresql.conf and per-database or per-user
settings.  Also, implement rollback of SET commands that occur in a
transaction that later fails.  Create a SET LOCAL var = value syntax
that sets the variable only for the duration of the current transaction.
All per previous discussions in pghackers.
2002-05-17 01:19:19 +00:00
Tom Lane 8338cc03a8 Remove the last traces of datatypes datetime and timespan. 2002-05-03 04:11:08 +00:00
Tom Lane b3120804ad Rule names are now unique per-relation, rather than unique globally.
DROP RULE and COMMENT ON RULE syntax adds an 'ON tablename' clause,
similar to TRIGGER syntaxes.  To allow loading of existing pg_dump
files containing COMMENT ON RULE, the COMMENT code will still accept
the old syntax --- but only if the target rulename is unique across
the whole database.
2002-04-18 20:01:11 +00:00