Commit Graph

3159 Commits

Author SHA1 Message Date
Bruce Momjian
550d347811 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:23:36 +00:00
Bruce Momjian
0ea4f9c859 Back out:
>  Attached is a patch that addressed all the discussed issues
>  that did not break backward compatability, including the
>  ability to output ISO-8601 compliant intervals by setting
>  datestyle to iso8601basic.
2003-12-21 04:34:36 +00:00
Bruce Momjian
1ee0ddf91d Another markup fix for recent patch. 2003-12-20 16:06:54 +00:00
Bruce Momjian
4e005c9095 Fix broken markup. 2003-12-20 15:59:25 +00:00
Bruce Momjian
54c8e821b8 In my mind there were two categories of open issues
a) ones that are 100% backward (such as the comment about
     outputting this format)
and
  b) ones that aren't (such as deprecating the current
     postgresql shorthand of
         '1Y1M'::interval = 1 year 1 minute
     in favor of the ISO-8601
         'P1Y1M'::interval = 1 year 1 month.

Attached is a patch that addressed all the discussed issues that
did not break backward compatability, including the ability to
output ISO-8601 compliant intervals by setting datestyle to
iso8601basic.

Interval values can now be written as  ISO 8601 time intervals, using
the "Format with time-unit designators". This format always starts with
the character 'P', followed  by a string of values followed
by single character time-unit designators. A 'T' separates the date and
time parts of the interval.

Ron Mayer
2003-12-20 15:32:55 +00:00
Peter Eisentraut
cb95ec2f7a 7.4.1 release note improvements 2003-12-19 20:06:20 +00:00
Bruce Momjian
e9aec81792 Please find enclosed a patch exemplifying typical use of the ARE
Class-Shorthand Escapes<C2><AE>.  I believe it will help intrepid regex
users. :)

David Fetter
2003-12-18 03:59:07 +00:00
Bruce Momjian
0d5fce355b Restore information schema upgrade instructions of Peter. 2003-12-17 07:07:00 +00:00
Peter Eisentraut
4b1a35b3c2 Add example for converting epoch back to timestamp. 2003-12-16 15:27:58 +00:00
Bruce Momjian
39d66b5494 Mention ecpg SET CONNECTION is not thread-aware. 2003-12-16 01:06:39 +00:00
Peter Eisentraut
a6dbd64947 Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
previous behavior of <literal>, <envar>, <acronym>, and others.
2003-12-15 23:58:12 +00:00
Bruce Momjian
34cb0f7b46 Update HISTORY and release notes for 7.4.1. 2003-12-15 22:24:59 +00:00
Neil Conway
6efdd4186c Fix two typos in the documentation for PREPARE. 2003-12-14 00:55:46 +00:00
Neil Conway
81e9455150 This patch fixes a few more uppercase GUC vars. I also removed an
example from the RESET reference page because it seemed completely
redundant.
2003-12-14 00:15:03 +00:00
Neil Conway
0b52062265 This patch makes some improvements and adds some additional detail
to the documentation on routine database maintainence activities.
I also corrected a bunch of SGML markup.
2003-12-14 00:10:32 +00:00
Neil Conway
e24018728c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-14 00:05:29 +00:00
Neil Conway
7fb5a9992c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
Bruce Momjian
62f92ff32d SGML doc build instructions --- no more DTDDECL, fix double dash in path name. 2003-12-13 20:09:15 +00:00
Bruce Momjian
9878fe2ae5 Add Czech language FAQ's
Pavel Stehule
2003-12-13 16:56:00 +00:00
Peter Eisentraut
42610b1b8a Fix for vpath build 2003-12-11 22:10:51 +00:00
Peter Eisentraut
d87e109b88 Make some wording consistent with DROP OPERATOR description. 2003-12-11 20:13:53 +00:00
Peter Eisentraut
60425f39c3 Fix instructions how to shut down postmaster. 2003-12-11 19:56:54 +00:00
Joe Conway
f0943278c1 Documentation update for previously committed changes: read-only GUC variables
and pg_settings view.
2003-12-06 23:10:23 +00:00
Tom Lane
005a1217fb Massive overhaul of pg_dump: make use of dependency information from
pg_depend to determine a safe dump order.  Defaults and check constraints
can be emitted either as part of a table or domain definition, or
separately if that's needed to break a dependency loop.  Lots of old
half-baked code for controlling dump order removed.
2003-12-06 03:00:16 +00:00
Peter Eisentraut
59b1a23028 Markup improvements 2003-12-04 21:24:56 +00:00
Tom Lane
0fd336c61d Update release notes for 7.3.5. 2003-12-02 16:14:12 +00:00
Tom Lane
145d9fa46c Code and docs review for numeric-factorial patch. 2003-12-02 00:26:59 +00:00
Bruce Momjian
8f61184db7 Hi, this doco patch is a quick one to add explicit mention of the need
for the AT clause in threaded ECPG applications.

Philip Yarra
2003-12-01 22:36:40 +00:00
Bruce Momjian
8bb60b6423 attached is a patch that adds display of the groups a user belongs to to
\du and a \dg command to psql. It's against 7.4beta5.

Markus Bertheau <twanger@bluetwanger.de>
2003-12-01 22:21:54 +00:00
Bruce Momjian
7ce9b7c0d8 This patch adds a new GUC var, "default_with_oids", which follows the
proposal for eventually deprecating OIDs on user tables that I posted
earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or
WITHOUT OIDS when dumping a table. The documentation has been updated.

Neil Conway
2003-12-01 22:08:02 +00:00
Bruce Momjian
e2ac58c7bd Remove mention of factorial as casting example. New example needed. 2003-12-01 21:53:15 +00:00
Tom Lane
af03663878 Minor wordsmithing in datetime docs to try to address gripes raised by
cnliou.
2003-12-01 20:34:53 +00:00
Tom Lane
3e5da0a8da Fix typos noted by Halley Pacheco de Oliveira. 2003-12-01 17:58:27 +00:00
Joe Conway
b8f40ced2f Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:55:09 +00:00
Bruce Momjian
09ab9b5915 Remove INTO recommendation for plpgsql language. 2003-11-30 05:45:22 +00:00
Bruce Momjian
24a1a6a5d9 Fix URL. 2003-11-30 04:56:47 +00:00
Bruce Momjian
db032b2719 *** empty log message *** 2003-11-30 04:54:07 +00:00
Bruce Momjian
1a7c373d18 There is an unused variable in an example function in the PL/PgSQL
documentation; this patch removes it.

Neil Conway
2003-11-30 04:47:37 +00:00
Bruce Momjian
9fd239bcb4 Remove win32-only mention for pgadmin. 2003-11-30 04:35:53 +00:00
Bruce Momjian
a6fd22a57a *** empty log message *** 2003-11-30 04:34:14 +00:00
PostgreSQL Daemon
969685ad44 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Bruce Momjian
d5f6cfc72e Update Russian FAQ, both branches.
Viktor Vislobokov
2003-11-28 20:20:33 +00:00
Bruce Momjian
3c0ddc5845 Update most recent version to 7.4. 2003-11-28 20:09:30 +00:00
Peter Eisentraut
dd01cfe1c4 Remove possibility to specify an installation root after --with-krbx and
--with-openssl options.  This creates too much risk to pick up the wrong
directory accidentally (for example when there are lib64 directories), and
does not really help much with contemporary installation layouts.
2003-11-27 19:44:56 +00:00
Peter Eisentraut
185430aef9 Add NetBSD Sparc as supported. 2003-11-26 15:56:48 +00:00
Peter Eisentraut
38ba28e5c1 Fix language. 2003-11-25 19:27:18 +00:00
Peter Eisentraut
cf87eb4726 Upgrade to DocBook V4.2 SGML. 2003-11-24 19:08:02 +00:00
Peter Eisentraut
e7cc995a98 Fix markup. 2003-11-24 16:56:00 +00:00
Peter Eisentraut
b3d72d3ec5 Use --with-docdir to choose installation location of documentation; put
back --infodir, which several automatic build environments expect to exist.
Add --without-docdir to prevent installation of documentation, which is
helpful for things like RPM that have their own method of installing
documentation.
2003-11-24 14:52:58 +00:00
Tom Lane
c52204b224 Repair missed renamings of show_statement_stats and show_executor_stats. 2003-11-24 14:49:51 +00:00
Tom Lane
42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and
large objects.  Dump all these in pg_dump; also add code to pg_dump
user-defined conversions.  Make psql's large object code rely on
the backend for inserting/deleting LOB comments, instead of trying to
hack pg_description directly.  Documentation and regression tests added.

Christopher Kings-Lynne, code reviewed by Tom
2003-11-21 22:32:49 +00:00
Bruce Momjian
022da0ed7a SERIAL no longer creates an index by default, as of 7.3. 2003-11-19 16:50:48 +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
1a908a00b0 Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
which had been unintentionally broken by recent changes to tighten up the
DateStyle rules for all-numeric date input.  Add documentation and
regression tests for this, too.
2003-11-16 20:29:16 +00:00
Tom Lane
9ad53b0463 Sync HEAD with update committed only in 7.4 branch. 2003-11-16 17:16:47 +00:00
Tom Lane
02cd2b96ac Another try at fixing the Linux overcommit docs, per Andrew Dunstan. 2003-11-16 17:01:50 +00:00
Bruce Momjian
658b58dc16 pgadmin III released. 2003-11-16 04:41:12 +00:00
Tom Lane
edc213515b Update info about SysV configuration procedures on OS X 10.3. 2003-11-16 03:58:10 +00:00
Tom Lane
ffce57de40 Some editorializing on the Linux memory overcommit docs, from Neil Conway. 2003-11-16 03:38:34 +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
Tom Lane
c76037aa50 Minor wording improvement suggested by a comment in the interactive docs. 2003-11-15 19:46:31 +00:00
Peter Eisentraut
472d9726dd Correct names of people with funny characters. 2003-11-15 01:16:37 +00:00
Tom Lane
db15b9b6cf Repair error in syntax documentation for CREATE TABLE: one does not put
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.
2003-11-14 22:56:11 +00:00
Bruce Momjian
959c0f7fb7 Add release date for 7.4. 2003-11-14 17:47:04 +00:00
Tom Lane
c38ff52693 Fix misstatement about the required value of SEMVMX. Given our current
usage of PGSemaMagic, the minimum required value is actually 537, but
say 1000 just to use a round number.  255 is *not* good enough.
2003-11-14 15:43:22 +00:00
Peter Eisentraut
c4e3cff48c Beat some sense into the release notes. 2003-11-14 02:06:42 +00:00
Peter Eisentraut
e873207fdd Add final port reports. 2003-11-13 18:01:45 +00:00
Peter Eisentraut
934c21344c Documentation cleanup 2003-11-12 22:47:47 +00:00
Tom Lane
fa5c8a055a Cross-data-type comparisons are now indexable by btrees, pursuant to my
pghackers proposal of 8-Nov.  All the existing cross-type comparison
operators (int2/int4/int8 and float4/float8) have appropriate support.
The original proposal of storing the right-hand-side datatype as part of
the primary key for pg_amop and pg_amproc got modified a bit in the event;
it is easier to store zero as the 'default' case and only store a nonzero
when the operator is actually cross-type.  Along the way, remove the
long-since-defunct bigbox_ops operator class.
2003-11-12 21:15:59 +00:00
Bruce Momjian
4bcd3b42b9 Here's a patch that adds some text mentioning that
RESTRICT is not deferrable to the create table reference
page.

Stephan Szabo
2003-11-12 04:08:07 +00:00
Bruce Momjian
5e8a8865e7 Update freenode mention. 2003-11-10 22:47:35 +00:00
Bruce Momjian
f41ecc6d69 Update release notes for polymorphic functions. 2003-11-10 22:27:00 +00:00
Bruce Momjian
79f8f5fc0d Update IRC to mention freenet instead of openprojects. 2003-11-10 21:56:08 +00:00
Peter Eisentraut
b657ded2c5 Adjust file so psql help picks it up properly.
patch by Kris Jurka
2003-11-08 11:06:37 +00:00
Bruce Momjian
ab0e426cdc Typo fix. 2003-11-07 17:02:09 +00:00
Tom Lane
e1b47c2dbd Minor copy-editing. 2003-11-06 22:21:47 +00:00
Peter Eisentraut
96889392e9 Implement isolation levels read uncommitted and repeatable read as acting
like the next higher one.
2003-11-06 22:08:15 +00:00
Peter Eisentraut
ee4a0d45fc Check off UnixWare. 2003-11-05 00:10:06 +00:00
Tom Lane
e560dd3537 Minor copy-editing. 2003-11-05 00:05:32 +00:00
Tom Lane
1a61554b59 Some copy-editing for 7.4 release notes. 2003-11-04 20:54:13 +00:00
Tom Lane
64caee7548 Give the full syntax rules for subscripting and field selection in the
proper place, namely the syntax discussion of value expressions.
2003-11-04 19:18:15 +00:00
Peter Eisentraut
c58083a941 Update keywords table. 2003-11-04 12:59:54 +00:00
Peter Eisentraut
af83998729 Remove unused graphics files. 2003-11-04 10:25:07 +00:00
Peter Eisentraut
ee640fdd19 Add report about HP-UX 11.00. 2003-11-04 10:08:54 +00:00
Peter Eisentraut
1d27de4cf4 Random copy-editing. 2003-11-04 09:55:39 +00:00
Tom Lane
bb06cbdb2c Copy-editing. 2003-11-04 00:34:45 +00:00
Tatsuo Ishii
3d22beeb6a fix typo. (role_columns_grants -> role_column_grants) 2003-11-03 12:31:52 +00:00
Tom Lane
eeaf5f04ae Provide a way to run the parallel regression tests with a user-specified
limit on the number of simultaneous connections.  Andrew Dunstan, with
review by Tom Lane.
2003-11-02 21:56:15 +00:00
Peter Eisentraut
4593531205 Fix language. 2003-11-02 12:59:54 +00:00
Peter Eisentraut
841f4a9542 Make spelling consistent. 2003-11-02 12:59:28 +00:00
Peter Eisentraut
0f095fa4d2 pg_dumpall doesn't use psql anymore. 2003-11-02 12:58:39 +00:00
Peter Eisentraut
59550df34d Put --describe-config in the right place. 2003-11-02 12:58:11 +00:00
Peter Eisentraut
1885b26893 Fix name in supported platforms list. 2003-11-02 12:57:48 +00:00
Peter Eisentraut
1af403e42d Complete options help and put it in less random order. 2003-11-02 12:55:24 +00:00
Peter Eisentraut
33ab0d9eee Call domains "domains", not "derived types". 2003-11-02 12:53:57 +00:00
Peter Eisentraut
831af83b91 Update ports list. 2003-11-02 08:54:09 +00:00
Peter Eisentraut
8442a92e5a Spell checking, consistent terminology. 2003-11-01 01:56:29 +00:00
Tom Lane
47309464e4 Rewrite GiST documentation into something actually useful.
Christopher Kings-Lynne
2003-10-31 22:41:21 +00:00
Tom Lane
9bd04c0130 Fix broken markup. 2003-10-31 22:22:10 +00:00
Tom Lane
8545482947 When a superuser does GRANT or REVOKE on an object he doesn't own,
process the command as though it were issued by the object owner.
This prevents creating weird scenarios in which the same privileges
may appear to flow from different sources, and ensures that a superuser
can in fact revoke all privileges if he wants to.  In particular this
means that the regression tests work when run by a superuser other than
the original bootstrap userid.  Per report from Larry Rosenman.
2003-10-31 20:00:49 +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
Tom Lane
ede9b68e03 Use Tcl ByteArray objects to avoid unwanted character set translation
in libpgtcl's lo_read/lo_write commands.  Also, deal correctly with
failure return from lo_read().  ljb and Tom Lane.
2003-10-31 00:18:55 +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
60b198a768 Update FAQ_DEV: elog => ereport. 2003-10-30 02:40:29 +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
a00d6b23eb Update for 7.4 --- prefer IN to EXISTS. 2003-10-29 20:20:12 +00:00
Bruce Momjian
d890c1d065 Update for OSF 4.0 platform. 2003-10-29 13:42:55 +00:00
Tom Lane
50cb974068 Adjust wording to avoid giving the impression that schema USAGE
privilege hides system catalog entries.
2003-10-28 20:18:09 +00:00
Bruce Momjian
53b714d2a7 Add --describe-config to top of postgres manual page. 2003-10-28 19:39:18 +00:00
Bruce Momjian
6228228009 Document --describe-config. 2003-10-28 15:01:27 +00:00
Bruce Momjian
5db5cbb838 Update Win32 clients. 2003-10-27 15:35:10 +00:00
Bruce Momjian
03a2c3b586 Fix MOVE/FETCH wording. 2003-10-27 02:51:39 +00:00
Bruce Momjian
866c850cf5 Update intel solaris. 2003-10-26 14:31:09 +00:00
Bruce Momjian
8f67daded7 Improve indenting of port entries. 2003-10-26 13:28:46 +00:00
Bruce Momjian
98fa527942 Update Solaris 5.6. 2003-10-26 13:26:41 +00:00
Peter Eisentraut
06495a7324 Correct version numbers. 2003-10-26 11:14:39 +00:00
Bruce Momjian
b3a10a88d7 Update MOVE/FETCH release note mention. 2003-10-26 04:50:16 +00:00
Bruce Momjian
eb1c22c39d Add mention of quotes on function body to NOTES section.
Oliver Elphick
2003-10-26 04:34:05 +00:00
Bruce Momjian
cc9c59af24 Update for No&egrave;l K&ouml;the in SGML. 2003-10-26 01:39:43 +00:00
Bruce Momjian
f6332c7354 Mark Linux/ppc as working. 2003-10-26 01:32:36 +00:00
Bruce Momjian
c8013b60cb Mark linux m68k, alpha as working. 2003-10-26 01:19:57 +00:00
Bruce Momjian
bcc6c9da83 Remove very old platforms as unsupported, <=7.0. 2003-10-26 01:17:31 +00:00
Bruce Momjian
454c670cce Mark true64 os version as 5.1. 2003-10-26 01:06:35 +00:00
Bruce Momjian
dc46010e18 Mark true64 alpha port as working. 2003-10-26 01:05:53 +00:00
Bruce Momjian
52008990e9 Fix Hans' name in SGML. 2003-10-26 00:58:31 +00:00
Bruce Momjian
b10cd331fe Update aix port. 2003-10-26 00:31:48 +00:00
Bruce Momjian
1fdbc8cc20 Update linux/mips port.
Add m68k to linux port.
2003-10-26 00:26:13 +00:00
Bruce Momjian
530f997e6e Update linux/mips port. 2003-10-26 00:22:51 +00:00
Bruce Momjian
823240bf64 update linux ports for arm, s390, itanium. 2003-10-26 00:21:04 +00:00
Bruce Momjian
d3423926c8 Update for port freebsd/alpha. 2003-10-26 00:00:40 +00:00
Bruce Momjian
1919b62058 Update Netbsd/i386 port. 2003-10-25 03:23:47 +00:00
Bruce Momjian
561a8ca808 Update ports for Solaris. 2003-10-25 03:17:43 +00:00
Bruce Momjian
e0ca78fb87 Update openbsd port. 2003-10-24 21:09:08 +00:00
Bruce Momjian
863d793fa3 Update for osX 10.3. 2003-10-24 20:44:19 +00:00
Bruce Momjian
7d4844f247 Update ports for freebsd, cygwin. 2003-10-24 20:39:09 +00:00
Bruce Momjian
2a9986f7d5 Update Linux/Sparc 32-bit port. 2003-10-24 16:30:53 +00:00
Bruce Momjian
7672a1056d Update Linux x86 port. 2003-10-24 16:29:00 +00:00
Bruce Momjian
b97e0aa650 Update OSX port. 2003-10-24 15:56:29 +00:00
Bruce Momjian
79c0082d70 Mark BSD/OS as working in 7.4. 2003-10-24 15:31:29 +00:00
Bruce Momjian
739839b7f7 Move pre-7.3 platforms to unsupported. 2003-10-24 15:30:52 +00:00
Tom Lane
747df1a35e Remove obsolete information about altering default optimization flags for
gcc.  Per comment from original author, Brian Gallew:
"Ancient history.  Kill it fast."
2003-10-23 13:58:43 +00:00
Tom Lane
cdbf9b328e Move docs about index cost estimation functions and writing a procedural
language handler to the 'Internals' area, per my proposal of yesterday.
Clean up the trigger documentation a bit.  Push SPI chapter to the end
of its part, and reorder the Internals chapters into what seems a more
sensible order (at the moment anyway).
2003-10-22 22:28:10 +00:00
Bruce Momjian
b8400c7f52 Here is a documentation patch that makes zulu, etc. all more consistent. 2003-10-22 18:10:53 +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
Tom Lane
336297e676 Another example-to-documentation difference. Maybe we can find a
better way to keep these in sync...
2003-10-22 03:50:27 +00:00
Tom Lane
2744abb736 Ooops, missed updating this part of the complex-datatype example. 2003-10-21 23:28:42 +00:00
Tom Lane
6fbb14a174 Update the complex-datatype example to V1 function calling conventions,
and add binary send/receive functions.  Fix some other grottiness such
as failure to mark the C functions STRICT.
2003-10-21 22:51:14 +00:00
Tom Lane
6c7c493a09 For some reason, the preface mentions just six of the seven major parts
of the book.  Fix it.
2003-10-21 22:47:54 +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
0a4048646b Document all the system views created by initdb (several of these were
never documented anywhere, sigh).  Centralize the detailed documentation
of system views into catalogs.sgml, and provide cross-references.
2003-10-17 22:38:20 +00:00
Tom Lane
e5c2c97892 Add a listing of our SQLSTATE error codes to the documentation.
Link to it from some appropriate places.
2003-10-17 18:57:01 +00:00
Tom Lane
34ed505966 Fix busted markup. 2003-10-17 18:29:55 +00:00
Tom Lane
fe1b5034dd Adjust display of actual runtimes in EXPLAIN output to use three fractional
digits, and label it 'ms' not 'msec', for consistency with psql's \timing
display.  Per recent discussions.
2003-10-17 01:14:26 +00:00
Tom Lane
dec4ed311a Add note deprecating use of consrc. 2003-10-17 00:55:17 +00:00
Peter Eisentraut
44430dbc15 Fix bugs in referential_constraints view. 2003-10-16 23:46:17 +00:00
Bruce Momjian
9ad637f749 Add mention of SIGHUP on the postmaster manual page. 2003-10-16 17:38:01 +00:00
Tom Lane
839cea8814 Minor copy-editing. 2003-10-16 04:52:21 +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
386e0f9046 Update max existing db size to 32tb. 2003-10-10 21:27:13 +00:00
Bruce Momjian
870d9641bc Update Russian FAQ.
Viktor Vislobokov
2003-10-10 02:52:12 +00:00
Bruce Momjian
8087446b14 > That's a fairly useless place to put it, though, since someone would
> only think to look at sort_mem if they already had a clue.  It should
> be mentioned under bulk data load (in performance tips chapter)

Attached is a doc patch that does this. The way I've worded it may not
be the best, though.

Neil Conway
2003-10-10 02:08:42 +00:00
Bruce Momjian
3fce18084b About section 8.5.1.5. ("Special Values"):
I suggest adding LOCALTIMESTAMP and LOCALTIME to the first paragraph.
Maybe it should be phrased as:

  The following SQL-compatible functions can be used to obtain
  current datetime-related values: CURRENT_DATE, CURRENT_TIME,
  CURRENT_TIMESTAMP, LOCALTIME and LOCALTIMESTAMP.
  (See Section 9.8.4.)

Troels Arvin
2003-10-09 19:13:48 +00:00
Bruce Momjian
c7c7861d5e Add mention of logrotate for syslog, from Robert Treat 2003-10-09 19:05:09 +00:00
Bruce Momjian
b8382c2688 Have log_min_duration_statement = 0 always print duration/statement.
Change log line to be "duration:  ms  query:"

Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
Tom Lane
0eceaaf9b7 Modify COPY FROM to match the null-value string against the column value
before it is de-backslashed, not after.  This allows the null string \N
to be reliably distinguished from the data value \N (which must be
represented as \\N).  Per bug report from Manfred Koizar ... but it's
amazing this hasn't been reported before ...
Also, be consistent about encoding conversion for null string: the form
specified in the command is in the server encoding, but what is sent
to/from client must be in client encoding.  This never worked quite
right before either.
2003-10-06 02:38:53 +00:00
Bruce Momjian
8f3b879462 Update MySQL mention. 2003-10-05 14:25:29 +00:00
Bruce Momjian
88605109db Update MySQL mention. 2003-10-05 03:52:08 +00:00
Tom Lane
fa09ee6026 Document the always-true-but-previously-undocumented fact that PQfnumber()
will downcase the supplied field name unless it is double-quoted.  Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
Bruce Momjian
5ba1fab5fa Update INSTALL file for 7.4. 2003-10-04 03:14:13 +00:00
Bruce Momjian
7ca44855fc Update MySQL mention. 2003-10-04 02:37:05 +00:00
Bruce Momjian
5f0eb3fd83 Update MySQL mention. 2003-10-04 01:39:51 +00:00
Peter Eisentraut
9951474c71 Change transaction status indicator in prompt from %T to %x. 2003-10-04 01:04:46 +00:00
Tom Lane
15c194c1d5 Add GUC parameter check_function_bodies to control whether validation
of function bodies is done at CREATE FUNCTION time.  This is normally
true but can be set false to avoid problems with forward references,
wrong schema search path, etc.  This is just the backend patch, still
need to adjust pg_dump to make use of it.
2003-10-03 19:26:49 +00:00
Tom Lane
251033186f Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
Tom Lane
6099bc03f3 Adjust documentation examples to match recent error message rewordings.
A couple other minor fixes.
2003-09-30 03:22:33 +00:00
Tom Lane
444af9e0e8 Minor copy-editing. 2003-09-30 01:56:11 +00:00
Tom Lane
f038e08929 Use slightly less broken markup. 2003-09-30 01:26:29 +00:00
Tom Lane
e33f205a94 Adjust btree index build procedure so that the btree metapage looks
invalid (has the wrong magic number) until the build is entirely
complete.  This turns out to cost no additional writes in the normal
case, since we were rewriting the metapage at the end of the process
anyway.  In normal scenarios there's no real gain in security, because
a failed index build would roll back the transaction leaving an unused
index file, but for rebuilding shared system indexes this seems to add
some useful protection.
2003-09-29 23:40:26 +00:00
Bruce Momjian
f3db606592 > >
> >  a) Write documentation how the win32 console needs to be set up so that
> >     psql can handle 8-bit characters.
> >     Where should it be added? The Section "Installation on Windows" in the
> >     Administrator's Guide seems natural to me.
> >
> >  b) Add code to psql that prints a warning on startup of psql when the
> >     console codepage differs from the windows codepage, something like
> >
> >     Warning: Console codepage (850) differs from windows codepage (1252)
> >              8-bit characters will not work correctly. See PostgreSQL
> >              documentation "Installation on Windows" for details.
>
Attached are two patches:

 - installdoc.patch contains an additional paragraph on the win32 console
   codepage for the chapter "Installation on Windows"
   Due to a lack of SGML-tools, I have only edited the text and not tested
   the SGML code - please check it before merging into the CVS branch.

 - psqlcodepage.patch adds the warning about a problematic codepage to psql.


Christoph Dalitz
2003-09-29 18:21:33 +00:00
Bruce Momjian
a17b53753e This patch makes a few incremental improvements to geqo.sgml and
arch-dev.sgml

Neil Conway
2003-09-29 18:18:35 +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
Bruce Momjian
3900f8368d Update docs on function call permissions in view, from Tom. 2003-09-28 01:19:33 +00:00
Bruce Momjian
fae2adecf5 Small SGML cleanup from Jeroen Ruigrok/asmodai 2003-09-27 14:06:21 +00:00
Bruce Momjian
87cbcff9e6 Document that functions are checked independently of the view
permissions.
2003-09-27 00:10:31 +00:00
Bruce Momjian
90322456fe Add "tuning" section to install instructions. 2003-09-26 17:47:44 +00:00
Bruce Momjian
42013caf64 Update Japanese FAQ, from Jun Kuwamura 2003-09-25 02:27:54 +00:00
Tom Lane
a56a016ceb Repair some REINDEX problems per recent discussions. The relcache is
now able to cope with assigning new relfilenode values to nailed-in-cache
indexes, so they can be reindexed using the fully crash-safe method.  This
leaves only shared system indexes as special cases.  Remove the 'index
deactivation' code, since it provides no useful protection in the shared-
index case.  Require reindexing of shared indexes to be done in standalone
mode, but remove other restrictions on REINDEX.  -P (IgnoreSystemIndexes)
now prevents using indexes for lookups, but does not disable index updates.
It is therefore safe to allow from PGOPTIONS.  Upshot: reindexing system catalogs
can be done without a standalone backend for all cases except
shared catalogs.
2003-09-24 18:54:02 +00:00
Tom Lane
6767cebc6f pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,
to control object ownership.  The use-set-session-authorization and
no-reconnect switches are obsolete (still accepted on the command line,
but they don't do anything).  This is a precursor to fixing handling
of CREATE SCHEMA, which will be a separate commit.
2003-09-23 22:48:53 +00:00
Tom Lane
aefc08e4eb Minor copy-editing for plpgsql chapter. 2003-09-23 19:58:50 +00:00
Peter Eisentraut
5d00f984d8 Make the SQL command synopses appear less random. 2003-09-22 00:16:58 +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
Tom Lane
8421253e54 Document that TRUNCATE ignores user-defined ON DELETE triggers. 2003-09-19 21:06:39 +00:00
Tom Lane
a13b018530 Disallow foreign-key references from temp tables to permanent tables.
Per recent discussion, this does not work because other backends can't
reliably see tuples in a temp table and so cannot run the RI checks
correctly.  Seems better to disallow this case than go back to accessing
temp tables through shared buffers.  Also, disallow FK references to
ON COMMIT DELETE ROWS tables.  We already caught this problem for normal
TRUNCATE, but the path used by ON COMMIT didn't check.
2003-09-19 21:04:20 +00:00
Tom Lane
689015748f Put a tad more detail in the discussion of postmaster and postgres
signal handling.
2003-09-18 20:30:15 +00:00
Tom Lane
4d016a957d Okay, who left off the id= here? 2003-09-15 03:32:24 +00:00
Tom Lane
5f78d6cb77 LISTEN doesn't issue a warning for redundant listens anymore. Also,
add some 'See Also' links.
2003-09-15 03:21:51 +00:00
Bruce Momjian
bcd8986e7d Rename --without-spinlocks to --disable-spinlocks, per Peter. 2003-09-13 17:01:09 +00:00
Bruce Momjian
c346ca8648 When I sent in the sslmode patch I forgot to update the
comments/examples in pg_hba.conf. This patch remedies that, adds a brief
explanation of the connection types, and adds a missing period in the
docs.

Jon Jensen
2003-09-13 16:43:38 +00:00
Tom Lane
f8c365c8db Marginal hacks to make tables format more nicely. 2003-09-13 00:19:43 +00:00
Tom Lane
a75ee43ce9 Mop-up for error-message updates in documentation. 2003-09-12 23:04:46 +00:00
Tom Lane
6e59122490 Update obsolete examples of error messages; various other minor editing. 2003-09-12 22:17:24 +00:00
Bruce Momjian
06e3ec7a54 Implement compiler #error if spinlock code not found, add configure flag
to bypass the error, --without-spinlocks.
2003-09-12 16:10:27 +00:00
Bruce Momjian
9182481bea Remove WIN32_CONSOLE support, at the request of the author. 2003-09-12 02:40:10 +00:00
Tom Lane
e90b841915 More cleanup of Diagnostics sections. 2003-09-12 00:12:47 +00:00
Tom Lane
fbb39c059e Small typo. 2003-09-11 23:15:51 +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
188eda0df2 Consistenly lowercase GUC variable names, in docs and error messages. 2003-09-11 18:30:39 +00:00
Bruce Momjian
8e27be4310 This patch makes a few minor improvements to the docs: make the
<varname> conventions more consistent, and improve the ANALYZE ref page.

Neil Conway
2003-09-11 17:31:45 +00:00
Bruce Momjian
64a7b58aa0 This patch makes a number of improvements to the runtime config
documentation.

Neil Conway
2003-09-11 17:27:38 +00:00
Bruce Momjian
ab19254618 Mention that pg_type_is_visible is used for domains as well.
Christopher Kings-Lynne
2003-09-11 17:26:20 +00:00
Bruce Momjian
d768cb267b seemed like a typo in one of the appendix tables
Robert Treat
2003-09-11 16:22:42 +00:00
Bruce Momjian
73cfa77edd This patch fixes a trivial typo in the CREATE FUNCTION ref page.
Neil Conway
2003-09-10 20:13:45 +00:00
Bruce Momjian
3610f083c1 Improve wording of increasing page size. 2003-09-09 22:43:06 +00:00
Tom Lane
d4019b7cd3 Remove a bunch of content-free Diagnostics sections, as per previous
discussion.  (Still have some work to do editing the remainder.)
2003-09-09 18:28:53 +00:00
Bruce Momjian
1815f6179d Update max tasble size to 32TB. 2003-09-09 18:25:44 +00:00
Michael Meskes
2fab616866 Fixed a few bugs that came up on pgsql-interfaces. 2003-09-09 10:54:44 +00:00
Tom Lane
fd65be4a78 Fix a couple minor typos. 2003-09-08 23:17:15 +00:00
Peter Eisentraut
6de93c0529 Update preface.
Use question marks rather than brackets to delimit optional elements in
Tcl synopses.

Fix stylesheet misfeature leading to excessively long cross-reference text
when linking to a different "part".

Remove <body> attributes -- CSS stylesheets should handle that.

Improve bibliography formatting.

Add fast-forward links for more convenient navigation.
2003-09-08 23:02:28 +00:00
Tom Lane
4427969315 "statenebt" ? 2003-09-08 22:33:13 +00:00
Tom Lane
f176e37975 Document a bunch of formerly-undocumented date/time operators,
including the SQL-spec OVERLAPS construct.
2003-09-08 19:38:02 +00:00
Bruce Momjian
1a9a346793 Update URL. 2003-09-07 22:02:54 +00:00
Bruce Momjian
b58bd87f55 Update URL to be momjian.postgresql.org. 2003-09-07 22:01:42 +00:00
Tom Lane
48beecda7c Remove geqo_random_seed parameter. Having geqo reset the global random()
sequence every time it's called is bogus --- it interferes with user
control over the seed, and actually decreases randomness overall
(because a seed based on time(NULL) is pretty predictable).  If you really
want a reproducible result from geqo, do 'set seed = 0' before planning
a query.
2003-09-07 15:26:54 +00:00
Tom Lane
3c9bb8886d Allow IPv4-format entries in pg_hba.conf to match IPv6 connections
that have IPv4-embedded-in-IPv6 addresses.  Per idea of Andreas Pflug.
2003-09-05 20:31:36 +00:00
Bruce Momjian
cec1333bba Add WIN32 URL. 2003-09-05 16:43:13 +00:00
Tom Lane
ba7ee1db3b Add missing space. 2003-09-05 16:13:38 +00:00
Bruce Momjian
b0ba70df83 Update information about Linux's overcommit memory behavior.
Andrew Dunstan
2003-09-05 02:54:09 +00:00
Peter Eisentraut
ee4ae6ceb2 Add note that a for loop where the lower bound is greater than the upper
bound is valid but does nothing.

suggested by Richard Huxton <dev@archonet.com>
2003-09-03 22:17:07 +00:00
Peter Eisentraut
29a20145fd Pass session_authorization to the client and make psql update its prompt
accordingly.
2003-09-03 22:05:09 +00:00
Bruce Momjian
1129eab9c7 Update German FAQ.
Ian Barwick
2003-09-03 20:28:14 +00:00
Peter Eisentraut
5f65345a57 Do not pass server_encoding to the client.
libpq, talking to an old server, should assume SQL_ASCII as the default
client encoding, because that is what the server will actually use (not
the server encoding).
2003-09-01 23:04:49 +00:00
Peter Eisentraut
f10a9033bf Clean up after pygresql removal: adjust/remove documentation and remove
unneeded configure work.
2003-09-01 23:01:49 +00:00
Bruce Momjian
2fb6e84bae Add mention of OID wraparound. 2003-09-01 16:47:58 +00:00
Peter Eisentraut
c326d8f4f2 Add/edit index entries. 2003-08-31 17:32:24 +00:00
Peter Eisentraut
cf8e916968 Set LC_ALL=C when running collateindex.pl to get predictable sort order. 2003-08-31 17:28:39 +00:00
Bruce Momjian
ceacae7734 Fix unixware template --- had spaces around equals. 2003-08-30 03:19:47 +00:00
Tom Lane
7e2a4cfe63 Make documentation of pg_restore's -N, -o, -r switches bear some
slight resemblance to their actual behavior.
2003-08-28 20:44:02 +00:00
Peter Eisentraut
3722226070 Add "override" for make variable JADEFLAGS, since upper directory passes
this variable on the command line.
2003-08-27 22:58:54 +00:00
Peter Eisentraut
535980aa40 Major cleanup of SPI chapter 2003-08-27 22:13:35 +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
Tom Lane
3e51c1553c Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST.
ACT and ACST were already present.  AMT and AMST conflict with the
existing entries for Armenia; no change there for the moment.
2003-08-25 23:30:27 +00:00
Peter Eisentraut
693aad413b Change warnings for non-existing or pre-existing cursors to errors. 2003-08-24 21:02:43 +00:00
Peter Eisentraut
c3664c0c00 Add macros for error result fields to libpq. 2003-08-24 18:36:38 +00:00
Tom Lane
432fb5b886 Updates for array documentation, from Joe Conway. 2003-08-19 06:06:48 +00:00
Tom Lane
c771838106 Somebody forgot to include any actual documentation for ADD_MISSING_FROM. 2003-08-17 22:19:15 +00:00
Tom Lane
4215947986 Update documentation to reflect the fact that ORDER BY, GROUP BY, etc
are now driven by the default btree opclass, rather than assuming that
particular operator names have the needed semantics.
2003-08-17 22:09:00 +00:00
Tom Lane
1b68704482 Fix broken markup. 2003-08-17 22:05:13 +00:00
Bruce Momjian
a9f9a97906 I almost forgot mark in docs "to_char(interval)" as deprecated function.
This useless routine will removed in 7.5. It's already discussed (see
hackers list archive).

Karel Zak
2003-08-17 04:52:41 +00:00
Bruce Momjian
41477b9a83 This patch makes two minor fixes to the docs: (1) fixes a
spelling mistake in the PREPARE ref page (2) Makes some
English more consistent, in the ref pages for some of the
client apps (3) Adds a link to the libpq docs in the
vacuumdb ref page.

Neil Conway
2003-08-17 04:46:59 +00:00
Bruce Momjian
e7f266e5fe There is a misstatement in the CLOSE reference page, now that we
have cursors that might outlive their creating transactions. A
patch is attached that fixes this (suggestions on better wording
are welcome).

Neil Conway
2003-08-17 04:46:00 +00:00
Bruce Momjian
2326ade600 I just noticed that the sample pg_hba.conf in the docs doesn't contain
any use of CIDR masks - here's a patch that adds  a couple of  sample
lines and associated comments.

Andrew Dunstan
2003-08-17 04:39:11 +00:00
Bruce Momjian
f7d9aa8fbf The attached patch adds some clarification to the documentation of the
binary format read/created by COPY BINARY. It also mentions the
contrib/binarycopy module.

Lee Kindness.
2003-08-17 04:33:02 +00:00
Bruce Momjian
3297804e14 Add mention of sort_mem in the restore docs. 2003-08-17 03:14:26 +00:00
Bruce Momjian
bb8586d19d Update for 7.3 tips URL. 2003-08-17 00:41:46 +00:00
Bruce Momjian
226bae27b9 Add mention that Kerberos 4 isn't recommended. 2003-08-16 23:33:49 +00:00
Tom Lane
0684043e39 Minor copy-editing. 2003-08-14 23:13:27 +00:00
Tom Lane
483363b03d Fix longstanding thinko in SSL protocol documentation: the server's
initial response is 'S', not 'Y', when it is willing to do SSL.
2003-08-14 20:09:31 +00:00
Tom Lane
c01641f8ae libpq failed to cope with COPY FROM STDIN if the command was issued
via extended query protocol, because it sends Sync right after Execute
without realizing that the command to be executed is COPY.  There seems
to be no reasonable way for it to realize that, either, so the best fix
seems to be to make the backend ignore Sync during copy-in mode.  Bit of
a wart on the protocol, but little alternative.  Also, libpq must send
another Sync after terminating the COPY, if the command was issued via
Execute.
2003-08-13 18:56:21 +00:00
Tom Lane
0be731ad44 Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow
libpq users to perform Bind/Execute of previously prepared statements.
Per yesterday's discussion, this offers enough performance improvement
to justify bending the 'no new features during beta' rule.
2003-08-13 16:29:03 +00:00
Tom Lane
18c10877a9 Make various links point to specific places instead of entire parts
(doubtless these are hangovers from the old separate-books days).
2003-08-10 01:20:34 +00:00
Tom Lane
0019532f47 Request verbose error message output in bug reports. 2003-08-10 01:19:18 +00:00
Tom Lane
5bfb0540b0 Update docs for 7.4 array features and polymorphic functions.
This is Joe Conway's patch of 7-Aug plus further editorializing
of my own.
2003-08-09 22:50:22 +00:00
Barry Lind
9c6d5495b9 markup fixes 2003-08-07 05:06:40 +00:00
Bruce Momjian
90562b1135 Noticed broken markup in ecpg.sgml. Attached patch fixes it. Please
apply.

Joe Conway
2003-08-07 04:17:21 +00:00
Barry Lind
1d1df53f82 Applied doc patch for the jdbc docs submitted by Nic Ferrier for functionality
he supplied a few months ago, but didn't get around to docing until now.  And
he also added some doc for calling stored functions in general from jdbc that was missing.

 Modified Files:
 	sgml/jdbc.sgml
2003-08-06 23:50:19 +00:00
Peter Eisentraut
3766e99c41 Add a note that AND and OR are commutative. Apparently, they are not in
certain other products.
2003-08-04 14:00:14 +00:00
Tom Lane
4c3c8c048d Remove --enable-recode feature, since it's been broken by IPv6 changes,
and seems to have too few users to justify maintaining.
2003-08-04 04:03:10 +00:00
Bruce Momjian
d6d96532a8 Remove docs that say psql \encoding doesn't track SET client_encoding. 2003-08-02 02:44:38 +00:00
Peter Eisentraut
4f7df90db0 Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,
rather than parsing the message.  Add some documentation about embedded
SQL.
2003-08-01 13:53:36 +00:00
Bruce Momjian
55103553ad --enable-thread-safeness -> --enable-thread-safety 2003-08-01 03:10:04 +00:00
Tom Lane
eb06e6d182 Improve description of restoring pg_dumpall backups, per gripe from
Havard Eidnes.
2003-08-01 01:01:52 +00:00
Tom Lane
a063d4b3ec Very minor editing. 2003-07-31 22:17:11 +00:00
Tom Lane
8b1ea2f58b Cause library-preload feature to report error if specified initialization
function is not found.  Also, make all the PL libraries have initialization
functions with standard names.  Patch from Joe Conway.
2003-07-31 18:36:46 +00:00
Bruce Momjian
36f3a3c486 contraints -> constraints
Rod Taylor
2003-07-31 04:48:15 +00:00
Bruce Momjian
6b8f6a65e2 Update Turkish FAQ, Devrim GUNDUZ 2003-07-31 04:41:56 +00:00
Tom Lane
52347b6637 Add pretty-printing variants of pg_get_viewdef and related functions.
Patch from Andreas Pflug.
2003-07-30 22:56:24 +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
Tom Lane
02d79e765b Rename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce. 2003-07-28 00:14:43 +00:00
Tom Lane
2d7a6a9ef2 Move ERRCODE_XXX macros into their own header file. 2003-07-27 18:37:52 +00:00
Tom Lane
e8db9b26d0 elog mop-up. 2003-07-27 17:10:07 +00:00
Bruce Momjian
38fb906f93 > Joe Conway <mail@joeconway.com> writes:
>>ISTM that "source" is worth knowing.
>
> Hm, possibly.  Any other opinions?

This version has the seven fields I proposed, including "source". Here's
an example that shows why I think it's valuable:

regression=# \x
Expanded display is on.
regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | on
context | user
vartype | bool
source  | default
min_val |
max_val |

regression=# update pg_settings set setting = 'off' where name =
'enable_seqscan';
-[ RECORD 1 ]---
set_config | off

regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | off
context | user
vartype | bool
source  | session
min_val |
max_val |

regression=# alter user postgres set enable_seqscan to 'off';
ALTER USER

(log out and then back in again)

regression=# \x
Expanded display is on.
regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | off
context | user
vartype | bool
source  | user
min_val |
max_val |

In the first case, enable_seqscan is set to its default value. After
setting it to off, it is obvious that the value has been changed for the
session only. In the third case, you can see that the value has been set
specifically for the user.

Joe Conway
2003-07-27 04:35:54 +00:00
Bruce Momjian
9df48371c2 here are the patches for psql on Win32:
psql4win32.patch  - changes in the psql source code
  psql-ref.patch    - changes in the documentation psql-ref.sgml
                      (for new builtin variable WIN32_CONSOLE)

To apply them use "patch -p 1" in the root directory of the
postgres source directory.

These patches fix the following problems of psql on Win32
(all changes only have effect #ifdef WIN32):

  a) Problem:  Static library libpq.a did not work
     Solution: Added WSAStartup() in fe-connect.c

  b) Problem:  Secret Password was echoed by psql
     Solution: Password echoing disabled in sprompt.c

  c) Problem:  8bit characters were displayed/interpreted wrong in psql
               This is due to the fact that the Win32 "console" uses a
               different encoding than the rest of the Windows system
     Solution: Introduced a new psql variable WIN32_CONSOLE
               When set with "\set WIN32_console", the function OemToChar()
               is applied after reading input and CharToOem() before
               displaying Output

Christoph Dalitz
2003-07-27 03:32:26 +00:00
Bruce Momjian
397831e103 At long last I put together a patch to support 4 client SSL negotiation
modes (and replace the requiressl boolean). The four options were first
spelled out by Magnus Hagander <mha@sollentuna.net> on 2000-08-23 in email
to pgsql-hackers, archived here:

http://archives.postgresql.org/pgsql-hackers/2000-08/msg00639.php

My original less-flexible patch and the ensuing thread are archived at:

http://dbforums.com/t623845.html

Attached is a new patch, including documentation.

To sum up, there's a new client parameter "sslmode" and environment
variable "PGSSLMODE", with these options:

sslmode   description
-------   -----------
disable   Unencrypted non-SSL only
allow     Negotiate, prefer non-SSL
prefer    Negotiate, prefer SSL (default)
require   Require SSL

The only change to the server is a new pg_hba.conf line type,
"hostnossl", for specifying connections that are not allowed to use SSL
(for example, to prevent servers on a local network from accidentally
using SSL and wasting cycles). Thus the 3 pg_hba.conf line types are:

pg_hba.conf line types
----------------------
host       applies to either SSL or regular connections
hostssl    applies only to SSL connections
hostnossl  applies only to regular connections

These client and server options, the postgresql.conf ssl = false option,
and finally the possibility of compiling with no SSL support at all,
make quite a range of combinations to test. I threw together a test
script to try many of them out. It's in a separate tarball with its
config files, a patch to psql so it'll announce SSL connections even in
absence of a tty, and the test output. The test is especially informative
when run on the same tty the postmaster was started on, so the FATAL:
errors during negotiation are interleaved with the psql client output.

I saw Tom write that new submissions for 7.4 have to be in before midnight
local time, and since I'm on the east coast in the US, this just makes it
in before the bell. :)

Jon Jensen
2003-07-26 13:50:02 +00:00
Bruce Momjian
02c3231937 Add mention of new SSL capabilities. 2003-07-25 22:07:44 +00:00
Tom Lane
689eb53e47 Error message editing in backend/utils (except /adt). 2003-07-25 20:18:01 +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
0221bc97cf Mention increasing sort_mem during a restore. 2003-07-23 20:30:35 +00:00
Bruce Momjian
bd95e21594 Rename --with-threads to --enable-thread-safeness, per Peter. 2003-07-23 17:27:28 +00:00
Bruce Momjian
c9bd4bfab1 Update German FAQ. 2003-07-23 17:08:04 +00:00
Bruce Momjian
d41d724601 Update FAQ.
Ian Barwick
2003-07-23 16:55:47 +00:00
Tom Lane
18db343773 Just a spot of copy-editing. 2003-07-23 15:05:42 +00:00
Bruce Momjian
a0743b132e Update to 7.3.4 as newest release. 2003-07-23 04:11:21 +00:00
Bruce Momjian
a7e898785b Stamp 7.3.4. 2003-07-23 04:08:44 +00:00
Bruce Momjian
a0cc9f3cb9 Add GUC parameter to control rendezvous name. 2003-07-22 20:29:13 +00:00
Tom Lane
b05d3ae1ed Error message editing in backend/libpq, backend/postmaster, backend/tcop.
Along the way, fix some logic problems in pgstat_initstats, notably the
bogus assumption that malloc returns zeroed memory.
2003-07-22 19:00:12 +00:00
Bruce Momjian
a605382670 I updated Japanese translation of PostgreSQL FAQ
according to your version on May/30.
(HTML and TEXT files are gzipped.)

  Jun Kuwamura
2003-07-21 04:18:41 +00:00
Bruce Momjian
46bc587007 Update URL's. 2003-07-20 21:52:46 +00:00
Tom Lane
216311d590 First bits of work on error message editing. 2003-07-18 23:20:33 +00:00
Bruce Momjian
fd4c775481 Stephen Robert Norris wrote:
> Well, no. What it says is that certain values must be escaped (but
> doesn't say which ones). Then it says there are alternate escape
> sequences for some values, which it lists.
>
> It doesn't say "The following table contains the characters which must
> be escaped:", which would be much clearer (and actually useful).

Attached documentation patch updates the wording for bytea input
escaping, per complaint by Stephen Norris above.

Joe Conway
2003-07-18 03:45:06 +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
de98a7e23a The default values for shared_buffers and max_connections are now 1000
and 100 respectively, if the platform will allow it.  initdb selects
values that are not too large to allow the postmaster to start, and
places these values in the installed postgresql.conf file.  This allows
us to continue to start up out-of-the-box on platforms with small SHMMAX,
while having somewhat-realistic default settings on platforms with
reasonable SHMMAX.  Per recent pghackers discussion.
2003-07-14 20:00:23 +00:00
Bruce Momjian
4afcba05de Doc update for LOG_MIN_DURATION_STATEMENT set to zero. 2003-07-09 08:52:56 +00:00
Bruce Momjian
bf889e649a Add new USERLIMIT GUC source level so certain options can be disabled
or increased only by super-users.

This fixes problems caused by making certain variables SUSET for
security reasons.
2003-07-09 06:47:34 +00:00
Tom Lane
b700a672fe Add --help-config facility to dump information about GUC parameters
without needing a running backend.  Reorder postgresql.conf.sample
to match new layout of runtime.sgml.  This commit re-adds work lost
in Wednesday's crash.
2003-07-04 16:41:22 +00:00
Tom Lane
455891bf96 Code review for UPDATE tab SET col = DEFAULT patch ... whack it around
so it has some chance of working in rules ...
2003-07-03 16:34:26 +00:00
Tom Lane
dc8dec6a70 Fix documentation comment about restricted environments, per Kevin Jacobs. 2003-07-01 13:52:29 +00:00
Peter Eisentraut
71e9f3b07f Change EXECUTE INTO to CREATE TABLE AS EXECUTE. 2003-07-01 00:04:31 +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
219e29784d Add GUC option log_error_verbosity to control which fields of error
reports get put into the postmaster log.  Options are TERSE, DEFAULT,
VERBOSE, with the same behavior as implemented on the client side in
libpq.
2003-06-30 16:47:02 +00:00
Barry Lind
a3cac5a3bf Minor jdbc doc updates submitted by Kris Jurka
Modified Files:
 	sgml/jdbc.sgml
2003-06-30 16:39:42 +00:00
Peter Eisentraut
4355d4fb21 Information schema views for group privileges, some corrections on column
privileges.
2003-06-29 15:14:41 +00:00
Tom Lane
bee217924d Support expressions of the form 'scalar op ANY (array)' and
'scalar op ALL (array)', where the operator is applied between the
lefthand scalar and each element of the array.  The operator must
yield boolean; the result of the construct is the OR or AND of the
per-element results, respectively.

Original coding by Joe Conway, after an idea of Peter's.  Rewritten
by Tom to keep the implementation strictly separate from subqueries.
2003-06-29 00:33:44 +00:00
Peter Eisentraut
2f80f81e5e Make information schema aware of arrays.
The view element_types is currently not functional, awaiting some fixes in
the planner (reported on -hackers).
2003-06-28 20:50:08 +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
ea886339b8 Add is_superuser parameter reporting, soon to be used by psql. 2003-06-27 19:08:38 +00:00
Bruce Momjian
3e0bdfadc3 Document kernel changes needed for BSD/OS 4.3. 2003-06-27 18:20:50 +00:00
Peter Eisentraut
b256f24264 First batch of object rename commands. 2003-06-27 14:45:32 +00:00
Tom Lane
b3c0551eda Create real array comparison functions (that use the element datatype's
comparison functions), replacing the highly bogus bitwise array_eq.  Create
a btree index opclass for ANYARRAY --- it is now possible to create indexes
on array columns.
Arrange to cache the results of catalog lookups across multiple array
operations, instead of repeating the lookups on every call.
Add string_to_array and array_to_string functions.
Remove singleton_array, array_accum, array_assign, and array_subscript
functions, since these were for proof-of-concept and not intended to become
supported functions.
Minor adjustments to behavior in some corner cases with empty or
zero-dimensional arrays.

Joe Conway (with some editorializing by Tom Lane).
2003-06-27 00:33:26 +00:00
Bruce Momjian
111d8e522b Back out array mega-patch.
Joe Conway
2003-06-25 21:30:34 +00:00
Bruce Momjian
53c4f1233f UPDATE ... SET <col> = DEFAULT
Rod Taylor
2003-06-25 04:19:24 +00:00
Bruce Momjian
be94f198c3 Add missing </row>'s. 2003-06-25 03:50:52 +00:00
Bruce Momjian
ebbd2edf82 Seems the runtime.sgml and perform.sgml patches combined are
incompatible.

I believe the attached xref meets the intent of the perform.sgml change.

--
Rod Taylor <rbt@rbt.ca>
2003-06-25 02:07:33 +00:00
Bruce Momjian
eaef65f68e Documentation about using CIDR addresses in pg_hba.conf.
Andrew Dunstan
2003-06-25 01:20:50 +00:00
Bruce Momjian
861ea4ba53 Create <link> entries for the foreign keys in the system catalog
chapter.

I got tired of hitting the 'up' link, then finding the table in the
table of contents, and following it back down.

Rod Taylor
2003-06-25 01:14:37 +00:00
Bruce Momjian
503a88a632 client-auth.sgml references a renamed ID in runtime.sgml
Josh Berkus
2003-06-25 01:14:05 +00:00
Bruce Momjian
2a5e0bb612 Attached is the fully corrected version of the re-ording patch for
Runtime.sgml and dependant files.

Josh Berkus
2003-06-25 01:13:24 +00:00
Bruce Momjian
fce529e102 Most of the synopsis areas for DROP commands use "name" as the
identifier, while some areas do not.

The attached converts be below to "name":
conversion_name
index_name


The below have an existing, initdb supplied, entity named "name".  As
such, it could be confusing for the reader to see that identifier used
in the example.

domainname
typename

Rod Taylor
2003-06-24 23:29:25 +00:00
Bruce Momjian
7eac8e3809 Revert ORDBMS change, per Peter. 2003-06-24 23:27:24 +00:00
Bruce Momjian
db57396c1f Alter query.sgml to mention PostgreSQL as an ORDBMS. This falls in line
with advocacy and 'portal' websites.

Link to createdb / dropdb from the tutorial page about create / dropdb.
A pair of notes were asking about more info...

Rod Taylor
2003-06-24 23:26:46 +00:00
Bruce Momjian
7cb4278e82 Small patch to link to the proper place in the "runtime" file,
and to add the "schemaname" column to the description of the
pg_stats view.

Greg Sabino Mullane
2003-06-24 23:19:11 +00:00
Bruce Momjian
46bf651480 Array mega-patch.
Joe Conway
2003-06-24 23:14:49 +00:00