Commit Graph

13180 Commits

Author SHA1 Message Date
Bruce Momjian
b16bd18546 Clearify DECLARE syntax by saying cursorname, not just cursor. 1999-12-30 22:58:10 +00:00
Bruce Momjian
1c2257648a > > It would be nice for new users; I think it would make it easier
> > for them to actually set out and do it.  Many new users are
> > of the not-so-knowledgable variety, and shell scripting isn't
> > something they want to undertake.
>
> Can someone modify the vacuumdb shell script to do that?
i tried it... it seems to work

neko@kredit.sth.sz
1999-12-18 08:34:50 +00:00
Thomas G. Lockhart
97710d9f5a Fix typo in tag. 1999-12-17 14:52:51 +00:00
Bruce Momjian
83bad7c063 This is my -- hopefully sufficiently portable -- attempt at cleaning out
initdb. No more obscure dependencies on environment variables or paths.
It
now finds the templates and the right postgres itself (with cmd line
options as fallback). It also no longer depends on $USER (su safe), and
doesn't advertise that --username allows you to install the db as a
different user, since that doesn't work anyway. Also, recovery and
cleanup
on all errors. Consistent options, clearer documentation.

Please take a look at this and adopt it if you feel it's safe enough. I
have simulated all the stupid circumstances I could think of, but you
never know with shell scripts.

Oh yeah, you can give the postgres user a default password now.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-12-17 01:05:31 +00:00
Bruce Momjian
bcaabc5698 Depending on my interpreting (and programming) skills, this might solve
anywhere from zero to two TODO items.

* Allow flag to control COPY input/output of NULLs

I got this:
COPY table .... [ WITH NULL AS 'string' ]
which does what you'd expect. The default is \N, otherwise you can use
empty strings, etc. On Copy In this acts like a filter: every data item
that looks like 'string' becomes a NULL. Pretty straightforward.

This also seems to be related to

* Make postgres user have a password by default

If I recall this discussion correctly, the problem was actually that the
default password for the postgres (or any) user is in fact "\N", because
of the way copy is used. With this change, the file pg_pwd is copied out
with nulls as empty strings, so if someone doesn't have a password, the
password is just '', which one would expect from a new account. I don't
think anyone really wants a hard-coded default password.

Peter Eisentraut                  Sernanders väg 10:115
1999-12-14 00:08:21 +00:00
Tom Lane
ff6fe1502d Update documentation to reflect availability of aggregate(DISTINCT).
Try to provide a more lucid discussion in 'Using Aggregate Functions'
tutorial section.
1999-12-13 17:39:38 +00:00
Bruce Momjian
11023eb1f5 Meanwhile, database names with single quotes in names don't work very well
at all, and because of shell quoting rules this can't be fixed, so I put
in error messages to that end.

Also, calling create or drop database in a transaction block is not so
good either, because the file system mysteriously refuses to roll back rm
calls on transaction aborts. :) So I put in checks to see if a transaction
is in progress and signal an error.

Also I put the whole call in a transaction of its own to be able to roll
back changes to pg_database in case the file system operations fail.

The alternative location issues I posted recently were untouched, awaiting
the outcome of that discussion. Other than that, this should be much more
fool-proof now.

The docs I cleaned up as well.

Peter Eisentraut                  Sernanders väg 10:115
1999-12-12 05:15:10 +00:00
Bruce Momjian
a0aab48fcd Okay, that should put us back in sync. These two patches (src & doc) are
against the sources from one hour ago and contain all the portable and
up
to date stuff.

A few other CVS "householding" things you might want to take care of:

* Remove the src/bin/cleardbdir directory

* Remove the file src/bin/psql/sql_help.h from the repository, as it is
a derived file and is build by the release_prep.

Peter Eisentraut
1999-12-07 22:41:44 +00:00
Thomas G. Lockhart
1d8ce77233 Update entries with recent results for Alpha and ARM processors.
Remove references to Ultrix; haven't heard from it for a *long* time :(
1999-12-06 16:40:45 +00:00
Thomas G. Lockhart
b7f6168516 Fix markup (a couple of missing tags) and renormalize. 1999-12-06 16:38:25 +00:00
Thomas G. Lockhart
b6332952b7 Remove references to PostgreSQL as "public-domain" since that has a
specific meaning wrt copyright (or lack thereof).
1999-12-06 16:37:11 +00:00
Bruce Momjian
60ae5ed037 Remove destroylang.sgml. 1999-12-05 20:29:18 +00:00
Bruce Momjian
d7857e5713 Update. 1999-12-05 20:22:00 +00:00
Bruce Momjian
66f8da0756 Update 1999-12-05 20:04:42 +00:00
Bruce Momjian
ed62104ea9 I cleaned those out as well (the echo -n "bug" was in there ;) and moved
them into the scripts dir. I also added a --list option to show already
installed languages.

This whole moving and renaming totally confused CVS and my checked out
copy got completely fried last night. When you apply the source patch,
please make sure that all the directories src/bin/{create|destroy}* as
well as vacuumdb, cleardbdir are gone and that all the scripts (7) are
in
scripts/.

Meanwhile I am still puzzled about what happened with the docs patch.
Because I don't know what you got now, the second attachment contains
the
files

ref/allfiles.sgml
ref/commands.sgml
ref/createlang.sgml
ref/droplang.sgml
doc/src/sgml/Makefile

Peter Eisentraut                  Sernanders väg 10:115
1999-12-05 20:02:49 +00:00
Bruce Momjian
e2b71e0839 Re-add destroylang. 1999-12-04 12:50:54 +00:00
Bruce Momjian
e958a30542 Update scripts from Peter. 1999-12-04 05:03:49 +00:00
Bruce Momjian
240e4c98f5 New scripts for create/drop user/db from Peter Eisentraut 1999-12-04 04:53:22 +00:00
Bruce Momjian
eebfb9baa5 create/alter user extension
This one should work much better than the one I sent in previously. The
functionality is the same, but the patch was missing one file resulting
in
the compilation failing. The docs also received a minor fix.

Peter Eisentraut                  Sernanders väg 10:115
1999-11-30 03:57:29 +00:00
Bruce Momjian
3ab5b1f1e6 This patch (against the current CVS sources) adds to libpq the functions
PQconnectStart
PQconnectPoll
PQresetStart
PQresetPoll
PQsetenvStart
PQsetenvPoll
PQsetenvAbort

and brings into the published interface

PQsetenv.

The first four are asynchronous analogues of PQconnectdb and PQreset -
they allow an application to connect to the DB without blocking on
remote I/O.

The PQsetenv functions perform an environment negotiation with the
server.

Internal to libpq, pqReadReady and pqWriteReady have been made available
across the library (they were previously static functions inside
fe-misc.c).  A lot of internal rearrangement has been necessary to
support these changes.

The API documentation has been updated also.

Caveats:

  o  The Windows code does not default to using non-blocking sockets,
since I have no documentation: Define WIN32_NON_BLOCKING_CONNECTIONS to
do that.

  o  The SSL code still blocks.


Ewan Mellor.
1999-11-30 03:08:19 +00:00
Tom Lane
fb55fa0478 Remove obsolete note about pg_vlock lock file. 1999-11-28 02:17:43 +00:00
Bruce Momjian
78bc83fedf * Includes tab completion. It's not magic, but it's very cool. At any
rate
  it's better than what used to be there.

* Does proper SQL "host variable" substitution as pointed out by Andreas
  Zeugwetter (thanks): select * from :foo; Also some changes in how ':'
  and ';' are treated (escape with \ to send to backend). This does
_not_
  affect the '::' cast operator, but perhaps others that contain : or ;
  (but there are none right now).

* To show description with a <something> listing, append '?' to command
  name, e.g., \df?. This seemed to be the convenient and logical
solution.
  Or append a '+' to see more useless information, e.g., \df+.

* Fixed fflush()'ing bug pointed out by Jan during the regression test
  discussion.

* Added LastOid variable. This ought to take care of TODO item "Add a
  function to return the last inserted oid, for use in psql scripts"
  (under CLIENTS)
  E.g.,
insert into foo values(...);
insert into bar values(..., :LastOid);
\echo $LastOid

* \d command shows constraints, rules, and triggers defined on the table
  (in addition to indices)

* Various fixes, optimizations, corrections

* Documentation update as well


Note: This now requires snprintf(), which, if necessary, is taken from
src/backend/port. This is certainly a little weird, but it should
suffice
until a source tree cleanup is done.

Enjoy.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-11-26 04:24:17 +00:00
Bruce Momjian
f0e18e967c Cleanup paths in install files. 1999-11-23 18:24:55 +00:00
Bruce Momjian
a895cb7837 Change v6.5.2 to 6.5.2. 1999-11-23 18:08:07 +00:00
Bruce Momjian
fc955b14ea Add system indexes to match all caches.
Make all system indexes unique.
Make all cache loads use system indexes.
Rename *rel to *relid in inheritance tables.
Rename cache names to be clearer.
1999-11-22 17:56:41 +00:00
Bruce Momjian
6b99fcf3e2 Update for documentation in libpq changes. 1999-11-11 21:52:28 +00:00
Bruce Momjian
5e3189eaff Update psql banner 1999-11-05 18:21:09 +00:00
Bruce Momjian
f793ac0a16 Update psql display. 1999-11-05 15:44:57 +00:00
Bruce Momjian
5e956342de Update man pages for new banner. 1999-11-05 00:57:39 +00:00
Bruce Momjian
2323b63631 Update psql with man pages and new version of help. 1999-11-04 22:07:57 +00:00
Bruce Momjian
33a5c0ead1 Update for 6.5.3. 1999-11-01 16:20:46 +00:00
Bruce Momjian
60f3e6b3a5 Make USING in COPY optional. 1999-10-29 23:52:22 +00:00
Bruce Momjian
aeef71718a Add mention of NULL for COMMENT. 1999-10-26 16:36:28 +00:00
Bruce Momjian
9e44249b6e update 1999-10-26 05:16:00 +00:00
Bruce Momjian
021146f375 improve manual page 1999-10-26 04:40:58 +00:00
Bruce Momjian
912b3a6fe9 More comments. 1999-10-26 03:53:35 +00:00
Bruce Momjian
b6d6cffa99 Add documentation for comment. 1999-10-26 03:48:58 +00:00
Bruce Momjian
55fa71a9e9 Add S-tree doc for possible future use. 1999-10-15 01:47:55 +00:00
Bruce Momjian
2d12ee3f71 Update psql \? for \w. 1999-10-14 01:28:42 +00:00
Bruce Momjian
e3dd4942c7 Update for NUMERIC/DECIMAL data type. 1999-10-13 02:44:23 +00:00
Bruce Momjian
4fa0fd22a3 Update sgml. 1999-10-12 15:48:47 +00:00
Bruce Momjian
867d047372 Update for 6.5.3, including new INSTALL file and updated HISTORY. 1999-10-12 15:34:19 +00:00
Thomas G. Lockhart
5a2085392c Fix bad markup.
<term> not allowed in paragraphs; <option> is a better choice.
1999-10-12 13:59:45 +00:00
Thomas G. Lockhart
fac9e11878 Add DEC and SESSION_USER as reserved words.
Move around a few other keywords which were not in the right category.
DEC and SESSION_USER are not yet committed to gram.y,
 since I'm in the middle of working on JOIN syntax too.
1999-10-12 13:58:53 +00:00
Thomas G. Lockhart
757f832d18 Sequence of date interpretation not quite right. 1999-10-12 13:57:04 +00:00
Thomas G. Lockhart
0cfd97ecf2 Remove rogue </book> tag left in from normalizing this chapter in emacs. 1999-10-09 02:30:02 +00:00
Thomas G. Lockhart
70320b5bf7 Repair markup for sgmltools writeup.
Fix indenting and make other minor markup improvements.
1999-10-09 02:29:15 +00:00
Thomas G. Lockhart
fc32c709b4 Minor repairs of markup. 1999-10-09 02:26:52 +00:00
Bruce Momjian
ae61ef34bd Cleanup -is flag to -l for SSL. Another PERL variable name fix. Clean
up debugging options for postmaster and postgres programs.  postmaster
-d is no longer optional.  Documentation updates.
1999-10-08 04:28:57 +00:00
Bruce Momjian
558833cadd Add quotes to password example. 1999-10-07 16:40:36 +00:00
Bruce Momjian
86210e9d39 Update sgmltools install instructions. 1999-10-05 18:55:45 +00:00
Bruce Momjian
dab3775329 Update sgmltools for docs. 1999-10-04 17:05:51 +00:00
Thomas G. Lockhart
ab35b0822b Expunge "UNIX" in favor of "Unix".
A few other changes, but I forget what :(
1999-10-04 15:18:54 +00:00
Thomas G. Lockhart
ee8d39a852 Add mention of transactions and large objects.
Still need the code updated for LO examples.
1999-10-04 15:16:35 +00:00
Bruce Momjian
59844a65dd Fix typo in sgml source. 1999-10-04 04:37:46 +00:00
Tom Lane
e23a2b1ea0 Document formerly-undocumented WITH clause of CREATE FUNCTION. 1999-10-02 21:27:49 +00:00
Thomas G. Lockhart
996c52beff Refer to "name", rather than "table" as the replaceable parameter.
Seems to read better this way...
1999-10-01 15:26:29 +00:00
Thomas G. Lockhart
f74179cd8e Make a mention of the new TRUNCATE command. 1999-10-01 15:24:46 +00:00
Thomas G. Lockhart
66d17c3e26 Make TABLE an optional keyword, a la LOCK TABLE (gram.y fixes not yet
committed, but will be within a week or two).
Actually include the reference page into the docs...
1999-10-01 15:24:09 +00:00
Thomas G. Lockhart
03e5edb7e4 Add keywords from Jan's recent RI features. 1999-10-01 15:21:08 +00:00
Thomas G. Lockhart
b14a465131 Remove xref's to reference pages since they are not available in
the Programmer's Guide.
1999-10-01 15:20:06 +00:00
Thomas G. Lockhart
d810338d29 Add a few items to the reserved keyword lists.
Clarify information on implicitly-typed constants.
1999-09-29 05:22:25 +00:00
Thomas G. Lockhart
be18913532 Remove remnant garbage from former man pages. 1999-09-29 05:21:11 +00:00
Thomas G. Lockhart
fe2f878173 Fix (mis)information about NULLIF() SQL function.
Thanks to Tom Lane for pointing it out.
1999-09-29 05:20:20 +00:00
Thomas G. Lockhart
f7e12db734 Strip out some cvs log info. 1999-09-29 05:18:14 +00:00
Bruce Momjian
165e2b6fb3 Recommend postmaster stop/start for pg_upgrade. 1999-09-28 15:59:10 +00:00
Bruce Momjian
9394d62c73 I have been working with user defined types and user defined c
functions.  One problem that I have encountered with the function
manager is that it does not allow the user to define type conversion
functions that convert between user types. For instance if mytype1,
mytype2, and mytype3 are three Postgresql user types, and if I wish to
define Postgresql conversion functions like

I run into problems, because the Postgresql dynamic loader would look
for a single link symbol, mytype3, for both pieces of object code.  If
I just change the name of one of the Postgresql functions (to make the
symbols distinct), the automatic type conversion that Postgresql uses,
for example, when matching operators to arguments no longer finds the
type conversion function.

The solution that I propose, and have implemented in the attatched
patch extends the CREATE FUNCTION syntax as follows. In the first case
above I use the link symbol mytype2_to_mytype3 for the link object
that implements the first conversion function, and define the
Postgresql operator with the following syntax

The patch includes changes to the parser to include the altered
syntax, changes to the ProcedureStmt node in nodes/parsenodes.h,
changes to commands/define.c to handle the extra information in the AS
clause, and changes to utils/fmgr/dfmgr.c that alter the way that the
dynamic loader figures out what link symbol to use.  I store the
string for the link symbol in the prosrc text attribute of the pg_proc
table which is currently unused in rows that reference dynamically
loaded
functions.


Bernie Frankpitt
1999-09-28 04:34:56 +00:00
Bruce Momjian
63a85082e3 Reverse out last scan.l patch for minus handling.\ 1999-09-28 03:41:40 +00:00
Bruce Momjian
e7cad7b0cb Add TRUNCATE command, with psql help and sgml additions. 1999-09-23 17:03:39 +00:00
Michael Meskes
4d4378b70f *** empty log message *** 1999-09-15 14:14:10 +00:00
Tom Lane
a7fd74edb3 Update protocol doc to emphasize that backend can return
arbitrarily long strings, and frontends should cope gracefully.  Goes
along with long query and long error message changes...
1999-09-11 22:02:51 +00:00
Thomas G. Lockhart
1e4f0197bb Add information on ssh tunnelling from Gene Selkov. 1999-09-10 14:20:24 +00:00
Thomas G. Lockhart
db5d724986 Fix wording on allowed/forbidden keyword usage.
Thanks to Michael Deck <deckm@cleansoft.com> for the tipoff.
Add more examples for language components.
1999-09-01 02:37:40 +00:00
Tom Lane
78114cd4d4 Further planner/optimizer cleanups. Move all set_tlist_references
and fix_opids processing to a single recursive pass over the plan tree
executed at the very tail end of planning, rather than haphazardly here
and there at different places.  Now that tlist Vars do not get modified
until the very end, it's possible to get rid of the klugy var_equal and
match_varid partial-matching routines, and just use plain equal()
throughout the optimizer.  This is a step towards allowing merge and
hash joins to be done on expressions instead of only Vars ...
1999-08-22 20:15:04 +00:00
Bruce Momjian
898b21267d Add missing docs semicolon. 1999-08-17 17:31:11 +00:00
Bruce Momjian
aa2cc6ebbe Change >& to > and 2>&1. 1999-08-16 19:59:25 +00:00
Thomas G. Lockhart
13d1a3c06d Remove emacs properties block from end of file. 1999-08-08 15:05:22 +00:00
Thomas G. Lockhart
c9ff1a5a75 Update references to char2 type by using char(2).
Thanks to Garr Updegraff <garru@uci.edu> for the tip.
1999-08-08 04:21:33 +00:00
Thomas G. Lockhart
f11bdb9db5 Allow nsgmls to validate input by defining the document type.
Use refentry.sgml as a generic header for man pages through nsgmls.
1999-08-08 04:18:29 +00:00
Thomas G. Lockhart
c879556780 Fix markup to allow clean man pages.
Add new pages for programming languages and tcl shells.
1999-08-06 13:50:31 +00:00
Thomas G. Lockhart
6b07527721 Fix cross-reference markup so that only the *title* of the Operators
chapter is included, not the chapter itself.
Thanks to Evelyn Mitchell <efm@tummy.com> for pointing it out.
1999-08-06 13:48:38 +00:00
Thomas G. Lockhart
777a4f71f0 Remove explicit references to ref/ path in file names; use vpath instead.
Fix rules for man pages to ensure double-pass to get cross references.
Add a few new man pages.
1999-08-06 13:46:17 +00:00
Thomas G. Lockhart
4f1766f1ea Try to clarify characteristics of the SERIAL type.
Fix source indenting, which does not affect output.
Note: still need docs on NUMERIC and DECIMAL
 (and let's not talk about regression tests :()
1999-08-06 13:43:42 +00:00
Tom Lane
d7f2c5580d Add some more verbiage to man page's directions for pg_upgrade. 1999-07-31 22:05:48 +00:00
Bruce Momjian
d41754cea2 Fix description of psql flags -t and -q. 1999-07-30 00:59:50 +00:00
Thomas G. Lockhart
f2f43efbe1 Complete merge of all old man page information.
lisp.sgml is a placeholder for Eric Marsden's upcoming contribution.
catalogs.sgml is not yet marked up or integrated.
 It should perhaps become an appendix.
1999-07-22 15:11:05 +00:00
Thomas G. Lockhart
a27512e634 Complete merge of all old man page information.
ecpg reference page still needs formatting.
1999-07-22 15:09:15 +00:00
Thomas G. Lockhart
4d5aa343de Fix conflicting id tags (sql.sgml also used "select-title"). 1999-07-16 14:32:06 +00:00
Thomas G. Lockhart
3c4447fd97 Complete markup for docbook2man support.
Fix synopsis info thanks to Yves.Martin@ensimag.imag.fr.
1999-07-15 16:31:16 +00:00
Thomas G. Lockhart
f2738394d6 Add id label to allow cross referencing. 1999-07-15 15:49:18 +00:00
Bruce Momjian
4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
Thomas G. Lockhart
d72168d6e0 Complete first pass at markup adjustments for docbook2man man pages.
Add some internal cross references to select.sgml.
1999-07-14 20:32:59 +00:00
Bruce Momjian
941d426ca0 Update install file. 1999-07-12 17:33:36 +00:00
Bruce Momjian
d0fb48818a Update 6.5.1 items. 1999-07-12 02:27:31 +00:00
Bruce Momjian
2859bde109 Update release notes. 1999-07-11 18:02:59 +00:00
Bruce Momjian
f8d856af2c Add Tom's group by fixes. 1999-07-11 03:57:58 +00:00
Bruce Momjian
aece668947 Add new item from Tom Lane sorting. 1999-07-10 18:38:16 +00:00
Bruce Momjian
bc5f34c89e Update release notes. 1999-07-10 17:26:09 +00:00
Bruce Momjian
04bfc5bbdf Update release for 6.5.1. 1999-07-10 17:16:05 +00:00
Bruce Momjian
5a3fa95c39 Update stuff for 6.5.1 release. 1999-07-10 16:28:02 +00:00
Thomas G. Lockhart
07c0de7d9d Update makefile to generate man pages.
Include first cut at instructions for man pages in docguide.sgml.
Fix markup.
1999-07-06 17:19:42 +00:00
Thomas G. Lockhart
7b09d4bacb Add missing paragraph end tag. 1999-07-06 17:18:31 +00:00
Thomas G. Lockhart
1e723ff015 Fix some markup, but probably not finished yet... 1999-07-06 17:17:31 +00:00
Thomas G. Lockhart
a4ac2f458e Fix markup for docbook2man man page generation.
No big deal; fixed lots of other markup at the same time.
Bigest change: make sure there is no whitespace
 in front of <term> contents.
This will probably help the other output types too.
1999-07-06 17:16:42 +00:00
Thomas G. Lockhart
69c617e9a1 Remove User's Guide entities since they were not being used. 1999-06-23 06:21:19 +00:00
Thomas G. Lockhart
3143220b15 Add information on generating INSTALL and HISTORY from sgml sources. 1999-06-23 06:19:36 +00:00
Thomas G. Lockhart
f8a9892daf Clarify input/output timezone information.
Add detail on exact interpretation of "concatenated date"
 for various lengths.
1999-06-23 06:17:51 +00:00
Thomas G. Lockhart
b32ffb7345 Add backup/restore info to Admin Guide.
Split management chapter from start-ag.sgml to manage-ag.sgml.
1999-06-23 06:15:37 +00:00
Thomas G. Lockhart
66ef1b6ebd Minor changes to Fred Horsh's updates. 1999-06-23 06:12:31 +00:00
Thomas G. Lockhart
cb88fd192b Update maximum identifier length from 15 to 31 characters. 1999-06-23 06:09:57 +00:00
Bruce Momjian
79bba23528 The references to mailing lists in the resources page seem outdated.
Patch attached.

Fred Horch
1999-06-21 15:23:58 +00:00
Bruce Momjian
8baa8fcf46 Some suggestions to clarify the current status of PostgreSQL. Patch
attached.

Fred Horch
1999-06-21 15:12:19 +00:00
Bruce Momjian
4c65382596 Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGN
for Irix.
1999-06-17 15:16:09 +00:00
Thomas G. Lockhart
1b93294ff5 Fix cross-reference to large objects. 1999-06-14 16:33:46 +00:00
Thomas G. Lockhart
1ac838edba Minor updates for release.
Split reference pages for CREATE TABLE AS and SELECT INTO to allow psgml
 (the emacs parser) to handle parsing.
1999-06-14 07:37:05 +00:00
Thomas G. Lockhart
5e84d58e70 Minor updates for release. 1999-06-14 07:36:12 +00:00
Vadim B. Mikheev
962c66d83f More about chained mode and isolation levels. 1999-06-11 05:19:53 +00:00
Thomas G. Lockhart
878d952084 Add mention of hot backups to the release notes.
Add id tags to chapter and section headings to ensure good labels
 on output html files.
1999-06-09 13:44:59 +00:00
Thomas G. Lockhart
3f86238f13 Make minor changes in wording.
Adjust tags to get a clean build.
1999-06-09 13:43:42 +00:00
Vadim B. Mikheev
c0b4b42c92 MVCC updation. 1999-06-08 20:01:01 +00:00
Bruce Momjian
0bb2c0673c Fix for duplicate LC_COLLATE 1999-06-08 16:42:55 +00:00
Bruce Momjian
ca485d053b Add mention of new pg_dump feature. 1999-06-08 16:42:10 +00:00
Bruce Momjian
06385ccbd5 Update TODO. 1999-06-07 02:42:07 +00:00
Bruce Momjian
bf1dd3ec40 Update FAQ's for release. 1999-06-05 03:43:07 +00:00
Bruce Momjian
bafe9e500d Update with more TODO items. 1999-06-05 02:47:13 +00:00
Thomas G. Lockhart
7b5f84d12d Add blurb on new docs in release notes.
Make minor info and markup changes for v6.5 release.
1999-06-04 15:51:42 +00:00
Thomas G. Lockhart
ebfbb79f25 Add input parameters for LOCK TABLE. Still needs explanation from Vadim.
Fix markup.
1999-06-04 15:50:44 +00:00
Bruce Momjian
f0f416a2d3 Add mention of SHARE ROW EXCLUSIVE mode. 1999-06-04 04:28:54 +00:00
Bruce Momjian
8760d33abb man page cleanup for vadim. 1999-06-04 04:16:11 +00:00
Bruce Momjian
5a7547d3fc Add description for SET TRANSACTION. 1999-06-04 03:44:42 +00:00
Bruce Momjian
0bddf3da81 cleanup 1999-06-03 20:45:08 +00:00
Bruce Momjian
a6ed4794a3 SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
                                ^^^^ required

Also note that SET TRANSACTION ISOLATION LEVEL change
isolevel for _current_ transaction, in accordance with
standard, not for session (ALTER SESSION is used in Oracle,
but it's not implemented currently).

And I would don't mention SET XACTISOLEVEL TO ...
form at all.

Please update set.sgml - I failed to understand all these

SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">

now.


for Vadim
1999-06-03 20:44:28 +00:00
Bruce Momjian
155b5808ca Thanks for this, but SET TRANSACTION ISOLATION LEVEL
should be described like SET TIME ZONE: TO is not allowed, as well
as DEFAULT option. There are only two forms:

for Vadim.
1999-06-03 20:42:18 +00:00
Bruce Momjian
a40bac0d1d Update of release notes with new items. 1999-06-03 20:40:50 +00:00
Bruce Momjian
a4a5f56202 Add mention of FOR UPDATE and LIMIT/OFFSET> 1999-06-03 19:52:09 +00:00
Bruce Momjian
e1ea7cc2e5 Update lock sgml/man/psql help pages. 1999-06-03 19:18:00 +00:00
Bruce Momjian
4a077caa60 Add SET TRANSACTION ISOLATION LEVEL and SET NAMES mention. 1999-06-03 18:38:00 +00:00
Bruce Momjian
fa0ed6f047 Update SET commands for psql \h, man pages, and sgml. 1999-06-03 18:18:43 +00:00
Thomas G. Lockhart
ee5764beff Minor markup fixes. 1999-06-03 16:13:54 +00:00
Thomas G. Lockhart
cb7dad1731 Make separate subsection for Vadim's MVCC notes.
Add timing info for v6.5 on my linux box.
1999-06-03 16:13:35 +00:00
Thomas G. Lockhart
29af124390 Fix markup and formatting. 1999-06-03 16:11:58 +00:00
Vadim B. Mikheev
fb4f5f7cac Notes in Migration to v6.5 section. 1999-06-03 07:11:50 +00:00
Thomas G. Lockhart
f3d2b2e0c7 Markup changes for v6.5 release.
Clean out duplicate stuff in odbc.sgml resulting from a faulty patch.
1999-06-03 04:21:51 +00:00
Thomas G. Lockhart
8593e1ff09 Make sure that only one intro is included in the integrated doc.
Multiple intros cause trouble since they have some section elements
 (e.g. "y2k.sgml") in common leading to duplicate labels.
Include emacs formatting hints in the intro*.sgml sources.
1999-06-01 17:26:18 +00:00
Bruce Momjian
33c6d6099d Clean up mention of gmake vs. make. 1999-05-28 14:24:24 +00:00
Bruce Momjian
615e77ede2 Make pg_dump dump ACL's by default, print warning on use of -z, and add
new -x option to skip acl dump.
1999-05-27 16:29:05 +00:00
Thomas G. Lockhart
5b1b477cca Markup fixes. 1999-05-27 15:49:15 +00:00
Thomas G. Lockhart
b805230906 Markup fixes.
Update for v6.5 release.
1999-05-27 15:49:08 +00:00
Thomas G. Lockhart
7d831b5379 Significant updates from Vince Vielhaber. 1999-05-27 15:48:14 +00:00
Thomas G. Lockhart
b04b01638b Remove disclaimer about exact numeric types. They work now! 1999-05-27 15:47:28 +00:00
Thomas G. Lockhart
8a3c7535c5 Refresh FreeBSD info. 1999-05-27 15:46:22 +00:00
Thomas G. Lockhart
d6efbf1956 Significant update from Vince Vielhaber. 1999-05-27 15:44:54 +00:00
Bruce Momjian
874957a32a Update release notes for 6.5. 1999-05-27 15:13:43 +00:00
Bruce Momjian
5fec534f4b Clean up release sgml file. 1999-05-27 15:05:57 +00:00
Thomas G. Lockhart
9474dd7ed6 Add chapters on CVS access, MVCC, SQL theory to the docs.
Add an appendix with more details on date/time attributes and handling.
Update most references to Postgres version numbers to 6.5,
 *except* for the porting list which will require a report
 from a successful installation to be updated.
1999-05-26 17:30:30 +00:00
Thomas G. Lockhart
0807dbb294 Chapter on multi-version concurrency control from Vadim.
Some wording changes from Vadim's original text doc.
Processes cleanly, but may need fixup.
1999-05-26 17:27:39 +00:00
Thomas G. Lockhart
bb0fc46a90 Add new reference pages for postmaster and postgres.
Normalize markup for vacuumdb; content is the same.
1999-05-26 17:26:32 +00:00
Thomas G. Lockhart
ff8bf5a0ef First copy from the man pages.
postgres-ref.sgml is not yet marked up.
1999-05-26 17:25:38 +00:00
Thomas G. Lockhart
654f8f0b51 Finish initial markup of cvs.sgml, and include it in the programmer's guide
and the integrated doc. Clean up other markup.
1999-05-22 02:27:25 +00:00
Tom Lane
a1d9186067 Add material about postmaster startup failure messages;
update material about client connection failure messages.
1999-05-21 02:42:59 +00:00
Tom Lane
9a6184dee8 Added a long section about proper use of the optimizer-hint
clauses in CREATE OPERATOR.  Needs markup work.
1999-05-21 00:38:33 +00:00
Tom Lane
5690b1a18f Minor updates to libpq documentation. 1999-05-21 00:36:46 +00:00
Thomas G. Lockhart
165b830ea5 Add reference pages on user interface applications. 1999-05-20 05:40:27 +00:00
Thomas G. Lockhart
32cfa65e49 Rearrange and consolidate the Admin Guide.
Add reference pages for utilities and remove standalone chapters for same.
Add material for an appendix on date/time properties, but not yet
 integrated with the User's Guide.
Break up the former chapter on pg_options
 into Admin and Programmer's Guides.
1999-05-20 05:39:29 +00:00
Tom Lane
c3a4d8ed54 Very minor improvements in CREATE OPERATOR docs. 1999-05-20 03:22:01 +00:00
Tom Lane
c9f8ab6fba Update CREATE FUNCTION docs: mention use of AS clause with
INTERNAL functions, add a warning about trying to overload function names
for dynamically loaded C functions (from old man page).
1999-05-20 02:57:15 +00:00
Tom Lane
e68abfbeff Update SGML docs with some changes I made to test/regress/README
many moons ago, but forgot to put here.
1999-05-20 02:46:40 +00:00
Tom Lane
507a0a2ab0 Rip out QueryTreeList structure, root and branch. Querytree
lists are now plain old garden-variety Lists, allocated with palloc,
rather than specialized expansible-array data allocated with malloc.
This substantially simplifies their handling and eliminates several
sources of memory leakage.
Several basic types of erroneous queries (syntax error, attempt to
insert a duplicate key into a unique index) now demonstrably leak
zero bytes per query.
1999-05-13 07:29:22 +00:00
Thomas G. Lockhart
6a982fc6a7 Minor wording change. 1999-05-12 07:34:02 +00:00
Thomas G. Lockhart
95e3cec621 Include mention of CASE, COALESCE, and IFNULL.
Add date/time parsing procedure (perhaps should be in appendix).
Add time zone information (ditto).
Update keyword list.
1999-05-12 07:32:47 +00:00
Bruce Momjian
0b4fab42c3 Update man page for select 1999-05-10 18:22:48 +00:00
Bruce Momjian
86dacdb74c libpq++ uses fe_setauthsvc which is deprecated and results in an error
on connection. This patch changes it to use PQconnectdb rather than
{fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as
there
is no provision for user,password in class PgEnv, but it does get rid of
the error message. Tested with gcc version egcs-2.91.60 19981201
(egcs-1.1.1 release) under NetBSD-1.3K/i386.

Cheers,

Patrick Welche
1999-05-10 15:27:19 +00:00
Thomas G. Lockhart
6b5497757f Fix up examples of sh/ksh PATH environment variable definition. 1999-05-04 02:57:13 +00:00
Thomas G. Lockhart
2289009722 Clean up markup for first useful version. 1999-05-04 02:43:55 +00:00
Thomas G. Lockhart
807ad858e2 Include new introductory chapter on SQL from Stefan S.
Should this be in the tutorial instead?
1999-05-04 02:26:06 +00:00
Thomas G. Lockhart
f8aa366ddd Indent markup using emacs. 1999-05-04 02:24:26 +00:00
Thomas G. Lockhart
1def28ff20 Include specific info on available timezones.
Document date/time input parsing procedure.
1999-05-04 02:22:13 +00:00
Thomas G. Lockhart
2289b403aa Include chapters on security and an intro to SQL. 1999-05-04 02:19:20 +00:00
Thomas G. Lockhart
e1900b2b0c First version of markup which can run through jade for html.
Probably not acceptable yet. Need to check some math symbols and markup.
1999-05-04 02:18:34 +00:00
Thomas G. Lockhart
d8a3a8c0dd Include chapter on security. 1999-05-04 02:16:57 +00:00
Bruce Momjian
52f1b2f3b6 Prevent priority inversion in locking by checking for existing locks
before going into queue behind person with higher piority.
1999-04-30 02:04:51 +00:00
Bruce Momjian
fc08814e00 Rename explain's "size" to "rows". 1999-04-23 21:23:49 +00:00
Bruce Momjian
00a4196139 Add res checking to libpq examples, from Dan Merillat. 1999-04-17 17:18:41 +00:00
Peter Mount
35d70e9ccf Replaced <literal></literal> with "" in ProgramListing sections 1999-04-15 06:00:16 +00:00
Tom Lane
630ed05063 Correct documentation of CREATE OPERATOR. 1999-04-15 00:09:00 +00:00
Tatsuo Ishii
adf5422d79 Add -E option 1999-04-13 09:46:58 +00:00
Thomas G. Lockhart
7eb16b7812 Add section from Tom Lane on hashjoin characteristics of operators.
Add emacs editor hints to bottom of file.
1999-04-08 13:29:08 +00:00
Thomas G. Lockhart
fb5460bfb3 Add emacs editor hints to bottom of file. 1999-04-08 13:28:22 +00:00
Thomas G. Lockhart
7fcbc5ddf0 Fix markup to include all closing tags.
Required by newest versions of DocBook and style sheets.
1999-04-06 15:41:20 +00:00
Thomas G. Lockhart
905a457a98 Start indenting markup. No text changes. 1999-04-06 15:38:10 +00:00
Thomas G. Lockhart
988d5ef536 Fix XREF markup and typo. 1999-04-06 15:36:56 +00:00
Thomas G. Lockhart
7ecf60427d Fix up small markup problems. Force omit-tags to nil so we have tag
completion as required by the newest DocBook conventions.
1999-03-30 15:25:56 +00:00
Thomas G. Lockhart
107eb78fd4 Repair cut-and-paste typo which described createdb rather than destroydb. 1999-03-30 15:24:49 +00:00
Thomas G. Lockhart
971febeccb Include libpq+.sgml in the doc set.
Had been omitted from the integrated doc for no good reason.
1999-03-30 15:23:03 +00:00
Thomas G. Lockhart
c701639b1f Updates from Vince Vielhaber are the first since 1997. 1999-03-30 15:21:42 +00:00
Thomas G. Lockhart
045013cba3 Markup fixes from Vince Vielhaber. 1999-03-30 15:20:43 +00:00
Michael Meskes
9abf246b91 *** empty log message *** 1999-03-24 14:54:10 +00:00
Bruce Momjian
9ede867281 Fix &g. 1999-03-20 00:15:40 +00:00
Bruce Momjian
0d01fd4e19 Add EXCEPT/INTERSECT doc changes. 1999-03-19 02:41:41 +00:00
Bruce Momjian
62a7754e1a grammar cleanup 1999-03-17 21:58:25 +00:00
Bruce Momjian
cff9ba6570 INET/CIDR doc cleanup 1999-03-17 21:38:13 +00:00
Bruce Momjian
ddc8899e6b Add docs about left-associativity of operators. 1999-03-17 21:27:02 +00:00
Bruce Momjian
259ca6df22 Add documentation change for %'s precidence. 1999-03-17 21:24:17 +00:00
Bruce Momjian
ebfa6ab7b0 Update sgml for 6.4.* release changes. 1999-03-16 21:03:00 +00:00
Bruce Momjian
cd72d24e02 bool uses one byte 1999-03-15 15:00:08 +00:00
Bruce Momjian
f45ec44c6b Patches for the SGML documentation relating
to the tutorial code changes.

NOTE:  I couldn't get ngsmls to find the document
type so that the changes could be checked.  However,
the changes were very minor:

Best,

Clark
1999-03-14 15:24:15 +00:00
Bruce Momjian
a564d2bf0f geqo now at 11 tables 1999-03-07 12:00:40 +00:00
Tom Lane
13abdde2b9 Document configure's --with-maxbackends switch.
Fix a few small typos.
1999-02-21 03:16:29 +00:00
Thomas G. Lockhart
61f40ac3f2 Fix parens typo reported by wmt@thi.com (Bill Tonkin). 1999-02-19 01:58:52 +00:00
Thomas G. Lockhart
1902e8d098 Fix SGML markup from last content changes. 1999-02-19 01:57:08 +00:00
Bruce Momjian
b4e7510e09 Enable bushy and right-hand queries by default. 1999-02-18 06:01:11 +00:00
Bruce Momjian
65ccd1039a Enable bushy plans by default. 1999-02-18 05:26:34 +00:00
Bruce Momjian
61aa825876 Optimizer rename. 1999-02-14 04:57:02 +00:00
Thomas G. Lockhart
0925e5f5f9 Re-enable arch-dev.sgml now that it has new information from Stefan's
Master's Thesis.
1999-02-13 03:54:51 +00:00
Thomas G. Lockhart
e4000add1b Require complete tagging in emacs hints at bottom of file. 1999-02-13 03:54:00 +00:00
Thomas G. Lockhart
478e5beef1 Include chapter on SQL language elements (keywords, etc).
Should merge with or complement Stefan's Master's Thesis intro to SQL.
1999-02-13 03:52:46 +00:00
Thomas G. Lockhart
af2a0dfd65 Describe the date/time parsing rules.
Include specific information on the supported time zones.
 It's a really big table, so maybe it should go into an appendix instead.
1999-02-13 03:42:10 +00:00
Thomas G. Lockhart
0c30f18fbe Add Stefan Simkovics' Master's Thesis. 1999-02-13 03:38:46 +00:00
Thomas G. Lockhart
ba8808b2a6 Substitute great info from Stefan Simkovics' Master's Thesis.
Still need to add some acknowledgements at the top of the doc;
 already have full info in the bibliography but since the original is
 being spread across the existing docs we should also mention things
 locally.
1999-02-13 03:37:54 +00:00
Thomas G. Lockhart
dcded41895 Minor markup changes for the recent TEMP TABLE info.
Docs should build now...
1999-02-13 03:33:50 +00:00
Thomas G. Lockhart
b106421473 More complete info from Oliver Elphick. 1999-02-13 03:32:43 +00:00
Bruce Momjian
f1b7823471 Make GEQO use dependent on table and index count. 1999-02-02 20:30:18 +00:00
Bruce Momjian
8e958b8a38 Fix create_rule is->as. 1999-02-02 17:46:17 +00:00
Bruce Momjian
4390b0bfbe Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
Bruce Momjian
289a826dab Here is a new version of my patch for allowing pg_dump to DROP schema
elements prior to CREATEing new ones.  It is under control of the -c
command line option (with the default being status quo).

The DROP TRIGGER portion still needs implementation.  Anyone able to
help clarify what exactly the CREATE TRIGGER portion does so I can fix
this?

Again, I have tried this with tables/indexes/sequences, but do not
have other schema elements in my database.  As a result, I am not 100%
convinced that I got the syntax correct in all cases (but think I did,
nonetheless).  If anyone can check the other cases, I'd appreciate it.

Cheers,
Brook

[I added manual page and sgml additions for the new -c option.]
1999-01-21 22:53:37 +00:00
Thomas G. Lockhart
6240aa0f6c Remove redundant note on NT port. 1999-01-19 16:12:26 +00:00
Thomas G. Lockhart
f3fde99841 Augment info on string functions per Jose Soares' suggestions. 1999-01-19 16:11:18 +00:00
Thomas G. Lockhart
bda6246664 Introduction to SQL from Stefan. Not yet marked up, but will go into
the User's Guide sometime soon.
1999-01-19 16:09:16 +00:00
Thomas G. Lockhart
c00d800e2d Add tables of allowed values and formats for date/time input types.
Include info for time zones, days of week, months.
Procedural description of date input parsing is not yet complete.
1999-01-19 16:08:26 +00:00
Thomas G. Lockhart
049efbd3a1 Merge current.sgml into release.sgml so all release notes are in the same
file. Per Bruce's preference. Go to it Bruce!
No info yet for v6.4.2 or upcoming releases.
1999-01-19 16:06:26 +00:00
Thomas G. Lockhart
42dd24dab2 Refresh info for various platforms. Claim client-side support for WIN32. 1999-01-07 03:17:46 +00:00
Thomas G. Lockhart
25f7ecbc5f Fix typo. 1999-01-07 03:05:28 +00:00
Thomas G. Lockhart
57bd2775da Add entries for introduction chapter components such as Y2K statement.
Use a <citetitle> rather than <xref> when referring to libpq
 since that chapter is not included in the tutorial.
1999-01-07 03:05:01 +00:00
Thomas G. Lockhart
6ce5a7123f Remove mention of a couple of introductory chapters
which are not used here.
1999-01-07 03:02:27 +00:00
Thomas G. Lockhart
15fadc06ac Fix column formatting for a table. No content changes. 1999-01-07 03:01:27 +00:00
Thomas G. Lockhart
15d4617d0b Put in more markup. Not done yet though. 1999-01-07 03:00:43 +00:00
Thomas G. Lockhart
350f422bdb Include installation instructions for WIN32 client-side libraries.
From Magnus Hagander <mha@sollentuna.net>.
1999-01-07 02:59:45 +00:00
Thomas G. Lockhart
a75f2d21a8 Clean up to ensure tag completion as required by the newest versions
of Norm's Modular Style Sheets and jade/docbook.
From Vince Vielhaber <vev@michvhf.com>.
1998-12-29 02:24:47 +00:00
Thomas G. Lockhart
c0d816c57a Fix typos in rules.sgml.
Add Emacs configuration block to postgres.sgml.
1998-12-18 16:23:34 +00:00
Thomas G. Lockhart
5ac3cd0f0c Include example of Postgres' extended query syntax which allow one to omit
the FROM clause. e.g. "SELECT table.*".
1998-12-18 16:22:31 +00:00
Thomas G. Lockhart
4060456291 Update information on alternate database locations.
These fixes are from Jeff Hoffmann <jeff@remapcorp.com>.
1998-12-18 16:20:28 +00:00
Thomas G. Lockhart
dee302e611 Include more details on editing with Emacs.
Remove mention of the old "migration" flat files.
Change URLs for resources to point to areas, not particular files.
 That way things stay correct even when version of tools change.
 Suggested by Vince Vielhaber.
1998-12-18 16:17:29 +00:00
Thomas G. Lockhart
bb6286a92d Include keywords from CASE implementation.
Rearrange a few other keywords to put them in the proper category.
1998-12-18 16:13:45 +00:00
Thomas G. Lockhart
df3023344e Add Cobalt MIPS linux box from Tatsuo. 1998-12-18 16:12:13 +00:00
Thomas G. Lockhart
4bbcad1ee0 Update some info, especially the CIDR/INET data types. 1998-12-18 16:11:12 +00:00
Thomas G. Lockhart
a6757f2ce3 Include Emacs DocBook DTD description file. May allow Emacs to understand
tags even if DocBook is not installed on your local system.
Most of the .sgml source files contain a reference to this file in an
 Emacs setup block at the bottom of the file...
1998-12-18 16:10:00 +00:00
Thomas G. Lockhart
5135ba323b Information on the CVS tree and remote access.
Not yet complete, integrated, or marked up.
Not yet included in a document (should go in the developer's doc?).
1998-12-18 16:08:19 +00:00
Bruce Momjian
c29d0f31b4 Remove need for doc 'install man' in INSTALL file. install does both
html and man.
1998-12-17 16:37:04 +00:00
Thomas G. Lockhart
d85df9cae2 Add new "-N" flag to force double quotes around identifiers.
Fix missing mention of "-n" flag in synopsis.
1998-11-14 02:04:16 +00:00
Thomas G. Lockhart
9bc35facdc Add id attribute to reftitle to allow cross referencing from the new
vaccumdb reference page.
1998-11-14 02:02:53 +00:00
Thomas G. Lockhart
e44087d827 Add reference page for new vacuumdb utility. 1998-11-14 02:01:40 +00:00
Thomas G. Lockhart
ccca422abb Fix email addres for Dan Horak per his request. 1998-11-02 15:54:27 +00:00
Thomas G. Lockhart
40064c2b24 Move configuration info to after installation procedure.
Include only the current release  in the release notes section.
1998-11-02 15:53:02 +00:00
Thomas G. Lockhart
19532d1809 Include instructions on perl installation.
Already in product docs since they were built on my machine.
1998-11-02 15:52:14 +00:00
Thomas G. Lockhart
09634ebdfe Cleanup for v6.4 release.
Make new file current.sgml to hold release info for the current release.
 Should be moved to release.sgml before filling with next release info.
1998-10-31 09:36:38 +00:00
Thomas G. Lockhart
f1f9ec3344 Minor editing and markup changes as a result of preparing the Postscript
documentation for v6.4.
Bigger updates to the installation instructions (install and config).
1998-10-30 19:37:19 +00:00
Thomas G. Lockhart
3d83e28b2b Minor cleanup in markup, especially in the Output section. 1998-10-30 19:34:40 +00:00
Thomas G. Lockhart
d0ffbe2f61 Incorporate changes suggested by Tom Lane.
Update storage space estimates.
Continue cleanup.
Still need to consolidate configure parameters with new config.sgml info.
1998-10-27 06:38:13 +00:00
Thomas G. Lockhart
6ae396c9e8 New info on a few ports for v6.4. 1998-10-27 06:15:48 +00:00
Thomas G. Lockhart
724df98740 Try to get a straight story on which prompts mean what. 1998-10-27 06:15:21 +00:00
Thomas G. Lockhart
e9f10b22f4 Include new cidr and inet data types. 1998-10-27 06:14:41 +00:00
Thomas G. Lockhart
866104b3df Include configuration chapter with new info on configure and make. 1998-10-27 06:14:01 +00:00
Thomas G. Lockhart
ded961296a First cut at standalone installation guide to replace INSTALL text source. 1998-10-27 06:11:08 +00:00
Thomas G. Lockhart
ae7e19c586 Try to go through and get the markup right.
Make more changes to freshen up to v6.4 conventions.
Drop mention of Postgres95 docs.
1998-10-25 16:59:01 +00:00
Bruce Momjian
ba74ce73bb Fix from Tom Lane for pg_shadow in pg_upgrade 1998-10-25 02:47:38 +00:00
Thomas G. Lockhart
cf5055261e Update info for v6.4. Fix markup of some examples which should
have been <programlisting> blocks.
1998-10-25 00:33:01 +00:00
Thomas G. Lockhart
6d603acc68 Add debugging info from Cary O'Brien.
Include comments from Robert Burrows.
1998-10-25 00:31:20 +00:00
Thomas G. Lockhart
20a0713264 Small adjustments in markup getting ready for hardcopy release.
Jan did a nice job of initial markup so it was pretty easy!
1998-10-25 00:29:01 +00:00
Thomas G. Lockhart
0061719728 Add massive new docs from Peter Mount.
Includes markup for the introductory portions suitable for the User's Guide
 but just put the class reference material inside a huge <programlisting>
 block. Figure out what to do later...
1998-10-25 00:27:44 +00:00
Thomas G. Lockhart
56cdabc62b Update info on source files for v6.4.
Should add/change ToDo list some more before release...
1998-10-25 00:25:30 +00:00
Thomas G. Lockhart
450b47e7ef Add Y2K statement for intros.
Make sure notation section is included in most intros.
1998-10-25 00:24:36 +00:00
Tom Lane
82f54c9d2c Update instructions for running configure (the old ones
seem to date from some pre-autoconf interactive configure script).
Revise sequence of instructions to allow you to start the regular
postmaster run before running regression tests; there's no need to
start and kill a special postmaster for regression tests.
Update the description of interpreting regression test results.
1998-10-24 22:05:01 +00:00
Thomas G. Lockhart
0958666ce6 Minor fixes in markup.
Include cross-references in NOTIFY and UNLISTEN.
1998-10-21 05:34:12 +00:00
Thomas G. Lockhart
5e0ea5225f Minor fixes in markup. 1998-10-21 05:33:41 +00:00
Thomas G. Lockhart
8cf41db299 Incorporate information from Cary and Robert.
More how-to stuff on ApplixWare.
1998-10-21 05:33:22 +00:00
Thomas G. Lockhart
66dfa36e36 Include new information from Massimo. Rearrange ODBC docs. 1998-10-21 05:31:52 +00:00
Thomas G. Lockhart
da63386f3e Programming Language info from Jan Wieck.
Not yet marked up or included in a document, but it should be checked in
 to be safe.
1998-10-21 05:30:16 +00:00
Thomas G. Lockhart
634a575f7c New programmer's information from Massimo Dal Zotto. 1998-10-21 05:28:48 +00:00
Tom Lane
5f27ac6b5e Minor documentation improvements and markup fixes. 1998-10-17 22:02:21 +00:00
Bruce Momjian
3c4e2bc9be SGML updates from post 6.3.2 manual changes. Added pg_upgrade man page. 1998-10-15 05:47:04 +00:00
Thomas G. Lockhart
6129de0b76 Remove duplicate entry for R_PLAN (thanks Bruce).
Add entry for undocumented (?) KSQO.
1998-10-14 16:31:28 +00:00
Thomas G. Lockhart
963ed0e72a Minor markup adjustment. 1998-10-14 16:30:17 +00:00
Thomas G. Lockhart
e149af170d Add TIMESTAMP as unreserved word. 1998-10-14 16:28:53 +00:00
Thomas G. Lockhart
ee92ab91ad Add some id tags to allow cross-references from the datatype chapter. 1998-10-14 16:28:31 +00:00
Thomas G. Lockhart
3103a05c64 Add mention of the SERIAL data type.
Change claim of "no limit" on maximum date for datetime type to
 more realistic 1465001 AD. Thanks Tatsuo for pointing this out :)
Clean up markup.
1998-10-14 16:26:31 +00:00
Thomas G. Lockhart
edadec91f7 Chapter on indices intended for the User's Guide.
Currently not included in the UG, and this now only has a discussion of
 partial indices by Paul Aoki culled from the mailing lists.
But, didn't want to loose it...
1998-10-14 16:20:16 +00:00
Bruce Momjian
aa3a1f46df New PGQUERY_LIMIT environment variable, and doc changes. 1998-10-14 05:31:50 +00:00
Bruce Momjian
8cec4cf91b New QUERY_LIMIT set command. 1998-10-14 05:10:12 +00:00
Thomas G. Lockhart
5a61590e48 Add new "-n" flag to pg_dump.
Update UNLISTEN to not require double-quotes around the wildcard argument.
Clean up markup.
1998-10-10 17:13:47 +00:00
Thomas G. Lockhart
d98011d8de Clean up markup.
Add new bibliographic references from Paul Aoki.
Include libpq++ docs from the old man page in the Programmer's Guide.
Update Unix installation info for ODBC.
1998-10-10 17:12:18 +00:00
Bruce Momjian
ef58a2c285 shared library instructions. 1998-10-10 03:08:02 +00:00
Bruce Momjian
572f6f313d New shared library mentions. 1998-10-09 21:41:36 +00:00
Bruce Momjian
0044a1bc1d Recommend ldconfig on any ELF. 1998-10-09 19:53:10 +00:00
Tom Lane
0a1c2805b3 libpgtcl.sgml still needs work, but at least there are
fewer errors than there were.
1998-10-08 03:23:03 +00:00
Tom Lane
f1fef841c3 Grammar, my boy, grammar :-( 1998-10-08 01:28:58 +00:00
Tom Lane
ad567f07be Link unlisten.sgml into what I hope are the right places. 1998-10-08 00:19:49 +00:00
Tom Lane
ac5a8b9ab5 And some UNLISTEN doco too! 1998-10-08 00:19:13 +00:00
Tom Lane
55a5639e93 LISTEN/NOTIFY doc improvements. 1998-10-08 00:18:31 +00:00
Bruce Momjian
252568dc11 Update pg_dump sgml and manuals to remove rule restriction. 1998-10-07 02:49:10 +00:00
Bruce Momjian
3abf496b8e > > There is a bug in check_foreign_key of refint.c which is bundled with
> > the standard distribution. It occurs when a trigger calling this
> > function recursively fires another trigger which calls the same
> > function. The calling check_foreign_key loses its plan informantion and
> > when it tries to use it the backend closes its channel. You can check it
> > with the sql script I am attaching below.
> > The solution to this is to do a find_plan again before executing it at
> > line 483 of refint.c.
> > Therefore two more lines should be added before line 483:

Anand Surelia
1998-10-06 03:12:59 +00:00
Tom Lane
16c6545d56 Many updates... 1998-10-05 04:11:47 +00:00
Thomas G. Lockhart
37d2f76ef7 Add new information for utility commands.
Haven't yet done cleardbdir, ipcclean, pg_passwd, and pg_upgrade.
Add reference info for the SQL VACUUM command (oops, forgot it earlier).
1998-10-05 02:54:45 +00:00
Tom Lane
4fe24467f4 Add note explaining that NoticeResponse messages can
arrive even while idle.
1998-10-04 22:48:42 +00:00
Thomas G. Lockhart
2d73585028 Clean up pages. Add information for operator precedence.
Split introduction sections into separate files to allow the legal notice
 and notation sections appear in all documents without having the history
 show up everplace too.
Add full list of reserved and non-reserved key words in syntax.sgml.
Add a separate chapter to the admin guide on security.
1998-09-30 05:41:54 +00:00
Thomas G. Lockhart
d1a3b7528d Add new SQL reference page and the first utility/app reference page
converted from the man page.
1998-09-30 05:38:56 +00:00
Thomas G. Lockhart
f8b6b5f14f Cleanup markup and minor editing to prepare for first release. 1998-09-25 13:42:46 +00:00
Thomas G. Lockhart
dcff8232c1 Include the graphics directory in build lookup path. 1998-09-25 13:41:25 +00:00
Thomas G. Lockhart
52ca2ab268 Editing and markup cleanup. 1998-09-22 15:48:03 +00:00
Marc G. Fournier
06b8c8a8b8 From: Michael Meskes <meskes@usa.net>
docs improvement for ecpg..
1998-09-21 05:55:23 +00:00
Thomas G. Lockhart
2f0bf627e2 Update entries for MkLinux and Linux/ix86 for Postgres v6.4. 1998-09-16 14:48:41 +00:00
Thomas G. Lockhart
29c3c3a291 Add Unix-specific installation and configuration info for psqlodbc. 1998-09-16 14:44:00 +00:00
Thomas G. Lockhart
d2a907c6ad Markup and editing adjustments... 1998-09-16 14:43:12 +00:00
Thomas G. Lockhart
6866cbc7c7 Very minor formatting fixup in the refentry id field to remove
the trailing "-1". This makes a cleaner html output file name.
Clean up a few refpurpose fields.
1998-09-07 15:58:31 +00:00
Thomas G. Lockhart
95af0cb9bb Fix Postgres to support SQL92 syntax. Old syntax still works too. 1998-09-07 15:56:20 +00:00
Thomas G. Lockhart
4dce924b62 Minor wording and formatting cleanups. 1998-09-07 15:54:08 +00:00
Thomas G. Lockhart
b6bdc43522 Add new reference pages. This completes the first cut at a full set
for SQL commands.
1998-09-07 15:53:12 +00:00
Thomas G. Lockhart
7d1e32b51c Add new reference pages adapted from Jose'. 1998-09-05 06:02:57 +00:00
Thomas G. Lockhart
3a29400141 Minor fix to add paragraph break. 1998-09-05 06:01:56 +00:00
Thomas G. Lockhart
e6c1fbab5c Add more new pages. 1998-09-02 03:01:02 +00:00
Thomas G. Lockhart
1660e300e2 Add new files from Oliver and Thomas. 1998-09-01 15:53:09 +00:00
Thomas G. Lockhart
cdc91300c3 Remove mention of the migration directory since this info has already
been integrated into here.
1998-09-01 15:50:53 +00:00
Thomas G. Lockhart
da01b487ce Put in explicit reference to the ref/ subdirectory to help emacs. 1998-09-01 15:49:22 +00:00
Thomas G. Lockhart
b09b2b6818 Initial information for Linux/Unix installation. 1998-09-01 15:48:00 +00:00
Thomas G. Lockhart
fddd79aa73 Make new section header. 1998-08-25 15:02:54 +00:00
Thomas G. Lockhart
fde6526753 Make small sentence cleanups. Add missing formatting for program example. 1998-08-17 16:22:58 +00:00
Thomas G. Lockhart
28742a182e Rename Id tags to eliminate the trailing "-1" field. This propagates
into cleaner html output file names.
1998-08-17 16:21:05 +00:00
Thomas G. Lockhart
629d53c974 Move SQL reference pages up into the User's Guide. 1998-08-17 16:20:33 +00:00
Thomas G. Lockhart
cbed406368 Small sentence cleanups. Add tags for acronyms and products. 1998-08-17 16:18:13 +00:00
Thomas G. Lockhart
4e76753091 Bring document list closer to up to day.
Add a note on sgml-tools that they are now working with jade and so
 may become the toolset of choice in the future.
1998-08-17 16:17:07 +00:00
Thomas G. Lockhart
9ce4ae80dd Enhanced the allowed constraint syntax, so remove mention of the problem. 1998-08-17 16:15:31 +00:00
Thomas G. Lockhart
40aa761d4c Update Id fields in header tags. Rename the TUTORIAL tag to avoid
conflicting with the tutorial.sgml container document.
1998-08-17 16:14:06 +00:00
Thomas G. Lockhart
0463ee00ae Fix small typo. 1998-08-17 16:12:35 +00:00
Thomas G. Lockhart
a80f034dc2 Make minor formatting improvements to statement synopses.
Make sure all files end with a newline.
1998-08-15 07:00:37 +00:00
Thomas G. Lockhart
a9e9f59308 Update for new information on PQsetNoticeProcessor().
Now back in sync with libpq.3 man page, which should be obsolete soon.
1998-08-15 06:56:36 +00:00
Thomas G. Lockhart
c4bf0c0d6a Change Id field in chapter tag to change html output file name. 1998-08-15 06:55:05 +00:00
Thomas G. Lockhart
ccc6851d0a Include working list of all documentation sources, with current status
and plans for some of them.
1998-08-15 06:53:52 +00:00
Thomas G. Lockhart
62cc942145 Include new chapters. 1998-08-15 06:52:54 +00:00
Thomas G. Lockhart
61ff1c3b2a Nice exposition on indices and keys from Herouth Maoz which appeared
on the mailing lists a while ago. Maybe slightly changed to fit docs.
Will go into the User's Guide.
1998-08-15 06:52:03 +00:00
Thomas G. Lockhart
45816ec4d2 Convert information from man pages. Not really suitable for man pages
anyway, so this will replace them as of now.
1998-08-15 06:49:33 +00:00
Thomas G. Lockhart
fe0260c5d1 Use libpq only once to avoid file naming conflicts in the html output. 1998-07-29 07:08:00 +00:00
Thomas G. Lockhart
ccee8e5576 Somehow had substituted this file for the contents of allfiles.sgml.
This should be the right thing now...
1998-07-29 07:01:58 +00:00
Thomas G. Lockhart
5f372f9e59 Add id field to chapter and book tags to allow output file names
to be meaningful.
1998-07-29 06:50:04 +00:00
Thomas G. Lockhart
18baa27d6b Add port information for NS32532.
Fix Id tag in chapter headings to allow meaningful file names in html.
1998-07-29 06:35:19 +00:00
Thomas G. Lockhart
3221c0de52 Include information on documentation products and sources.
Include tables of possible source files throughout tree.
1998-07-29 06:33:37 +00:00
Thomas G. Lockhart
bd6b6f40de Add missing information.
Fix examples for regex operators.
1998-07-29 06:32:47 +00:00
Thomas G. Lockhart
32de56e817 Use option to jade to produce html file names from id field in tag. 1998-07-29 06:29:04 +00:00
Thomas G. Lockhart
64fbd1fb12 Add new files from Oliver Elphick. 1998-07-29 06:23:26 +00:00
Thomas G. Lockhart
a9d76d0108 Fix minor end-of-file formatting. 1998-07-29 06:21:57 +00:00
Thomas G. Lockhart
3733bd4627 First version of files from Oliver Elphick. 1998-07-14 03:47:34 +00:00
Bruce Momjian
e36f96e42a More updates for typmod int32 change. From Tom Lane. 1998-07-14 02:41:26 +00:00
Thomas G. Lockhart
a034884cfe Update regression test run times for v6.4beta. 1998-07-09 14:36:51 +00:00
Marc G. Fournier
ce812671b1 From: Tom Lane <tgl@sss.pgh.pa.us>
Attached are diffs (from current cvs sources) to bring libpq.sgml
and libpq.3 up to date.

It appears that at various times in the past, people have made edits to
one or the other of these files but not both.  I propagated some changes
from each into the other, but I don't think I caught every
inconsistency.  It'd be real nice if the man pages could be
automatically generated from the SGML...
1998-07-09 03:30:49 +00:00
Marc G. Fournier
a0659e3e2c From: Tom Lane <tgl@sss.pgh.pa.us>
Making PQrequestCancel safe to call in a signal handler turned out to be
much easier than I feared.  So here are the diffs.

Some notes:
  * I modified the postmaster's packet "iodone" callback interface to allow
    the callback routine to return a continue-or-drop-connection return
    code; this was necessary to allow the connection to be closed after
    receiving a Cancel, rather than proceeding to launch a new backend...
    Being a neatnik, I also made the iodone proc have a typechecked
    parameter list.
  * I deleted all code I could find that had to do with OOB.
  * I made some edits to ensure that all signals mentioned in the code
    are referred to symbolically not by numbers ("SIGUSR2" not "2").
    I think Bruce may have already done at least some of the same edits;
    I hope that merging these patches is not too painful.
1998-07-09 03:29:11 +00:00
Thomas G. Lockhart
03fb60c52e Fix suggestions on file protection for alternate DB locations. 1998-07-08 13:54:26 +00:00
Thomas G. Lockhart
ba3a99f193 Split function and operator User Guide info
from datatype.sgml into separate files.
Add type conversion information.
Format historical release notes.
1998-07-08 13:53:15 +00:00
Bruce Momjian
583891833f The attached patch modifies libpgtcl per previous discussion: the
pg_notifies statement is eliminated, and callbacks defined by
pg_listen are instead invoked automatically from the Tcl idle loop
whenever a NOTIFY message is received.

I have done only cursory testing, so there may be problems still
lurking (particularly on non-Unix machines?).  But it seems to
work.

Patch is against today's cvs sources.  Note that this will not work
with the 6.3.2 release since it depends on the new libpq.

The diffs are a bit large so I've gzipped them.  A patch to update
libpgtcl.sgml is included too.

			regards, tom lane
1998-06-16 04:10:17 +00:00
Thomas G. Lockhart
f2764eea42 Clarify ownership and security issues with alternate db locations. 1998-05-29 13:16:36 +00:00
Thomas G. Lockhart
fdd9a344ca First reference manual. 1998-05-13 05:34:39 +00:00
Thomas G. Lockhart
7402eda97c First files for reference pages. 1998-05-13 05:34:00 +00:00
Thomas G. Lockhart
2608ec8169 First changes for reference pages. Fix markup in the docguide. 1998-05-13 05:33:32 +00:00
Bruce Momjian
7e5f53e730 |I noticed that the -assignbyidx function of -result in libpgtcl
is not |documented, here is the relevant patch for it

Anton
1998-05-13 03:29:12 +00:00
Thomas G. Lockhart
25745b6d52 Minor markup change. 1998-05-09 22:23:38 +00:00
Bruce Momjian
edbd51395c What I've done:
1. Rewritten libpq to allow asynchronous clients.

2. Implemented client side of cancel protocol in library,
   and patched psql.c to send a cancel request upon SIGINT.  The
   backend doesn't notice it yet :-(

3. Implemented 'Z' protocol message addition and renaming of
   copy in/out start messages.  These are implemented conditionally,
   ie, the client protocol version is checked; so the code should
   still work with 1.0 clients.

4. Revised protocol and libpq sgml documents (don't have an SGML
   compiler, though, so there may be some markup glitches here).


What remains to be done:

1. Implement addition of atttypmod field to RowDescriptor messages.
   The client-side code is there but ifdef'd out.  I have no idea
   what to change on the backend side.  The field should be sent
   only if protocol >= 2.0, of course.

2. Implement backend response to cancel requests received as OOB
   messages.  (This prolly need not be conditional on protocol
   version; just do it if you get SIGURG.)

3. Update libpq.3.  (I'm hoping this can be generated mechanically
   from libpq.sgml... if not, will do it by hand.)  Is there any
   other doco to fix?

4. Update non-libpq interfaces as necessary.  I patched libpgtcl
   so that it would compile, but haven't tested it.  Dunno what
   needs to be done with the other interfaces.

Have at it!

Tom Lane
1998-05-06 23:51:16 +00:00
Thomas G. Lockhart
446a9936ab Include full tools installation instructions from Tom Helbekkmo.
Include small section on authoring and Makefile configuration.
Rearrange section order.
1998-04-28 14:57:48 +00:00
Thomas G. Lockhart
f7fa77e60c Include info on setting compiler options on the command line
when building executables.
1998-04-28 14:55:45 +00:00
Thomas G. Lockhart
db602e80ad Fix some typos. 1998-04-28 14:54:24 +00:00
Thomas G. Lockhart
329949d1fe Include e-mail exchange between Jan and Andreas to start info on rules. 1998-04-28 14:52:46 +00:00
Bruce Momjian
d31736e92b Doc updates from Darren on char2-16 removal 1998-04-26 04:18:06 +00:00
Thomas G. Lockhart
5a641d48ee Update info to reflect success on Alpha/Linux and Alpha/DUnix ports. 1998-04-17 03:56:08 +00:00
Thomas G. Lockhart
a0ca95fa0d Fix typos in a couple of examples. 1998-04-17 03:55:01 +00:00
Thomas G. Lockhart
b91d94ec68 Still mostly empty but add info on PAGER env variable and general paging
behavior from Brett McCormick.
1998-04-08 06:42:17 +00:00
Thomas G. Lockhart
39740d75bd Clean up formatting.
Add more URL links for GiST information.
1998-04-04 16:35:22 +00:00
Thomas G. Lockhart
e47e0e6923 Include example of table loading using the COPY command. 1998-04-04 16:34:23 +00:00
Thomas G. Lockhart
c452ddcac6 Convert body of chapter to SGML. Was embedded text from original doc. 1998-04-04 16:32:01 +00:00
Thomas G. Lockhart
e01d442174 Small corrections from Phil Thompson, the original author. 1998-04-04 16:30:31 +00:00
Thomas G. Lockhart
7a070126e0 Include the stub docs for the rules system. Omission in original versions. 1998-04-04 16:26:05 +00:00
Thomas G. Lockhart
90dbfa5ea6 Fix a few typos. Try <Note><Title>Author</Title>... for author credit. 1998-03-01 20:46:10 +00:00
Thomas G. Lockhart
68a297aad4 Try a fancier makefile. Allows real building of html and rtf output
rather than just executing ../Makefile.
1998-03-01 20:44:37 +00:00
Thomas G. Lockhart
13b2557df4 Stopgap makefile for new sgml source documentation.
Should redo this before v6.3 release if possible.
1998-03-01 08:18:09 +00:00
Thomas G. Lockhart
c8cfb0cea8 SGML source for new documentation. 1998-03-01 08:16:16 +00:00