Commit Graph

1637 Commits

Author SHA1 Message Date
Tom Lane e43e20cef1 Fix copy-and-paste typo. 2002-02-24 23:55:31 +00:00
Tom Lane 75e5e20d0e Add -O/--owner switch to createdb script, in support of new OWNER option
for CREATE DATABASE.
2002-02-24 23:27:58 +00:00
Tom Lane a833c441fd Add OWNER option to CREATE DATABASE, so superusers can create databases
on behalf of unprivileged users.  Also, make '=' optional in CREATE
DATABASE syntax.  From Gavin Sherry, with kibitzing and docs by Tom Lane.
2002-02-24 20:20:21 +00:00
Peter Eisentraut 42c3381fc7 Heimdal support (Kerberos V implementation from KTH) 2002-02-23 04:17:47 +00:00
Bruce Momjian e3e41a648d Small spacing cleanup. 2002-02-21 22:42:04 +00:00
Bruce Momjian 3a95427d42 Wrap some SQL syntax examples so \h shows them better. 2002-02-21 22:39:36 +00:00
Peter Eisentraut 8adf56f77a Privileges on functions and procedural languages 2002-02-18 23:11:58 +00:00
Peter Eisentraut 5e03503126 Set version to 7.3devel. 2002-02-18 21:46:17 +00:00
Tom Lane c89e0d9666 Minor copy-editing. 2002-02-18 16:13:10 +00:00
Bruce Momjian fbcc0d69e8 Fix param handling of create* admin scripts as described months ago.
Properly handles default values.
2002-02-18 05:48:45 +00:00
Bruce Momjian 62feef6c95 Fix SGML typo in previous patch. 2002-02-17 13:29:00 +00:00
Bruce Momjian bf4507e3af I think it's important that it's actually documented that they can add
primary keys after the fact!

Also, we need to add regression tests for alter table / add primary key
and alter table / drop constraint.  These shouldn't be added until 7.3
tho
methinks...

Chris
2002-02-17 11:50:09 +00:00
Bruce Momjian a966ac1df0 Clarify params to ALTER TABLE to clearly show single parameters.
e.g. table contraint definition -> table_constraint_definition.
2002-02-16 23:45:48 +00:00
Tom Lane 1392042346 Point out that --adduser actually makes the new user a superuser. This
was mentioned on the man page for the underlying CREATE USER command,
but it should be explained here too.
2002-02-13 19:32:17 +00:00
Bruce Momjian 28108b391b Fix tutorial for references problem, from rainer.tammer@spg.schulergroup.com 2002-02-12 22:25:15 +00:00
Tom Lane 9832a235c5 Modify COPY TO to emit carriage returns and newlines as backslash escapes
(backslash-r, backslash-n) for protection against newline-conversion
munging.  In future we will also tweak COPY FROM, but this part of the
change should be backwards-compatible.  Per pghackers discussion.
Also, update COPY reference page to describe the backslash conversions
more completely and accurately.
2002-02-12 21:25:41 +00:00
Bruce Momjian 0ae55405de Update wal files computation documentation. 2002-02-11 23:25:14 +00:00
Tom Lane 906254a53c pg_dump and pg_restore man pages need to mention that one should restore
into a virgin database, ie, one created from template0, if there are any
site-local additions in template1.
2002-02-11 00:14:10 +00:00
Bruce Momjian 1b6aa29a05 Consistend spelling for PL/pgSQL 2002-01-31 21:20:03 +00:00
Bruce Momjian c69c25ba4d Update HISTORY/release.sgml for Monday release. 2002-01-31 18:31:44 +00:00
Peter Eisentraut 14d3c645b3 Don't put empty paragraphs around tables. This messed up JadeTeX somehow,
and doesn't make sense strictly speaking.
2002-01-30 21:55:33 +00:00
Peter Eisentraut 64024d1091 Remove Jade/TeX hack, now that OpenJade 1.3.1 has it fixed. 2002-01-30 21:54:17 +00:00
Peter Eisentraut 089e8f959e Fix copy-and-paste bug in print style. 2002-01-30 21:53:40 +00:00
Tom Lane c4bab5f29b Overhaul plperl documentation. 2002-01-25 19:13:15 +00:00
Bruce Momjian 38c971f496 Fix +/- mixup pointed out by Rod Taylor. 2002-01-25 02:39:28 +00:00
Tom Lane db42e32a74 Fix documentation misstatement: OLD is not valid in ON SELECT. 2002-01-24 18:28:15 +00:00
Tom Lane cf77a2a034 Overhaul PL/Tcl documentation. 2002-01-23 21:08:17 +00:00
Peter Eisentraut bf43bed848 Spell-check and markup police 2002-01-20 22:19:57 +00:00
Tom Lane 75f0ba9fe3 Mention that 'make distclean' is a good idea when changing configure
options.  Document --with-pam and --enable-depend, do some minor
copy-editing.
2002-01-20 05:45:18 +00:00
Bruce Momjian 0c8429ca31 Add missing literal endtag. 2002-01-18 21:17:07 +00:00
Bruce Momjian a724463c8a Improve non-thread-safe mention of libpq's crypt. 2002-01-18 20:39:04 +00:00
Bruce Momjian 9600ccad13 Improve description of autocommit behavior in ecpg manual pages. 2002-01-18 20:32:54 +00:00
Tom Lane 1d174c3086 Explain privileges required for LOCK. Minor wordsmithing too. 2002-01-18 01:05:43 +00:00
Tom Lane 9ad737978d Point out that superusers bypass privilege checking. Minor wordsmithing. 2002-01-18 01:04:53 +00:00
Tom Lane 7e1d82040e pg_upgrade doesn't live here anymore. Remove dangling references. 2002-01-15 05:05:49 +00:00
Bruce Momjian 92a8bc9634 Move pg_upgrade to /contrib. Still need to make Peter's portability
changes.
2002-01-14 17:32:07 +00:00
Bruce Momjian 5b2ebe95e9 Wow, it actually worked for the regression database. More testing needed. 2002-01-13 01:13:59 +00:00
Bruce Momjian c6fdf8bcfc More man pages improvements; also needed to test sgml build. 2002-01-11 20:48:47 +00:00
Bruce Momjian 3bb77555b1 Sync up. 2002-01-11 20:34:14 +00:00
Bruce Momjian ba3231a2a0 More cleanups. 2002-01-11 06:08:02 +00:00
Bruce Momjian 6bd45e5264 Handle int4-int8 sequence migration without full data dump. 2002-01-11 04:39:19 +00:00
Peter Eisentraut 0385ba1121 Temporary workaround for links within bibliography references fouling up
footnote count.
2002-01-10 18:22:44 +00:00
Bruce Momjian 7a0672b7b1 More pg_upgrade improvements. Almost done, except for max transaction
setting.
2002-01-10 04:58:19 +00:00
Tom Lane 4d72af6cb3 Describe type casts under the heading of Value Expressions, and explain
the difference between a run-time type cast and casting a literal string
to a specific type.  Minor editorial work in same area.
2002-01-09 23:38:06 +00:00
Bruce Momjian 5461983d08 Update with new features. Still disabled. 2002-01-09 21:50:52 +00:00
Peter Eisentraut da1c1144e7 Make spelling of operating system names match official version closely.
And listing QNX 6 as both supported and unsupported is probably not helpful.
2002-01-09 00:52:38 +00:00
Peter Eisentraut c58d5d5fcb Adjust spelling of article titles to match the originals, add some links. 2002-01-08 23:50:37 +00:00
Bruce Momjian 89e6ce1245 Update Thomas Lockhart's email address to lockhart@fourpalms.org. 2002-01-08 20:03:58 +00:00
Peter Eisentraut 9c9a72b807 Repair the GEQO bibliography. It was marked up all wrong. Move some of
the info to the main bibliography.
2002-01-08 18:03:26 +00:00
Peter Eisentraut f8728467ff Point to main CPAN site, and reword a little. 2002-01-08 16:13:41 +00:00
Tom Lane d09f6f7741 Minor wordsmithing. 2002-01-08 15:38:42 +00:00
Peter Eisentraut a6e704ce95 Make FreeBSD URL point to the right chapter again. 2002-01-08 15:16:16 +00:00
Bruce Momjian 055d4f9208 Email address no longer valid. 2002-01-08 05:45:19 +00:00
Bruce Momjian cc9ae0b63c Update bad URL's with good ones. 2002-01-08 05:39:26 +00:00
Peter Eisentraut 731204e090 Editorial review 2002-01-07 02:29:15 +00:00
Bruce Momjian 96ad60e919 Fix ecpg wording to be consistent. 2002-01-06 18:12:00 +00:00
Bruce Momjian 88ebc0f2f7 Remove ecpg TODO section:
> Looking at this I also found an ecpg TODO list in the docs:
>
>
http://candle.pha.pa.us/main/writings/pgsql/sgml/ecpg-develop.html
>
> Seems that TODO section should be removed.  Some items are done,
others
> are on the main TODO list.

That's correct. I did not fix the docs for quite some time.

Michael
--
Michael Meskes
2002-01-06 17:54:14 +00:00
Tom Lane e59c15e4bb Fix copy-and-paste brain damage. (These commands do not create a
database.)
2002-01-06 03:33:26 +00:00
Bruce Momjian 99a3396822 ecpg.sgml manual page updated to ON.
---------------------------------------------------------------------------

When you run 'ecpg --help' you get the following:

          -t   turn on autocommit of transactions

amongst the other options... Shouldn't this be OFF as per the
documentation?

Best regards, Lee.

--
 Lee Kindness,   Senior Software Engineer,   lkindness@csl.co.uk
2002-01-04 18:58:46 +00:00
Thomas G. Lockhart c5c28ed06a Add more complete details on date/time keywords and parsing rules.
Move some tabular information on these from the chapter on data types to
 the appendix on dates and times.
2002-01-04 17:02:25 +00:00
Bruce Momjian bc29b06b0a Add mention of index on foreign key for frequently updated primary key
tables.
2002-01-03 06:26:22 +00:00
Bruce Momjian a4ee277e17 droplang had same problem as createlang; default are backwards and did
not work.  Fixed to match createlang.
2002-01-03 06:09:02 +00:00
Bruce Momjian 9d77dcc366 Add mention of PRIMARY in ALTER TABLE ... [ UNIQUE | PRIMARY ] 2002-01-03 05:37:43 +00:00
Bruce Momjian 04f3342e03 In createlang, make dbname optional, not langname, or rather, make
existing code of dbname optional actually work.
2002-01-03 05:30:04 +00:00
Tom Lane e274325e02 Fix incorrect description of rowtype variable declarations. Eventually
(IMHO) the code should be fixed to do what the documentation formerly
claimed, and then revert this change.
2002-01-02 00:41:26 +00:00
Tom Lane e7d9a6bf63 Repair example, per note in interactive docs. 2001-12-30 04:36:52 +00:00
Bruce Momjian 642f2fe7cf Add missing <varlistentry>; shown in build logs. 2001-12-29 20:29:49 +00:00
Thomas G. Lockhart dd0279b1ba Document the precision arguments for date/time types per SQL9x.
Update the list of recognized time zones.
Document the range of arguments allowed for SET TIME ZONE.
Still need to add info on other date/time symbols (e.g. "AM", "T")
 and to freshen the docs on the date/time parsing rules.
2001-12-29 18:35:54 +00:00
Bruce Momjian 593377f70c Add more Christof Petig ecpg items. 2001-12-28 05:03:10 +00:00
Bruce Momjian deab927470 Add mention of Christof Petig for ecpg items. 2001-12-28 05:00:32 +00:00
Tom Lane 6f0f5bf2fb Expand on description of when to use or not use TRUST auth method. 2001-12-27 21:37:34 +00:00
Tom Lane 9935a85fa4 Document obj_description and col_description functions; expand
description of COMMENT command.
2001-12-27 21:36:57 +00:00
Peter Eisentraut 44d1e9d552 Small fixes 2001-12-27 21:10:15 +00:00
Bruce Momjian adb1d4acfa Mention datatype() casting change. 2001-12-27 04:46:08 +00:00
Bruce Momjian 498d0087eb Update for new timestamp behavior. 2001-12-27 00:04:44 +00:00
Tom Lane 6896693d64 Fix directions for a client-only install, per comments from Alexey Borzov
and Vivek Khera.
2001-12-23 20:45:11 +00:00
Tom Lane ce4d01d96b Update description of CURRENT_TIMESTAMP and friends. 2001-12-23 20:22:49 +00:00
Tom Lane 78ec1cb027 Type interval takes a precision, too. 2001-12-23 20:21:37 +00:00
Peter Eisentraut d1396696e0 Lots of content and formatting improvements in release notes. HISTORY
now generated from DocBook sources.
2001-12-23 18:20:05 +00:00
Peter Eisentraut 3f3b7a9783 Add missing id attribute. 2001-12-23 18:18:09 +00:00
Thomas G. Lockhart 9640666c6f Spiff up discussion of precision on date/time data types.
Add a NetBSD/alpha and update info on a few other platforms.
2001-12-21 03:54:02 +00:00
Thomas G. Lockhart 2d004d7f95 Allow location of index creation perl script be be specified in
Makefile.custom, to allow finding it on Mandrake systems (at least).
2001-12-21 03:53:04 +00:00
Peter Eisentraut 41acf3d820 Some tuning 2001-12-19 18:49:56 +00:00
Peter Eisentraut cebfe90f0b Revert breakage 2001-12-10 13:07:16 +00:00
Thomas G. Lockhart 03a321d214 Use PostgreSQL consistantly throughout docs. Before, usage was split evenly
between Postgres and PostgreSQL.
2001-12-08 03:24:40 +00:00
Thomas G. Lockhart 68cb184b56 Update list of currently supported platforms.
Mention SQL9x precision syntax for date/time types.
Use PostgreSQL consistantly throughout docs. Before, usage was split evenly
 between Postgres and PostgreSQL.
2001-12-08 03:24:23 +00:00
Tom Lane 969cc16c69 Enforce restriction that COPY DELIMITERS string must be exactly one
character; replace strchr() search with simple comparison to speed up
COPY IN.  Per discussion in pghackers.
2001-12-04 21:19:57 +00:00
Tom Lane e469fac240 Recommend --enable-debug with somewhat more enthusiasm. 2001-12-04 02:21:35 +00:00
Tom Lane 0532175496 Fix trigger example for PG 7.2 change: count(*) now returns int8. 2001-12-04 02:07:11 +00:00
Tom Lane 7321eed9e8 Document max-processes-per-user limit as a possible cause of failures
in the parallel regression tests.  Suggest editing parallel_schedule
as a workaround if one cannot fix the system limits.
2001-12-04 01:49:17 +00:00
Tom Lane 05dada0833 Add some more material to the section about partial indexes. 2001-12-04 01:22:13 +00:00
Tom Lane 53f1173388 Provide some documentation for EXISTS, IN, NOT IN, ANY/SOME/ALL,
and row comparisons.  How'd this manage to slip through the cracks?
2001-12-01 04:19:20 +00:00
Bruce Momjian 97ce818897 Mention rules and views instead of SELECT triggers. 2001-11-30 01:22:47 +00:00
Bruce Momjian d1a2a01f38 Add mention of no SELECT triggers. 2001-11-29 22:18:14 +00:00
Tom Lane 636a939fe5 Fix array_out's failure to backslash backslashes, per bug# 524. Also,
remove brain-dead rule that double quotes are needed if and only if the
datatype is pass-by-reference; neither direction of the implication holds
water.  Instead, examine the actual data string to see if it contains
any characters that force us to quote it.
Add some documentation about quoting of array values, which was previously
explained nowhere AFAICT.
2001-11-29 21:02:41 +00:00
Bruce Momjian a4e8cd306c Cleanup of new ps markup. 2001-11-29 20:43:43 +00:00
Bruce Momjian 82c6869369 Update ps status display information for Solaris, from Tom Lane. 2001-11-29 20:26:55 +00:00
Peter Eisentraut d5aa0dc8db Improve wording 2001-11-29 16:01:15 +00:00
Barry Lind 65aed07d80 Updated jdbc docs to reflect the doc comments received. Most comments were
already addressed by previous doc updates.
2001-11-29 05:35:51 +00:00
Peter Eisentraut 651a639b8b proof-reading 2001-11-28 20:49:10 +00:00
Bruce Momjian cde7dc82ca Mention ps environment flag, not just -e. 2001-11-28 20:36:09 +00:00
Bruce Momjian 4ee2698d0e Update 'ps e' comments. 2001-11-28 20:28:56 +00:00
Bruce Momjian 534af30cfd Document that PGPASSWORD is not secure. 2001-11-28 19:57:36 +00:00
Tom Lane 9d596e0e3e Clarify per suggestion from Bruno Wolff. 2001-11-28 15:39:49 +00:00
Tom Lane d2f608251e Point out the dependency on having int8 arithmetic available. 2001-11-28 15:33:48 +00:00
Tom Lane 0dd3afad6b Reiterate that parsing of plpgsql functions is per-process. 2001-11-28 04:18:46 +00:00
Bruce Momjian 37e5535433 Add mention of init -W flag for security. 2001-11-28 00:13:30 +00:00
Bruce Momjian 6e4a88a8ec Update BSD/OS as supported on 7.2. 2001-11-27 20:35:08 +00:00
Tom Lane f441621eb1 Add a section about loading libpgtcl; fix errors and omissions in
documentation of pg_select command.
2001-11-27 20:33:29 +00:00
Tatsuo Ishii e58261ca54 Fix imcomplete SGML tag.
Please check compile errors before you commit!
2001-11-27 13:02:33 +00:00
Barry Lind 4ac5534456 formating and spelling fixes to my last doc update 2001-11-27 01:20:17 +00:00
Tom Lane 9a9d9e8812 Fix confusion about -f switch: it's output not input. 2001-11-26 23:09:21 +00:00
Bruce Momjian dc199c1cd7 Update for all priviledge items. 2001-11-26 21:01:13 +00:00
Bruce Momjian 48e6cfc699 Add mention of UPDATE permissions. 2001-11-26 20:11:28 +00:00
Bruce Momjian 93562cf5b9 Add documentation about "--" not working on Free/OpenBSD. 2001-11-26 19:41:55 +00:00
Bruce Momjian 790259abd4 More tag cleanups. 2001-11-26 19:07:11 +00:00
Bruce Momjian 30036d8bda Fix SGML tag misspelling. 2001-11-26 18:51:19 +00:00
Barry Lind f98298e26f Updates to JDBC doc:
Editing pass over entire chapter
  Rewrote section dealing with Large Objects to also talk about bytea support
  Removed secion on Serialize functionality a we intend to remove it in the
   next release
2001-11-26 05:57:57 +00:00
Tom Lane 665066f394 Further work on postmaster and postgres reference pages. 2001-11-25 01:11:36 +00:00
Bruce Momjian 1fadb05d4a Fix markup error I introduced. 2001-11-25 01:05:37 +00:00
Tom Lane 78263b43fd Add cross-reference to standalone-backend ref page. 2001-11-25 00:18:48 +00:00
Bruce Momjian 46f946df04 Mention -c also allows -- GNU long option format, all platforms. 2001-11-25 00:15:30 +00:00
Tom Lane 2ec958721d Tweak int8in to accept -9223372036854775808, per recent discussion in
pgsql-patches.
2001-11-24 19:57:06 +00:00
Tom Lane b104ffbd3d Copy-editing. 2001-11-23 22:06:20 +00:00
Tom Lane ec27da1ce3 Copy-editing. 2001-11-23 21:08:51 +00:00
Bruce Momjian ed19b9149a Add mention that ALTER TABLE RENAME affects indexes and sequences too. 2001-11-22 03:42:32 +00:00
Tom Lane e7243dce47 Add description of SSL request protocol. Miscellaneous copy-editing. 2001-11-22 01:22:10 +00:00
Tom Lane 6c134eb6f1 Spell 'precedes', 'preceding' correctly in various places. 2001-11-21 22:57:01 +00:00
Tom Lane cf3b164aac Add documentation for pg_get_ruledef and friends. 2001-11-21 22:33:14 +00:00
Tom Lane 22e22a5208 Spelling and grammatical corrections. 2001-11-21 21:12:34 +00:00
Thomas G. Lockhart 6c402eafc8 Deprecate 'current' date/time constant.
Purge "Postgres" in favor of "PostgreSQL" in docs. ref/ not yet done.
2001-11-21 06:09:45 +00:00
Thomas G. Lockhart 2475e87481 Deprecate 'current' for date/time input.
Fix up references to "PostgreSQL" rather than "Postgres". Was roughly
 evenly split between the two before. ref/ files not yet done.
2001-11-21 05:53:41 +00:00
Thomas G. Lockhart eec9511f0a Update for first platforms reported as working
for the upcoming 7.2 release.
2001-11-21 05:52:01 +00:00
Bruce Momjian 8e6467fff3 Peter Eisentraut wrote:
> So I would base this discussion on the premise "bytea stores binary data"
> (insert examples).
>
> Some stylistic issues:
>
> bytea => <type>bytea</type>
>
> NULLs => zero bytes/bytes of value zero ("NULL" is too overloaded)
>
> 'non-printable' => <quote>nonprintable</quote>
>
> MUST => <emphasis>must</emphasis>
>

Here's a patch against *CVS tip* to address Peter's comments. Please let
me know what you think!

Joe Conway
2001-11-21 03:17:22 +00:00
Bruce Momjian 05979312ed Added a few paragraphs to explain current restricted execution environment,
and error handling behavior.

Bradley McLean
2001-11-20 21:09:53 +00:00
Bruce Momjian 004293317f Here's a patch adding documentation for the PQescapeBytea function to
libpq.sgml

I was trying (but gave up) to cross-reference back to the input escape
table in the User's Guide, but could not get the documentation to
compile with a cross-book xref (missing IDREF error). Can a cross-book
xref be done?

 Joe Conway
2001-11-20 20:28:31 +00:00
Bruce Momjian 01e0dae689 I've created a new section to func.sgml, "Binary String Functions and
Operators", plagiarized shamelessly from the "String Functions and
Operators" section. There were enough differences that it made sense (at
least to me) to give this its own section instead of cramming it in with
normal string functions. This way I could also make the examples
relevant, which is particularly important for bytea.

One thing I think worth mentioning: while documenting the trim()
function I realized that I never implemented the bytea equivalent of
rtrim and ltrim. Therefore, the 'leading' and 'trailing' forms of trim,
available with text, are not available with bytea (I'd be happy to
correct this, but since it would require an initdb, I guess not until
7.3) -- the submitted doc accurately reflects this.

I will look for other areas of the docs that need mention of bytea, but
any guidance would be much appreciated.

--

Here's a second bytea documentation patch. This one significantly
expands the "Binary Data" section added by Bruce recently.


Joe Conway
2001-11-20 15:42:44 +00:00
Tom Lane bb2ff5f2d4 Expand discussion of logfile management a little bit. 2001-11-20 04:27:49 +00:00
Tom Lane fb726283b6 Expand description of how to use REINDEX. 2001-11-20 02:45:00 +00:00
Tom Lane 0dfe913803 Fill in empty tutorial section about transactions. 2001-11-19 23:17:38 +00:00
Tom Lane ec62ba9361 Try to be a little bit clearer about the implications of GRANT TO PUBLIC
and REVOKE FROM PUBLIC: the latter is not the same as 'revoke from all
users', but the ref page blurred the difference.
2001-11-19 19:03:56 +00:00
Tom Lane 5e86d226e4 Grammatical and spelling fixes. 2001-11-19 09:05:02 +00:00
Tom Lane 375dcf9c88 Fix a few typos, grammatical problems, etc in new tutorial material.
Overall a really nice job here, Peter ...
2001-11-19 05:37:53 +00:00
Tom Lane 9b03776ff2 A bunch of small doco updates motivated by scanning the comments on
the interactive docs.
2001-11-19 03:58:25 +00:00
Tom Lane 9f07cb70db Add example of using 'sameuser' followed by 'all' pg_hba records to
enforce a limit on who can connect to databases other than their own.
From a recent discussion in pg-admin.
2001-11-18 23:24:16 +00:00
Tom Lane 8cf87ac393 Fix some typos. 2001-11-18 22:27:00 +00:00
Tom Lane 0ad017fc64 Update various obsolete remarks about VACUUM. 2001-11-18 22:17:30 +00:00
Tom Lane acac465efa utils/geo-decls.h should be utils/geo_decls.h, per report from
StÅphane Raimbault.
2001-11-18 21:28:00 +00:00
Tom Lane deab49566d Mention that LIKE ... ESCAPE '' is allowed to specify no
escape character.
2001-11-18 21:17:10 +00:00
Tom Lane b16f6c6b95 Point out that TRUNCATE can't be used inside a transaction block. 2001-11-18 21:14:20 +00:00
Peter Eisentraut 17f0b55d15 Initial round of tweakage for man pages 2001-11-18 20:35:02 +00:00
Peter Eisentraut 31578cdeac Updates about NLS 2001-11-18 20:33:32 +00:00
Tom Lane e2548526cf Mention the option to submit bug reports via a web-form. Minor
copy editing.
2001-11-18 07:14:49 +00:00
Tom Lane 5906d7e096 Fix obsolete claim that only btree indexes support multiple columns;
GiST does now, too.  (Someone needs to write a description of GiST
to add to this chapter.  I don't know enough about it ...)
2001-11-18 00:59:00 +00:00
Tom Lane 0729c4a61f Clean up treatment of creating/dropping databases in User's Guide and
Admin Guide.  Move discussion of template databases out of footnotes
in CREATE DATABASE ref page and into a section of the Admin Guide.
Clean up various obsolete claims, do some copy-editing.
2001-11-18 00:38:00 +00:00
Tom Lane c9a85cb276 Copy-editing. 2001-11-17 22:23:55 +00:00
Tom Lane 2043340b87 Expand documentation for sequence functions (nextval and friends).
Place it in the expected place in the User's Guide, rather than
hiding it in the command reference page for CREATE SEQUENCE.
2001-11-17 22:20:34 +00:00
Peter Eisentraut d5a951260a Update key words for recent grammar changes 2001-11-17 13:27:16 +00:00
Peter Eisentraut 306798ded5 Use -f for rm. 2001-11-16 16:29:56 +00:00
Tom Lane 7e422ac0e7 Fix silly error in plpgsql example. 2001-11-16 00:40:11 +00:00
Tom Lane fa09b6d7b2 Add documentation for new plpgsql cursor operations. Also, another
round of editorial effort.
2001-11-15 23:32:39 +00:00
Tom Lane 307e449e5f Significant editorial overhaul of plpgsql documentation. 2001-11-15 06:25:22 +00:00
Tatsuo Ishii 7a546eb985 Add changes for multibyte support in 7.2. 2001-11-15 06:15:34 +00:00
Tom Lane b3bbeed1f6 Overhaul SPI documentation: bring it into some semblance of agreement
with reality, and add doco for Jan's recent round of enhancements.
2001-11-14 22:26:02 +00:00
Tom Lane a370cad990 Try to be a little less terse about dealing with variable-length structs
in C, but recommend that newbies who don't recognize this trick should do
some studying ...
2001-11-14 22:14:22 +00:00
Bruce Momjian 74114938ad Gnu -> GNU in docs. 2001-11-14 20:40:33 +00:00
Tom Lane a585c20d12 Tweak parser so that there is a defined representation for datatypes
bpchar, bit, numeric with typmod -1.  Alter format_type so that this
representation is printed when the typmod is -1.  This ensures that
tables having such columns can be pg_dump'd and reloaded correctly.
Also, remove the rather useless and non-SQL-compliant default
precision and scale for type NUMERIC.  A numeric column declared as
such (with no precision/scale) will now have typmod -1 which means
that numeric values of any precision/scale can be stored in it,
without conversion to a uniform scale.  This seems significantly
more useful than the former behavior.  Part of response to bug #513.
2001-11-12 21:04:46 +00:00
Peter Eisentraut 3c879e3738 Add some more index entries. 2001-11-12 19:19:39 +00:00
Bruce Momjian 53a4fa6b0e Add more MD5 documentation now that odbc/jdbc support it. 2001-11-12 02:35:16 +00:00
Bruce Momjian c336b58f93 Fix typo pointed out by bruno@wolff.to 2001-11-11 19:24:28 +00:00
Tom Lane 26e8a4f356 Repair erroneous ALTER DROP CONSTRAINT example. 2001-11-10 20:13:37 +00:00
Peter Eisentraut e5fadc78b5 Support for images in jadetex and pdfjadetex. Formatting improvements for
lists, bibliography, index, page numbering.  Add comments.
2001-11-08 23:46:29 +00:00
Peter Eisentraut 03048ffd3f Use <sect1> rather than <section> to simplify formatting. 2001-11-08 23:44:01 +00:00
Peter Eisentraut 15f2215c86 Add missing spaces 2001-11-08 23:42:23 +00:00
Peter Eisentraut 84f07f5768 Fix indexterms 2001-11-08 23:41:12 +00:00
Peter Eisentraut ede8724010 Move the indexterms around so they don't affect formatting 2001-11-08 23:40:40 +00:00
Peter Eisentraut e0a513e82e Use <important> rather than <caution> when the condition isn't hazardous,
because the result looks to "scary" otherwise.
2001-11-08 23:39:22 +00:00
Peter Eisentraut 5766f98a73 Small tuning 2001-11-08 23:37:50 +00:00
Peter Eisentraut 06f008e154 Spacing improvements 2001-11-08 23:36:55 +00:00
Peter Eisentraut d65df97885 Don't use dot in id attribute, which confuses the index generation code in
this particular instance.
2001-11-08 23:36:18 +00:00
Peter Eisentraut a715c0e4c5 Cleanup of bibliography 2001-11-08 23:34:33 +00:00
Tom Lane 4a3bf197eb Add some notes about conditional rules used with views. 2001-11-06 23:54:32 +00:00
Tom Lane 0053cebea5 Fix coredump in plpgsql when trying to return a rowtype result.
Need to return a TupleTableSlot, not just a bare tuple.
2001-11-05 19:41:56 +00:00
Tom Lane 3d5ddc0b3c Clean up wrong, misleading, or obsolete documentation about array types,
particularly in the CREATE TYPE reference page.  Fix some other errors
in the CREATE TYPE page, too.
2001-11-03 21:42:47 +00:00
Peter Eisentraut e25058bb14 Update keyword list for 7.2 release. 2001-11-02 19:13:09 +00:00
Tom Lane 8a069abd18 Fix pg_pwd caching mechanism, which was broken by changes to fork
postmaster children before client auth step.  Postmaster now rereads
pg_pwd on receipt of SIGHUP, the same way that pg_hba.conf is handled.
No cycles need be expended to validate password cache validity during
connection startup.
2001-11-02 18:39:57 +00:00
Tom Lane fe61b6cc4a Fix broken markup. 2001-11-01 04:48:00 +00:00
Tom Lane d14147de77 Copy-editing. 2001-11-01 04:07:29 +00:00
Peter Eisentraut d63805a469 A little reformatting for better print appearance. 2001-10-31 20:39:30 +00:00
Peter Eisentraut 8e144b09ae More information about partial indexes, and some tips about examining
index usage.
2001-10-31 20:38:26 +00:00
Peter Eisentraut 028c72525d Reformat some non-sensical markup. 2001-10-31 20:37:39 +00:00
Peter Eisentraut d6b2d6b640 Empty ulinks show the url string as hot text; no need to repeat the url as
element content.
2001-10-31 20:35:02 +00:00
Bruce Momjian 85801ed9b8 Attached is a small patch for the Reference Manual which adds
information about nulls and sort order.

This is based on information obtained from Peter Eisentraut and
Tom Lane on pgsql-hackers.

Please check my English and Docbook markup, as both are a second
language to me.

Rene Pijlman
2001-10-31 04:50:52 +00:00
Bruce Momjian 4911c85e86 Add ALTER TABLE ADD UNIQUE regression tests from Christopher Kings-Lynne.
Add space between slash for ALTER TABLE / ADD ....

Regression and *.po updates to follow.
2001-10-31 04:49:44 +00:00
Tom Lane b9cd4c8331 Grammatical corrections. 2001-10-30 20:13:44 +00:00
Tom Lane 6b0be33446 Update WAL configuration discussion to reflect post-7.1 tweaking.
Minor copy-editing.
2001-10-26 23:10:21 +00:00
Tom Lane 8394e4723a More cleanup of CREATE FUNCTION examples. 2001-10-26 21:17:03 +00:00
Tom Lane 62651c0176 Editorial work on xfunc chapter --- better explanations about SQL
functions handling composite types and sets, various minor cleanups.
2001-10-26 19:58:12 +00:00
Barry Lind b75e1752f0 updates to jdbc documentation for 7.2 2001-10-25 22:00:31 +00:00
Tom Lane 92e1b7431f Editorial work on descriptions of options. 2001-10-23 22:11:22 +00:00