Commit Graph

185 Commits

Author SHA1 Message Date
Bruce Momjian
7971539020 heap_fetch requires buffer pointer, must be released; heap_getnext
no longer returns buffer pointer, can be gotten from scan;
	descriptor; bootstrap can create multi-key indexes;
pg_procname index now is multi-key index; oidint2, oidint4, oidname
are gone (must be removed from regression tests); use System Cache
rather than sequential scan in many places; heap_modifytuple no
longer takes buffer parameter; remove unused buffer parameter in
a few other functions; oid8 is not index-able; remove some use of
single-character variable names; cleanup Buffer variables usage
and scan descriptor looping; cleaned up allocation and freeing of
tuples; 18k lines of diff;
1998-08-19 02:04:17 +00:00
Thomas G. Lockhart
9e1d532027 This README only mentions nroff problems with page.5, which has been
removed from the man pages and put into the new sgml docs.
1998-08-15 16:39:21 +00:00
Thomas G. Lockhart
4ab9ac79ba Include a sentence in the top pointing to the new docs.
pgbuiltin.3 is obsolete for sure, and libpq.3 can become so since the
 size and scope of this man page is not appropriate in a man page format.
1998-08-15 16:36:22 +00:00
Thomas G. Lockhart
b55a020aca Converted to page.sgml. Not needed in a man page. 1998-08-15 13:01:26 +00:00
Thomas G. Lockhart
223fa7ff4a Information moved to sgml source files.
The "Oracle compatibility" page should have always been in with functions
 anyway. The BKI information is not really appropriate for a man page.
1998-08-15 07:03:59 +00:00
Bruce Momjian
ffb120ecc6 Add new \w write command to psql. 1998-08-10 20:31:42 +00:00
Bruce Momjian
e6311b4ad0 The attached patch implements some changes that were discussed a
couple weeks ago on the hackers and interfaces lists:

1. When the backend sends a NOTICE message and closes the connection
   (typically, because it was told to by the postmaster after
   another backend coredumped), libpq will now print the notice
   and close the connection cleanly.  Formerly, the frontend app
   would usually terminate ungracefully due to a SIGPIPE.  (I am
   not sure if 6.3.2 behaved that way, but the current cvs sources
   do...)

2. libpq's various printouts to stderr are now fed through a single
   "notice processor" routine, which can be overridden by the
   application to direct notices someplace else.  This should ease
   porting libpq to Windows.

I also noticed and fixed a problem in PQprint: when sending output
to a pager subprocess, it would disable SIGPIPE in case the pager
terminates early (this is good) --- but afterwards it reset SIGPIPE
to SIG_DFL, rather than restoring the application's prior setting
(bad).

			regards, tom lane
1998-08-09 02:59:33 +00:00
Bruce Momjian
7db9ea5c1e EXPLAIN VERBOSE prints the plan, and now pretty-prints the plan to
the postmaster log file.
1998-08-04 15:00:28 +00:00
Bruce Momjian
21ad8695ca Fix typo in man pages. 1998-08-03 05:54:30 +00:00
Bruce Momjian
d8d0aa019b Update psql help syntax to remove <> and uppercaese keywords. 1998-07-25 00:17:30 +00:00
Bruce Momjian
8e2647a145 Add mention of actual SQL command to create*/destroy* commands. 1998-07-24 16:44:04 +00:00
Bruce Momjian
22616fdc5d Add mention of SQL commands to create/destroy man pages. 1998-07-24 16:36:56 +00:00
Bruce Momjian
253a294e9f Add mention of psql and template1 to create*, destroy* command
manual pages.
1998-07-24 16:10:19 +00:00
Bruce Momjian
916710fc91 pg_dump -z has gotten rather thoroughly broken in the last couple
of days --- it was emitting stuff like
	REVOKE ALL on 'table' from PUBLIC; GRANT ALL on "table" to
	"Public"; neither of which work.  While I was at it I
cleaned up a few other things:

* \connect commands are issued only in -z mode.  In this way,
reloading a pg_dump script made without -z will generate a simple
database wholly owned by the invoking user, rather than a mishmash
of tables owned by various people but lacking in access rights.
(Analogy: cp versus cp -p.)

* \connect commands are issued just before COPY FROM stdin commands;
without this, reloading a database containing non-world-writable
tables tended to fail because the COPY was not necessarily attempted
as the table owner.

* Redundant \connect commands are suppressed (each one costs a
backend launch, so...).

* Man page updated (-z wasn't ever documented).

The first two items were discussed in a pgsql-hackers thread around
6 May 98 ("An item for the TODO list: pg_dump and multiple table
owners") but no one had bothered to deal with 'em yet.

			regards, tom lane
1998-07-19 05:24:51 +00:00
Bruce Momjian
96f5323bcd Remove monitor mention and add psql. 1998-07-16 15:54:39 +00:00
Bruce Momjian
36549074a3 Update word. 1998-07-15 17:34:06 +00:00
Bruce Momjian
866a527163 Add PGUSER to man page. 1998-07-15 17:08:23 +00:00
Bruce Momjian
e36f96e42a More updates for typmod int32 change. From Tom Lane. 1998-07-14 02:41:26 +00:00
Bruce Momjian
3600fd320f Major man page update from Tom Lane. c 1998-07-14 01:45:25 +00:00
Bruce Momjian
37273977cb add mention of DISTINCT ON attrN 1998-07-12 04:49:47 +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
Bruce Momjian
1a2aee2d73 Add PQsetdbLogin() and cleanup. 1998-07-04 17:50:04 +00:00
Bruce Momjian
a8376c1c84 cleanup 1998-06-24 13:21:30 +00:00
Bruce Momjian
f391dcd0bf regenerate manual page list. 1998-06-24 13:05:01 +00:00
Bruce Momjian
f9b9a30b7a manual cleanup 1998-06-24 13:01:26 +00:00
Bruce Momjian
a726204908 Add another underscore to manual page name. 1998-06-24 12:52:47 +00:00
Bruce Momjian
9dde6b3de9 Add underscores in manual references. 1998-06-23 17:52:38 +00:00
Bruce Momjian
a1a6fd736f Remove mention of monitor in manual pages. 1998-06-23 15:43:19 +00:00
Bruce Momjian
232dea3188 cleanup 1998-06-17 22:59:26 +00:00
Bruce Momjian
3408635471 Remove time travel reference. 1998-06-16 03:03:03 +00:00
Bruce Momjian
3af1cc6755 postmaster/postgres options cleanup. 1998-05-27 18:32:05 +00:00
Bruce Momjian
58fffea03c Cleanups for large objects, so file is trucated on open, fix for
solaris/spare shared libararies, new error message for postmaster
startup, and makefile cleanups.
1998-05-12 21:44:08 +00:00
Bruce Momjian
d256ca4222 Add cursor name to man page. 1998-04-28 18:39:11 +00:00
Bruce Momjian
df533d2993 manual page update from Oliver Elphick
Oliver.Elphick@lfix.co.uk
1998-04-27 03:41:33 +00:00
Bruce Momjian
0d203b745d Re-apply Darren's char2-16 removal code. 1998-04-26 04:12:15 +00:00
Bruce Momjian
7d03bb460d pgintro now has a list of all manual pages. 1998-04-15 16:44:36 +00:00
Bruce Momjian
db21523314 Back out char2-char16 removal. Add later. 1998-04-07 18:14:38 +00:00
Bruce Momjian
471dbbc223 DESTDIR removed, again. 1998-04-06 16:53:15 +00:00
Bruce Momjian
bc40727042 cleanup and possible alpha-linux fix. 1998-04-06 02:03:08 +00:00
Bruce Momjian
066ee9a2e9 Make DESTDIR consistent, and verious Linux cleanups. 1998-04-06 01:36:41 +00:00
Bruce Momjian
1e801a8f16 Hi,
Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.

It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.

This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )

This patch is against the 6.3 sources, as it took a while to
complete.

Please review and apply,

Cheers,

Jeroen van Vianen
1998-04-06 00:32:26 +00:00
Bruce Momjian
d7050cb68c Merge rename name page into alter table. Fix UNION with DISTINCT
or ORDER BY bug.
1998-03-31 04:44:35 +00:00
Bruce Momjian
01ecb2e3a0 documentation for HAVING, clean up UNION comment. 1998-03-30 19:05:10 +00:00
Bruce Momjian
57b5966405 The following uuencoded, gzip'd file will ...
1. Remove the char2, char4, char8 and char16 types from postgresql
2. Change references of char16 to name in the regression tests.
3. Rename the char16.sql regression test to name.sql.  4. Modify
the regression test scripts and outputs to match up.

Might require new regression.{SYSTEM} files...

Darren King
1998-03-30 17:28:21 +00:00
Bruce Momjian
3b40fd9ea9 Update manual 1998-03-26 21:01:47 +00:00
Bruce Momjian
b411e26a9a Mention rollback instead of abort. 1998-03-25 01:54:53 +00:00
Bruce Momjian
817fc4b2ac Manual page fixes. 1998-03-23 15:09:43 +00:00
Bruce Momjian
c530fbfb2f Add checks for UNION target fields, and add optional TABLE to LOCK
and SELECT manual pages and psql help.
1998-03-18 15:49:08 +00:00
Bruce Momjian
7eddadee87 CLUSTER cleanup 1998-03-15 02:13:23 +00:00