Commit Graph

2608 Commits

Author SHA1 Message Date
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
Barry Lind
7379502f8a added CallableStatement support to jdbc todo 2001-11-29 18:15:33 +00:00
Peter Eisentraut
d5aa0dc8db Improve wording 2001-11-29 16:01:15 +00:00
Bruce Momjian
c3d7e3d439 Update TODO list. 2001-11-29 15:39:11 +00:00
Bruce Momjian
f1d39629b2 Update TODO list. 2001-11-29 05:53:46 +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
692ba96aaa Update TODO list. 2001-11-28 20:18:38 +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
Bruce Momjian
9775cb96b3 Update TODO list. 2001-11-28 05:44:51 +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
220d006834 Manual update. 2001-11-28 00:12:39 +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
c7df05341d Update TODO list. 2001-11-27 21:23:00 +00:00
Bruce Momjian
2ebb03c9ef Update FAQ_DEV. 2001-11-27 20:45:27 +00:00
Bruce Momjian
4343f574eb Update TODO list. 2001-11-27 20:42:15 +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
c7caa796d0 Remove unused entries. 2001-11-27 20:25:45 +00:00
Bruce Momjian
7d21a98a56 Update TODO list. 2001-11-27 19:35:38 +00:00
Bruce Momjian
db19406043 Update TODO list. 2001-11-27 19:31:17 +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
Bruce Momjian
0f74fb7871 Chinese PO patch
Laser.
2001-11-27 17:51:54 +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
4f3ecf94f5 Update TODO list. 2001-11-27 04:11:08 +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
89b1d25506 Update FAQ_DEV. 2001-11-26 22:42:51 +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
2631b79098 Update TODO list. 2001-11-26 21:07:44 +00:00
Bruce Momjian
50721b271f Add MySQL file system mention. 2001-11-26 21:07:01 +00:00
Bruce Momjian
951750beca Add LAZY messages. 2001-11-26 21:03:34 +00:00
Bruce Momjian
04a92ffd3f Update TODO list. 2001-11-26 21:03:15 +00:00
Bruce Momjian
dc199c1cd7 Update for all priviledge items. 2001-11-26 21:01:13 +00:00
Bruce Momjian
07d5117a76 Add to TODO item about raw device performance. 2001-11-26 20:19:30 +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
84ed4bde59 Update TODO list. 2001-11-26 19:33:33 +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
Bruce Momjian
3f122576fd Update TODO list. 2001-11-26 06:36:04 +00:00
Barry Lind
59db902b1c Updated JDBC todo items 2001-11-26 06:08:03 +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
191af46a4c Update TODO list. 2001-11-23 02:22:04 +00:00
Bruce Momjian
356b36e8bd Update TODO list. 2001-11-23 01:48:38 +00:00
Bruce Momjian
78d312bd50 Update TODO list. 2001-11-22 17:18: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
Bruce Momjian
97a66763d3 Update TODO list. 2001-11-22 03:10:16 +00:00
Bruce Momjian
67b0d1ddbd Update TODO list. 2001-11-22 03:05:29 +00:00
Bruce Momjian
f7dcba7561 Update TODO list. 2001-11-22 02:46:49 +00:00
Bruce Momjian
ef0b4aaddb Update TODO list. 2001-11-22 01:34:12 +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
Bruce Momjian
a157385d7b Update TODO list. 2001-11-21 21:25:28 +00:00
Tom Lane
22e22a5208 Spelling and grammatical corrections. 2001-11-21 21:12:34 +00:00
Bruce Momjian
49d762f6aa Update TODO list. 2001-11-21 18:49:50 +00:00
Bruce Momjian
e4ba691240 Update TODO list. 2001-11-21 18:49:10 +00:00
Bruce Momjian
370174b953 Move internals.ps to web cvs. 2001-11-21 15:38:15 +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
Bruce Momjian
1337bfa94c Update TODO list. 2001-11-20 15:28:37 +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
Bruce Momjian
8f6f16929a Update TODO list. 2001-11-19 20:02:25 +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
Bruce Momjian
9473f8d5f7 Update TODO list. 2001-11-19 18:10:38 +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
Bruce Momjian
98e05cec5b Update TODO list. 2001-11-18 21:17:04 +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
Bruce Momjian
834a76fe79 Update TODO list. 2001-11-18 15:32:39 +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
Bruce Momjian
59fdccccf5 Update TODO list. 2001-11-17 19:53:07 +00:00
Bruce Momjian
f57eec067d Update TODO list. 2001-11-17 19:29:19 +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
Bruce Momjian
b0df7a60f2 Update TODO list. 2001-11-16 17:43:25 +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
Bruce Momjian
09f19de62c Update TODO list. 2001-11-15 03:11:32 +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
Bruce Momjian
276450d7d7 Update TODO list. 2001-11-14 16:31:38 +00:00
Bruce Momjian
330b112476 Update TODO list. 2001-11-13 01:14:57 +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
Bruce Momjian
9c9ea41b3c Update TODO list. 2001-11-12 20:26:39 +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
0954ea174a Update TODO list. 2001-11-12 07:10:58 +00:00
Bruce Momjian
26e34c9b30 Update TODO list. 2001-11-12 05:35:48 +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