Commit Graph

1046 Commits

Author SHA1 Message Date
Tom Lane
08265ef9c2 Fix example of syntactic ambiguity between prefix/infix/postfix operators
--- Postgres now accepts the example we claimed it wouldn't.  Miscellaneous
copy-editing as well.
2001-02-10 07:08:44 +00:00
Tom Lane
618733de1a Fix documentation of EXECUTE, add documentation of FOR ... EXECUTE. 2001-02-10 05:32:33 +00:00
Tom Lane
d08741eab5 Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively.  By default, only include files meant for frontend use are
installed into the installation include directory.  There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-10 02:31:31 +00:00
Peter Eisentraut
cf21985ab5 Update section about how to start server from boot scripts. 2001-02-10 00:50:18 +00:00
Peter Eisentraut
a1d28be831 Avoid a particular <simplelist>. jadetex has formatting problems,
apparently when the content is long enough to require line breaks.
2001-02-09 20:38:15 +00:00
Bruce Momjian
f835a4f1f7 Large object manual updates. 2001-02-09 19:24:09 +00:00
Bruce Momjian
98d66c722c Mention NetBSD 2001-02-09 17:55:48 +00:00
Bruce Momjian
14f6445534 Remove pg_service mention. 2001-02-09 17:53:44 +00:00
Bruce Momjian
b483ad84f8 Add -g as synonmym for --globals-only in pg_dumpall. Add info about
-c,--clean option to manual page.
2001-02-09 17:16:57 +00:00
Tom Lane
467f43d2fa Document PL/TclU language variant, and do some minor copy-editing. 2001-02-09 03:06:38 +00:00
Tom Lane
1f78ad262e Restructure discussion of PL installation to emphasize createlang as the
recommended install procedure, rather than mentioning it as an afterthought.
2001-02-09 02:20:52 +00:00
Peter Eisentraut
088c0b9546 Make -w the default for shut down, add -W option to specify no wait.
Add -l option to name log file.  Set umask to 077.
Proper file descriptor redirection to allow postmaster to detach from
shell's process group.
Add -s option to turn off informational messages.
2001-02-08 19:39:24 +00:00
Tom Lane
2394083bd6 Minor copy-editing. 2001-02-07 20:46:55 +00:00
Bruce Momjian
c9836946ac Update FAQ. 2001-02-07 16:33:32 +00:00
Bruce Momjian
2424483c23 Update FAQ. 2001-02-07 16:32:47 +00:00
Bruce Momjian
3869b08859 Update FAQ. 2001-02-06 04:28:50 +00:00
Peter Eisentraut
192ce19d36 Document BETWEEN. 2001-02-05 19:21:45 +00:00
Bruce Momjian
e28c095e8d Update FAQ. 2001-02-05 17:37:44 +00:00
Peter Eisentraut
ab29852224 Move PL docs to programmer's guide, "storage" chapter to admin guide,
clean up some things in the affected areas.
2001-02-04 15:28:18 +00:00
Peter Eisentraut
72813984da Must run jadetex three times to get correct page numbers. Add support for
pdfjadetex.
2001-02-04 12:23:11 +00:00
Peter Eisentraut
c1f5ed6394 When making xrefs to refsects, the linkend should point to the refsect and
the endterm to the title element, not both to the title.  At least
docbook2man prefers it that way.
2001-02-04 12:18:08 +00:00
Bruce Momjian
930b283a89 Re-add Peter E's changes. 2001-02-03 21:50:45 +00:00
Peter Eisentraut
251de13afd Improved wording, from Albert REINER <areiner@tph.tuwien.ac.at>. 2001-02-03 19:09:46 +00:00
Peter Eisentraut
7c164dca0b Update, polish, consistencify preface/intro sections. 2001-02-03 19:03:27 +00:00
Bruce Momjian
a1c68b4e6b A patch for the GROUP BY/HAVING example. p.date should be s.date.
Robert B. Easter
2001-02-01 19:13:47 +00:00
Bruce Momjian
8255fc1716 Update HISTORY/release with current changes. 2001-01-29 18:58:45 +00:00
Bruce Momjian
4ad180691f Update FAQ. 2001-01-29 01:23:36 +00:00
Bruce Momjian
be88b0d888 Update FAQ. 2001-01-28 17:43:54 +00:00
Bruce Momjian
08dcf0a680 Update FAQ. 2001-01-28 17:42:12 +00:00
Bruce Momjian
ab71c20fdf Update FAQ. 2001-01-28 17:39:44 +00:00
Bruce Momjian
677fe55c12 Update FAQ. 2001-01-28 15:18:45 +00:00
Bruce Momjian
b72ca55ed5 Update FAQ. 2001-01-27 20:19:34 +00:00
Peter Eisentraut
94bf45265f Make into appendix, correct some items. 2001-01-27 11:12:53 +00:00
Peter Eisentraut
dc7a0009f0 Add permission check for CHECKPOINT. 2001-01-27 10:19:52 +00:00
Bruce Momjian
76beb79d27 in the tutorial, chapter 2., "Relational Data Model Formalities"
(sql490.htm), there is

"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v1 [isin] D1"

i assume it should be
"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v2 [isin] D2"

Divide by Zero
2001-01-27 05:07:28 +00:00
Bruce Momjian
a60537240f Update FAQ. 2001-01-27 04:38:54 +00:00
Bruce Momjian
2696cf0412 Update FAQ. 2001-01-27 04:35:16 +00:00
Peter Eisentraut
1c63587f24 Clean up markup, add description of contrib/array operators by Joel Burton
<jburton@scw.org>.
2001-01-26 23:40:39 +00:00
Peter Eisentraut
61737a7b47 Add some links from data type chapter to section on literal constants. 2001-01-26 22:04:22 +00:00
Peter Eisentraut
7b9dc71405 WAL documentation, from Oliver Elphick and Vadim Mikheev. 2001-01-24 23:15:19 +00:00
Peter Eisentraut
43bac8406a Update based on documentation written by Vadim Mikheev and Oliver Elphick. 2001-01-24 21:56:23 +00:00
Bruce Momjian
623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
Bruce Momjian
87070ccc13 It looks Ok, but it has one unnecessary step. There is no need to do the "mv
privkey.pem cert.pem.pw" if you just use "privkey.pem" in the following
openssl command (e.g. openssl rsa -in privkey.pem -out cert.pem".
But there is nothing wrong with it as it is now, as far as I can see.


//Magnus
2001-01-24 15:19:36 +00:00
Bruce Momjian
80d24370e0 Oops, had .o file in there. 2001-01-24 05:06:15 +00:00
Bruce Momjian
a939e97451 Update 2001-01-24 03:40:33 +00:00
Bruce Momjian
fc031fbe5c Update FAQ. 2001-01-23 01:11:34 +00:00
Bruce Momjian
c805491792 Update FAQ. 2001-01-23 01:11:06 +00:00
Bruce Momjian
c0bb21b369 Update FAQ. 2001-01-23 01:00:55 +00:00
Peter Eisentraut
21a3857f1f Rip out table expression section from SQL syntax chapter and develop it
into new chapter on query (SELECT) syntax.  In the end this should become
a narrative and example-filled counterpart to the SELECT reference page.
2001-01-22 23:34:33 +00:00
Bruce Momjian
60b282fd26 Put back old MS FAQ> 2001-01-22 22:54:07 +00:00
Bruce Momjian
56f5f2bf82 Update FAQ. 2001-01-22 17:20:12 +00:00
Bruce Momjian
0fada37f5d Update FAQ. 2001-01-22 16:35:35 +00:00
Tom Lane
7e0919136a Minor fixes. 2001-01-22 16:11:17 +00:00
Bruce Momjian
505cdd5873 Update FAQ. 2001-01-22 06:27:41 +00:00
Bruce Momjian
5f93794f1e Update FAQ. 2001-01-22 05:56:26 +00:00
Bruce Momjian
64b3af90f1 Add. 2001-01-22 03:47:22 +00:00
Bruce Momjian
bf01c7983b Make Kevin Lo's MS FAQ the default. 2001-01-22 03:33:55 +00:00
Bruce Momjian
d90eb434e4 Update FAQ. 2001-01-21 22:16:56 +00:00
Peter Eisentraut
4f34f55d3d Description of table expressions, including join syntax, from Robert B.
Easter <reaster@comptechnews.com>, heavily massaged by me.  Also cleaned up
value expressions a bit.
2001-01-21 22:02:01 +00:00
Bruce Momjian
11d9d2cfaa Update FAQ. 2001-01-21 05:01:57 +00:00
Tom Lane
a2405d5554 Get rid of initdb -t bugs by the simple expedient of getting rid of
initdb -t.  This option is obsoleted by 7.1's ability to drop and
recreate template1 during normal operation.
2001-01-20 22:09:24 +00:00
Peter Eisentraut
74bbe8097d Replace some oldish, non-SQL'ish elements with more standard forms. (cast
syntax, type names, function names, etc.)
2001-01-20 20:59:29 +00:00
Bruce Momjian
923513b52f Move anoncvs to top of docs, then put cvs tree. Hope that is OK. Seems
more logical.
2001-01-20 04:16:55 +00:00
Bruce Momjian
d128852358 In the Programmer's Guide, the sample code for accessing large objects
from libpq has two functions with memory leaks.

The functions pickout() and overwrite() malloc space for buf which is
never freed.

See
http://www.postgresql.org/users-lounge/docs/7.0/programmer/largeobjects3207.htm

This problem is also in the 6.5 docs at
http://www.postgresql.org/users-lounge/docs/6.5/programmer/x3184.htm

Nishad Prakash
2001-01-20 00:05:54 +00:00
Tom Lane
1073123baa Update docs to explain that 7.1 locks down LC_COLLATE and LC_CTYPE at
initdb time.  A few copy-editing cleanups, too.
2001-01-19 04:47:50 +00:00
Thomas G. Lockhart
6439de1752 Fix incorrect placeholder name in example. 2001-01-18 07:18:39 +00:00
Thomas G. Lockhart
7705581e49 Replace contraction with long form. Cosmetic only. 2001-01-18 07:11:36 +00:00
Bruce Momjian
392793b1ac Functions -> Function's 2001-01-17 22:13:33 +00:00
Bruce Momjian
9a342d2035 There are misprints in postgres doc., in :
Chapter 10. PL/pgSQL - SQL Procedural Language (c40914117.htm)

Statements
...
(resulting in a PL/pgSQL internal SELECT).
But there are cases where someone isn't interested int
-----------------------------------------(have to be)-->
But there are cases where someone isn't interested in
     the functions result.

 RAISE level format''
--(have to be)-->
 RAISE level 'format'
2001-01-17 16:34:34 +00:00
Peter Eisentraut
1ced7f3b30 Adjust file names. 2001-01-15 21:17:27 +00:00
Peter Eisentraut
027f144e39 Terminology cleanup: class -> table, instance -> row, attribute -> column,
etc.
2001-01-13 23:58:55 +00:00
Peter Eisentraut
526427f6d3 Add information about bit types. Adjust some other things to promote
SQL type names over internal type names.
2001-01-13 18:34:51 +00:00
Peter Eisentraut
2a6c08228f New shell for the to be written CHECKPOINT documentation, so the summary
shows up in psql now.
2001-01-13 03:11:12 +00:00
Peter Eisentraut
a32542a1c0 Update information about compiling extension modules. 2001-01-12 22:15:32 +00:00
Tom Lane
359459a44d Bring CREATE TABLE syntax synopsis into line with reality; update a
bunch of old or poorly-worded documentation.
2001-01-12 05:06:40 +00:00
Bruce Momjian
f906597e50 Apply proper sql.sgml change. 2001-01-09 16:05:21 +00:00
Bruce Momjian
777137b7a9 Attached is a doc patch for doc/src/sgml/sql.sgml.
It adds information about SQL JOIN that is implemented in 7.1.

--
-------- Robert B. Easter
2001-01-09 15:48:18 +00:00
Bruce Momjian
5d42c0f3ac A patch for doc/src/sgml/plsql.sgml to add a little more info about PL/pgSQL
EXECUTE.

--
-------- Robert B. Easter
2001-01-09 15:26:16 +00:00
Bruce Momjian
df389d161d Approaching the current documentation from a position of ignorance, I
find it ambiguous.  I propose something along the lines of the
following patch to clarify it.  Thanks.

(Alternatively, perhaps the code could maintain a count of nested
calls to SPI_connect/SPI_finish.  But I didn't try to write that
patch.)

Ian Lance Taylor
2001-01-09 14:23:40 +00:00
Tom Lane
10fb290aca Document the system attributes ctid and tableoid, which for some reason
were never yet mentioned anywhere in our documentation.  Improve
explanations of the other system attributes, too.
2001-01-08 22:07:47 +00:00
Tom Lane
6334ef86a7 Document that we don't support ORDER BY with general expressions on
the output of UNION/INTERSECT/EXCEPT.
2001-01-08 21:30:37 +00:00
Peter Eisentraut
005ad6cdd6 Add rudimentary section about controlling kernel's file and process limits. 2001-01-08 21:01:54 +00:00
Peter Eisentraut
8c3d7715bc Simplify rules to build man pages so they run a lot faster and create less
noise.
2001-01-06 16:54:16 +00:00
Peter Eisentraut
bc0afb715d EXECUTE documentation, from "Robert B. Easter" <reaster@comptechnews.com>.
I threw in spell check run over the whole file.
2001-01-06 12:26:08 +00:00
Peter Eisentraut
3942ee389c Update section on SQL syntax. (Still a lot to be done though.) Add
appendix with comprehensive list of key words.
2001-01-06 11:58:56 +00:00
Tom Lane
96bd67f61d Bring CREATE RULE reference page into some semblance of agreement with
what's actually implemented.
2001-01-06 04:14:35 +00:00
Tom Lane
2fb6cc9045 Remove not-really-standard implementation of CREATE TABLE's UNDER clause,
and revert documentation to describe the existing INHERITS clause
instead, per recent discussion in pghackers.  Also fix implementation
of SQL_inheritance SET variable: it is not cool to look at this var
during the initial parsing phase, only during parse_analyze().  See
recent bug report concerning misinterpretation of date constants just
after a SET TIMEZONE command.  gram.y really has to be an invariant
transformation of the query string to a raw parsetree; anything that
can vary with time must be done during parse analysis.
2001-01-05 06:34:23 +00:00
Tom Lane
676cf18c5b New file format for COPY BINARY, in accordance with pghackers discussions
of early December 2000.  COPY BINARY is now TOAST-safe.
2001-01-03 20:04:10 +00:00
Tom Lane
3bdadd0426 Document tuple ordering differences as a possible cause of
regression test 'failures'.
2001-01-02 05:56:02 +00:00
Peter Eisentraut
eedfac64dd Correct UNDER syntax. 2000-12-30 19:11:45 +00:00
Peter Eisentraut
59e2bf3c69 Correct UNDER syntax. 2000-12-30 19:00:11 +00:00
Peter Eisentraut
8188a9bebf Refinements 2000-12-30 17:11:32 +00:00
Peter Eisentraut
2783bd50da Add mention of sysctl(8) for IPC tuning on Linux. 2000-12-30 15:03:09 +00:00
Tom Lane
0a8da82576 Correct erroneous documentation of PQsetnonblocking(). 2000-12-28 00:16:11 +00:00
Peter Eisentraut
f4e995e17f Add id attribute to sect1 tag. 2000-12-26 20:12:49 +00:00
Peter Eisentraut
fa1640aea0 Fix some cross reference links. 2000-12-26 00:10:37 +00:00
Peter Eisentraut
dccfd74935 Refine some things to create better looking man pages. 2000-12-25 23:15:27 +00:00
Peter Eisentraut
37c55f9849 Some of the stuff documented here hasn't existed since Postgres95. 2000-12-23 16:24:29 +00:00
Peter Eisentraut
de3379503a Remove unused file (the information is already contained elsewhere). 2000-12-23 11:10:55 +00:00
Peter Eisentraut
7558da669f Make use of <email> tag for marking up email addresses. 2000-12-22 21:51:58 +00:00