Commit Graph

1941 Commits

Author SHA1 Message Date
Bruce Momjian
77d2aa0613 Update FAQ. 2002-02-21 20:15:00 +00:00
Bruce Momjian
7e1de695fe Update FAQ. 2002-02-21 20:13:39 +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
865d26fdd6 Update FAQ. 2002-02-18 05:09:01 +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
Bruce Momjian
ceec779ab5 Update FAQ. 2002-02-14 17:15:00 +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
c16ef167df Update FAQ. 2002-02-12 17:18:10 +00:00
Bruce Momjian
d39a369912 Update FAQ. 2002-02-12 17:14:55 +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
03296fc980 Update FAQ. 2002-02-02 21:46:45 +00:00
Bruce Momjian
c47723d368 Update FAQ. 2002-02-02 20:34:33 +00:00
Bruce Momjian
4a6f109802 Update for 7.2:
This fixes references to 7.1.3 (I think).  It also
modifies the japanese
FAQ, so I'm not sure if that's done correctly.

Chris
2002-02-02 20:34:16 +00:00
Bruce Momjian
b1c8de4908 Update FAQ_DEV. 2002-02-01 20:28:32 +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
Bruce Momjian
859a9eb468 Update FAQ. 2002-01-22 20:24:14 +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
Bruce Momjian
8ae53160da Update FAQ. 2002-01-10 23:41:49 +00:00
Bruce Momjian
e6aa4584ca Update FAQ. 2002-01-10 23:35:20 +00:00
Bruce Momjian
b010afe0dd Update FAQ. 2002-01-10 23:35:19 +00:00
Bruce Momjian
d356ec9a01 Update FAQ. 2002-01-10 23:34:14 +00:00
Bruce Momjian
775a61009e Update FAQ. 2002-01-10 23:33:35 +00:00
Bruce Momjian
e19d7b7b95 Update FAQ. 2002-01-10 23:07:07 +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
0b79ed2745 Update FAQ. 2002-01-04 05:44:45 +00:00
Bruce Momjian
8be67450aa Update FAQ_DEV. 2002-01-03 08:20:54 +00:00
Bruce Momjian
5b24a98f2a Update FAQ_DEV. 2002-01-03 08:13:51 +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
23ef0926e1 Update FAQ_DEV. 2001-12-30 04:31:29 +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
fcac3b09ca Update FAQ_DEV. 2001-12-29 05:15:42 +00:00
Bruce Momjian
54481d10f3 Update FAQ_DEV. 2001-12-29 05:12:45 +00:00
Bruce Momjian
e0de8d9821 Update FAQ_DEV. 2001-12-29 03:42:59 +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
Bruce Momjian
63b312d2da Add new Japanese FAQ versions. 2001-12-10 11:17:51 +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
Bruce Momjian
15790465c2 Update FAQ. 2001-12-05 05:41:13 +00:00
Bruce Momjian
e383e411b7 Update FAQ. 2001-12-05 05:38:51 +00:00
Bruce Momjian
d1e77ecf95 Update FAQ. 2001-12-05 05:33:48 +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
Bruce Momjian
fb170041c6 Update FAQ_DEV. 2001-12-04 17:12:25 +00:00
Bruce Momjian
b7579d62ce Update FAQ. 2001-12-04 07:12:08 +00:00
Bruce Momjian
2314bcfb95 Another test of double-commit. It used only commit one file. 2001-12-04 07:10:45 +00:00
Bruce Momjian
08475b75c3 Test of double-commit. 2001-12-04 07:09:53 +00:00
Bruce Momjian
7a0f2a648d Update FAQ_DEV. 2001-12-04 06:44:45 +00:00
Bruce Momjian
50cf849e28 Update FAQ_DEV. 2001-12-04 06:40:09 +00:00
Bruce Momjian
caf4da8a20 Update FAQ_DEV. 2001-12-04 06:37:26 +00:00
Bruce Momjian
79d5f6f6ec Update FAQ_DEV. 2001-12-04 06:35:51 +00:00
Bruce Momjian
c90bcb98bd Update FAQ_DEV. 2001-12-04 06:26:59 +00:00
Bruce Momjian
e0a5d6ce46 Update FAQ_DEV. 2001-12-04 06:20:53 +00:00
Bruce Momjian
00836012c6 Update FAQ_DEV. 2001-12-04 06:20:09 +00:00
Bruce Momjian
970dcf2776 Update FAQ_DEV. 2001-12-04 06:14:44 +00:00
Bruce Momjian
c36e598ecb Update FAQ_DEV. 2001-12-04 06:14:04 +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
Bruce Momjian
d0c1769b77 Update FAQ. 2001-11-28 21:11:39 +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
93f54561d7 Update FAQ_DEV. 2001-11-28 01:38:39 +00:00
Bruce Momjian
97f7257435 Update FAQ_DEV. 2001-11-28 01:38:09 +00:00
Bruce Momjian
c7651c15a6 Update FAQ_DEV. 2001-11-28 01:20:27 +00:00
Bruce Momjian
8b0fea4d92 Update FAQ_DEV. 2001-11-28 00:37:49 +00:00
Bruce Momjian
8b55943f1a Update FAQ. 2001-11-28 00:37:03 +00:00
Bruce Momjian
71b7206158 Update FAQ_DEV. 2001-11-28 00:36:28 +00:00
Bruce Momjian
c75484dc2b Update FAQ_DEV. 2001-11-28 00:32:10 +00:00
Bruce Momjian
37e5535433 Add mention of init -W flag for security. 2001-11-28 00:13:30 +00:00
Bruce Momjian
6bebd94845 Update FAQ_DEV. 2001-11-28 00:10:01 +00:00
Bruce Momjian
1e99bf5e4c Update FAQ_DEV. 2001-11-27 23:44:03 +00:00
Bruce Momjian
882e2899f0 Update FAQ_DEV. 2001-11-27 21:48:45 +00:00
Bruce Momjian
2ebb03c9ef Update FAQ_DEV. 2001-11-27 20:45:27 +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
Bruce Momjian
45e7bdaaea Update FAQ. 2001-11-27 19:16:55 +00:00
Bruce Momjian
4267300f0c Update FAQ. 2001-11-27 18:22:32 +00:00
Tatsuo Ishii
e58261ca54 Fix imcomplete SGML tag.
Please check compile errors before you commit!
2001-11-27 13:02:33 +00:00
Bruce Momjian
da3328fca8 Update FAQ_DEV. 2001-11-27 02:48:20 +00:00
Bruce Momjian
78e65ad5af Update FAQ_DEV. 2001-11-27 02:36:59 +00:00
Bruce Momjian
2429c32722 Update FAQ_DEV. 2001-11-27 02:03:05 +00:00
Bruce Momjian
f0074b6098 Update FAQ_DEV. 2001-11-27 02:01:55 +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
ea4f08ed49 Rename make_keywords.README to make_keywords. 2001-11-26 22:41:58 +00:00
Bruce Momjian
b7ca9a9403 Update FAQ_DEV. 2001-11-26 21:56:40 +00:00
Bruce Momjian
07c3f00b14 Rename find_baddefs to find_badmacros 2001-11-26 21:42:24 +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
Peter Eisentraut
6840aa3665 Fix comment 2001-11-25 22:17:27 +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
ee587da6db Improve wording. 2001-11-23 17:56:13 +00:00
Bruce Momjian
8b48010288 Document index entries are built first. 2001-11-23 17:15:30 +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
Bruce Momjian
dc6efa44e2 Update Japanese FAQ's. 2001-11-17 05:11:43 +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
905109f24a Update FAQ. 2001-11-12 07:38:57 +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
Bruce Momjian
3e76c9aaa5 Move ALL out of UNION|INTERSECT|EXCEPT syntax.
Alvaro Herrera
2001-10-23 16:42:36 +00:00
Tom Lane
453f3503f3 Add note explaining that multiple prompts for a password are normal
behavior when password auth is used.
2001-10-22 23:48:11 +00:00
Peter Eisentraut
f08c9ff84b Make the CREATE TABLE ref page more readable and update some information. 2001-10-22 18:14:47 +00:00
Bruce Momjian
f363b3177d Remove LIMIT #,# and suggest LIMIT # OFFSET #, per mailing list discussion. 2001-10-20 02:55:39 +00:00
Tom Lane
6b5aeb797f Typo. 2001-10-19 00:46:51 +00:00
Bruce Momjian
f5a5b44c4d Change error code docs to use colons. 2001-10-18 20:43:05 +00:00
Bruce Momjian
278669e038 Document all the ecpg error codes. 2001-10-18 20:32:58 +00:00
Tom Lane
8be02853b8 Add documentation about statistics collector and stats views & functions. 2001-10-16 23:57:06 +00:00
Tom Lane
2bb6b98d5c Add a section about the planner's statistics, including a description
of the new pg_stats view.
2001-10-16 01:13:44 +00:00
Tom Lane
daf72bba91 Add note about pg_stats to pg_statistic entry; add sections for
pg_largeobject, pg_listener, pg_rewrite, pg_trigger; miscellaneous
small improvements.
2001-10-15 22:47:47 +00:00
Tom Lane
8f6d72cb39 Suggest placing audit trail on pg_shadow, not its view pg_user. 2001-10-15 02:02:06 +00:00
Tom Lane
9bc15d499d Update examples of type coercion rules --- some of them no longer worked
as the example claimed, because of changes elsewhere in the system.
2001-10-15 01:00:59 +00:00
Bruce Momjian
360e61e1f5 Update FAQ. 2001-10-14 23:27:31 +00:00
Bruce Momjian
657d0044b0 Update FAQ. 2001-10-13 05:27:05 +00:00
Bruce Momjian
46712990bd More keyword uppercasing. 2001-10-13 04:58:35 +00:00
Bruce Momjian
1d3a47af0c Attached patch for unconditional enabling of pltcl-unknown support.
Enabling this feature adds very light overhead of 1 select from pg_class on
first using of pl/tcl in backend if unknown suppport is really unused.
But pl/tcl with this support has very improved functionality.

Patch includes changes to documentation.
2001-10-13 04:23:50 +00:00
Bruce Momjian
36458b93e0 Update FAQ. 2001-10-13 03:53:45 +00:00
Bruce Momjian
db7aa99fb9 Update FAQ. 2001-10-13 03:37:42 +00:00
Bruce Momjian
cdd4379394 Update FAQ. 2001-10-13 01:32:47 +00:00
Bruce Momjian
0818073894 More uppercasing. 2001-10-12 23:34:30 +00:00
Bruce Momjian
705869dd17 Uppercase keywords where appropriate. 2001-10-12 23:32:34 +00:00
Bruce Momjian
c24216bea8 Fix reverse FOR loop to work properly, uppercase cleanup in file. 2001-10-12 21:19:09 +00:00
Tatsuo Ishii
f426465ba9 Add a new function "pg_client_encoding" which returns the current client
side encoding name. This is necessary for client API's such as JDBC
to perform correct encoding conversions. See my email "[HACKERS]
pg_client_encoding" 10 Sep 2001.
2001-10-12 02:08:34 +00:00
Tom Lane
f9e6e27c87 Break transformCreateStmt() into multiple routines and make
transformAlterStmt() use these routines, instead of having lots of
duplicate (not to mention should-have-been-duplicate) code.
Adding a column with a CHECK constraint actually works now,
and the tests to reject unsupported DEFAULT and NOT NULL clauses
actually fire now.  ALTER TABLE ADD PRIMARY KEY works, modulo
having to have created the column(s) NOT NULL already.
2001-10-12 00:07:15 +00:00
Bruce Momjian
e98476eb03 Document use of GEQO param in subquery pullups. 2001-10-11 21:16:26 +00:00
Bruce Momjian
c19ff887c6 Add documention for ecpg -209 error. 2001-10-11 20:25:42 +00:00
Bruce Momjian
95c18db868 Remove mention of "pg_result -list" becuase it is not implemented, per
Tatsuo.
2001-10-11 16:30:41 +00:00
Peter Eisentraut
371f49bf9f Remove gratuitous discrepancy between extract() and date_part(),
regarding timezone_hour, timezone_minute vs. tz_hour, tz_minute.
Document the former.
2001-10-10 00:02:42 +00:00
Peter Eisentraut
ec5c62874d Allow optional () after current_user, session_user, user, current_time,
current_timestamp, current_date for ODBC compatibility.

Add more functions to odbc.sql catalog extension, use new CREATE OR
REPLACE FUNCTION.

Document iODBC/unixODBC build options.
2001-10-09 22:32:33 +00:00
Peter Eisentraut
ffb8f73890 Bunch of copy fitting and style sheet tweakage to get decent looking print
output (from pdfjadetex).  Also updated instructions to install documentation
processing toolchain.
2001-10-09 18:46:00 +00:00
Tom Lane
2034086ed1 Correct some errors in plpgsql examples, as reported by Junichi Kobayasi. 2001-10-09 04:55:11 +00:00
Tom Lane
0b3bca6c6f Change plpgsql to depend on main parser's type-declaration grammar,
rather than having its own somewhat half-baked notion of what a type
declaration looks like.  This is necessary now to ensure that plpgsql
will think a 'timestamp' variable has the same semantics as 'timestamp'
does in the main SQL grammar; and it should avoid divergences in future.
2001-10-09 04:15:38 +00:00
Bruce Momjian
343318028f ouput -> output
Oliver Elphick
2001-10-05 15:50:11 +00:00
Peter Eisentraut
a50696c9e1 Finetuning for legalnotice in print output. Add some "ASCII markup" for
text output.
2001-10-04 22:30:14 +00:00
Peter Eisentraut
ede3a1ea16 Finetuning for better print formatting 2001-10-04 22:28:44 +00:00
Peter Eisentraut
ddcf1bca74 Replace simplelists with itemizedlists for better formatting 2001-10-04 22:27:58 +00:00
Peter Eisentraut
334368fb68 Rewording 2001-10-04 22:27:18 +00:00
Peter Eisentraut
536394e73a Fix spacing to get proper URL formatting in print output 2001-10-04 22:26:27 +00:00
Peter Eisentraut
255bd588a7 Hack for Jade vs TeX interpretation of "--" 2001-10-04 22:25:48 +00:00