Commit Graph

1276 Commits

Author SHA1 Message Date
Bruce Momjian be6e7717db Fix \h SELECT to not show SELECT INTO. 2000-05-26 15:47:18 +00:00
Bruce Momjian ebb88e3ba5 Fix initlocation syntax example for createdb 2000-05-26 02:07:15 +00:00
Bruce Momjian 936b27fa87 Update TODO list. 2000-05-25 16:10:01 +00:00
Bruce Momjian a802433917 Spell fix 2000-05-25 15:32:03 +00:00
Bruce Momjian 75478861a4 pg_ctl does not use -S by default anymore so update documentation 2000-05-23 21:46:57 +00:00
Bruce Momjian b1b9059427 Irix fixes from Murad Nayal 2000-05-22 23:56:44 +00:00
Tatsuo Ishii aa387054d2 Multibyte documentations update 2000-05-20 13:40:13 +00:00
Bruce Momjian 0d62ecdf72 Update rules man pages. 2000-05-20 11:38:25 +00:00
Bruce Momjian c99e851eea Clean up sql functions examples. 2000-05-20 11:24:37 +00:00
Bruce Momjian a9876533d6 Update TODO list. 2000-05-20 03:45:20 +00:00
Bruce Momjian 4763cddaf5 Update TODO list. 2000-05-19 19:27:56 +00:00
Bruce Momjian f63ba5cd6a Fix WARN->NOTICE in docs. Change libpgeasy connection parameters to use
PQconnectdb() style connections.
2000-05-18 14:24:38 +00:00
Bruce Momjian 52d95db1a3 Update trigger.sgml 2000-05-17 18:30:02 +00:00
Bruce Momjian 21258c35a0 Clean up trigger sgml docs. 2000-05-17 17:44:13 +00:00
Bruce Momjian 362a0f68d9 The check of class string in configure (line 1732) fails because this class
is in <string> and not in <string.h> on QNX4/egcs-2.91.60.
Probably this can be changed for all platforms. The test in line 1705 uses
<string> as well. Because I am not sure, I havn't this included into the
patch.

doc/Makefile has to be sligthly  modified as it has been done for
src/backend/Makefile due to a QNX4 problem (patch attached)

Furthermore src/test/regress/run_check.sh needs to be patched as it has been
done for regress.sh (patch attached). Please note that in the patch the
postmaster is started always with the -i option.

run_check.sh reports the test "limit" as failed, but in reallity it is OK.
regress.sh reports it as OK.

Andreas Kardos
2000-05-17 16:57:41 +00:00
Bruce Momjian 76da5b80b1 Change plpgsql example from SELECT * INTO rec to SELECT INTO rec *. 2000-05-17 00:15:48 +00:00
Bruce Momjian d446c129ac Fix typo 2000-05-16 21:16:12 +00:00
Bruce Momjian 5128d145a8 Cleanup plpgsql man page typo 2000-05-16 19:29:43 +00:00
Bruce Momjian 52831da26c Fix createlang -l dbname so it works, update sgml. 2000-05-15 16:12:39 +00:00
Bruce Momjian 5a72eadc98 Add mention of lo_unlink to manual 2000-05-15 12:42:23 +00:00
Bruce Momjian 1bea3c3c46 Fix atan3-> atan2. 2000-05-15 01:41:18 +00:00
Bruce Momjian f87772b722 Remove array file, per Tom Lane. 2000-05-14 03:47:27 +00:00
Bruce Momjian 568df05028 Remove arrays file, already have array file. 2000-05-14 03:26:38 +00:00
Bruce Momjian f301fabf4e Back out listen fix. 2000-05-14 02:53:49 +00:00
Bruce Momjian efc6b7ddfc Update TODO list. 2000-05-14 01:29:07 +00:00
Bruce Momjian a316339e6c Update bug template. 2000-05-14 01:14:01 +00:00
Bruce Momjian 5e02f6b6ac Update TODO list. 2000-05-12 17:20:14 +00:00
Bruce Momjian e9e42f6f5f Remove cluster TODO e-mail file 2000-05-12 16:33:29 +00:00
Bruce Momjian 5160a5db0a Update TODO list. 2000-05-12 12:33:48 +00:00
Bruce Momjian 845fb15e78 Update TODO list. 2000-05-12 12:24:45 +00:00
Bruce Momjian 4624b84cf2 Small cleanup of file. 2000-05-12 00:54:53 +00:00
Bruce Momjian eead0e77a4 Update SGML for FETCH and url's. 2000-05-11 17:32:33 +00:00
Thomas G. Lockhart 023fdd6bbb Fix url reference with missing fields.
Reported by Adrian Oboroc <aoboroc@btr.md>.
2000-05-11 15:18:13 +00:00
Bruce Momjian 6706194e4e Fix psql quotes in docs. 2000-05-09 18:55:56 +00:00
Bruce Momjian 3b5338da25 More single-quote fixes. 2000-05-09 18:30:43 +00:00
Bruce Momjian 4108ee962a Add single quote. 2000-05-09 18:27:25 +00:00
Bruce Momjian f44328b2b8 Change HISTORY to show outer joins in 7.1 or 7.2. 2000-05-08 23:56:50 +00:00
Thomas G. Lockhart 11a93191dc Minor fixups for markup and wording. 2000-05-08 16:19:56 +00:00
Bruce Momjian b5c430467f Update TODO list. 2000-05-06 20:21:08 +00:00
Bruce Momjian 91885836f7 Update TODO list. 2000-05-06 16:05:17 +00:00
Bruce Momjian 50432d9d09 Update TODO list. 2000-05-06 01:05:10 +00:00
Bruce Momjian 55778b36f4 Update TODO list. 2000-05-05 22:25:20 +00:00
Bruce Momjian 2937bf0adf Update TODO list. 2000-05-05 04:06:18 +00:00
Bruce Momjian ad1c88104b Please apply the following patch to the FAQ_AIX
Thanks
Andreas
2000-05-05 03:40:20 +00:00
Thomas G. Lockhart 8bd6c1f8e9 Polishing for 7.0 release. Fix up inconsistant spacing in release notes. 2000-05-04 16:15:08 +00:00
Hiroshi Inoue c804a48ec6 Oops,I've forgotten to add an documentation about -P option of
postgres.
2000-05-03 07:33:44 +00:00
Bruce Momjian f25d8b47fc Update sco faq. 2000-05-03 03:45:55 +00:00
Bruce Momjian 5c6e5c887a Update FAQ. 2000-05-02 21:57:59 +00:00
Thomas G. Lockhart 832df546f5 Remove derived files from CVS. Now kept in
hub.org:/home/projects/pgsql/ftp/www/html/users-lounge/7.0/docs/
2000-05-02 21:08:36 +00:00
Thomas G. Lockhart b738d5948a Improve section heading for date/time history. 2000-05-02 20:36:21 +00:00
Thomas G. Lockhart 45f79cae14 Fixups in content and markup for 7.0 release. 2000-05-02 20:02:03 +00:00
Bruce Momjian a6894eb81a Update HISTORY/sgml for new pgaccess version. 2000-05-02 17:06:10 +00:00
Bruce Momjian 7ef29a26cb Update SCO FAQ. Billy G. Allie 2000-05-02 10:57:11 +00:00
Bruce Momjian 3e24112b71 Update TODO list. 2000-04-29 02:27:21 +00:00
Bruce Momjian 9bd604f3be Update TODO list. 2000-04-28 19:40:00 +00:00
Bruce Momjian 7bd35f0f77 Update TODO list. 2000-04-28 19:15:49 +00:00
Bruce Momjian 96d643e5d5 More libpgeasy update of connectdb() parameter ordering 2000-04-28 15:03:39 +00:00
Bruce Momjian 796695c9d1 Update TODO list. 2000-04-28 14:44:47 +00:00
Bruce Momjian fb7318a632 Update libpgeasy e-mail address 2000-04-27 18:45:43 +00:00
Bruce Momjian 1234981836 Fix libpq example return values 2000-04-25 16:39:07 +00:00
Bruce Momjian 418368bc3c Update SCO FAQ> 2000-04-24 23:33:07 +00:00
Tom Lane 2ee858b5f0 Update obsolete info in CREATE INDEX ref page. (I had fixed the text
description in indices.sgml, but missed the near-duplicate prose in
the reference page...)
2000-04-23 02:08:33 +00:00
Tom Lane a77c4df2c1 List of available pg_options items was a tad out-of-date. 2000-04-23 00:25:06 +00:00
Bruce Momjian 6caa4fa406 Update TODO list. 2000-04-22 20:33:54 +00:00
Bruce Momjian 0156fdf9a5 libpq++.sgml fixes from Tom Vijlbrief 2000-04-19 21:21:38 +00:00
Bruce Momjian 0818dbc3cb Update TODO list. 2000-04-19 20:50:34 +00:00
Bruce Momjian 57673afe8c Update TODO list. 2000-04-19 00:03:44 +00:00
Bruce Momjian 3296e6fe68 More cleanup 2000-04-18 23:44:58 +00:00
Bruce Momjian 74d1478c6e Rename binary object to binary format. 2000-04-18 23:43:24 +00:00
Bruce Momjian bb72dc21f0 Update COPY manual page for \N. 2000-04-18 23:21:04 +00:00
Bruce Momjian b1d25149fb Remove old TODO items. Add some to release.sgml. 2000-04-18 21:18:43 +00:00
Bruce Momjian 1dcf5907c4 Fix \N mention in manual 2000-04-18 18:41:15 +00:00
Thomas G. Lockhart 7f85cac04a Clean up description of SET CONSTRAINTS. 2000-04-18 15:23:34 +00:00
Thomas G. Lockhart 07f600619e Update list of supported platforms to include SCO info.
Move several platforms to the unsupported list :(
2000-04-18 15:23:10 +00:00
Bruce Momjian 85736153ee Update release.sgml 2000-04-18 14:55:27 +00:00
Bruce Momjian f6943a9f2b Aix patches from Zeugswetter Andrea 2000-04-17 18:05:00 +00:00
Bruce Momjian b39c6d002c Update TODO list. 2000-04-17 16:35:23 +00:00
Peter Eisentraut aae70b2dca more psql bug squashing:
\copy without arguments failed
commands with too many arguments were too silent
2000-04-16 15:46:40 +00:00
Tom Lane 82849df6c6 Add new selectivity estimation functions for pattern-matching operators
(LIKE and regexp matches).  These are not yet referenced in pg_operator,
so by default the system will continue to use eqsel/neqsel.
Also, tweak convert_to_scalar() logic so that common prefixes of strings
are stripped off, allowing better accuracy when all strings in a table
share a common prefix.
2000-04-16 04:41:03 +00:00
Bruce Momjian 3e51872a98 SYstem user not implemented 2000-04-15 23:29:58 +00:00
Bruce Momjian ade95052f8 Update set constraints man page 2000-04-14 23:12:29 +00:00
Tom Lane 0fe9b399c0 Fix busted markup. 2000-04-14 23:04:44 +00:00
Bruce Momjian 4ae4fb933b update 2000-04-14 22:53:10 +00:00
Bruce Momjian 58a58e9ca9 MOre cleanup 2000-04-14 22:23:02 +00:00
Bruce Momjian 6db9747f7e Update 2000-04-14 22:16:01 +00:00
Bruce Momjian 49b2f22f46 update 2000-04-14 22:13:24 +00:00
Bruce Momjian 6787c6c9e8 Updates create_function.sgml with fixes for new foreign keys 2000-04-14 21:44:21 +00:00
Bruce Momjian 91cce19de8 UPdate vacuum man page to be clearer. 2000-04-14 17:37:54 +00:00
Thomas G. Lockhart 99cc10accc Add mention of SET CONSTRAINT and CREATE CONSTRAINT TRIGGER. 2000-04-14 15:17:28 +00:00
Thomas G. Lockhart 0e2dfd5e5e Rename Digital Unix to Compaq Tru64 :(
Update platform support for HPUX, Linux-mips, Linux-ppc, mklinux,
 NetBSD-m68k (may be a bit premature), and Solaris.
2000-04-14 15:16:09 +00:00
Thomas G. Lockhart 87d2207694 Mention CmdTuples(). From Vince. 2000-04-14 15:10:57 +00:00
Thomas G. Lockhart b27cef2932 Mention support for date_part('week',timestamp).
Fix spelling of "millennium".
 Thanks to Mika Nystrom <mika@camembert.cs.caltech.edu>.
2000-04-14 15:08:56 +00:00
Bruce Momjian 7fe8f077d3 Update TODO list. 2000-04-14 14:29:24 +00:00
Bruce Momjian 2e67ecaf6f Change DEFINE TYPE to CREATE TYPE. 2000-04-13 21:44:25 +00:00
Bruce Momjian 5eaa271b77 No longer need to cast default non-cacheable functions. 2000-04-13 07:19:27 +00:00
Bruce Momjian 2a08204e1f Update man page to prefer old over current. 2000-04-12 20:07:13 +00:00
Thomas G. Lockhart 50b10b8a90 Fix up markup to allow building.
Adjust two-word substitution parameters to be one word only to reduce
 possible ambiguity.
2000-04-12 04:40:03 +00:00
Bruce Momjian c85a8e9df5 Uppercase pg_options param 2000-04-11 17:23:35 +00:00
Bruce Momjian f947bbb3b2 Attached is are diffs for CREATE/ALTER table doc I've
forgotten in my mailbox (sorry). Haven't tried to  apply  and
    since I don't have working sgml stuff cannot check.

Jan
2000-04-11 14:43:54 +00:00
Thomas G. Lockhart bdf6c4f012 Update porting list.
Fix markup to get clean compile.
2000-04-11 05:39:15 +00:00
Bruce Momjian d57046097a Update for default ISO date style 2000-04-11 03:56:19 +00:00
Bruce Momjian 5a5a4caeda Update SET manual pages for pg_options. 2000-04-11 03:49:04 +00:00
Bruce Momjian 5b795bec59 No revoke on indexes any more 2000-04-10 01:35:44 +00:00
Bruce Momjian 8d04225a19 UPdate faq/ 2000-04-09 19:17:27 +00:00
Bruce Momjian f49cbb54f1 No more need to create groups manually. 2000-04-09 12:14:25 +00:00
Bruce Momjian d888ca7c08 No grant on indexes. 2000-04-09 12:08:33 +00:00
Tom Lane 5db0ef84e6 Add explanation about 'Unrecognized variable client_encoding'
message at startup.
2000-04-08 23:32:34 +00:00
Bruce Momjian 321eedd0bf Document FSYNC in pg_options sgml file. 2000-04-08 23:12:01 +00:00
Tom Lane 607c6d25d7 Link already-existing COMMENT and REINDEX command docs into documentation. 2000-04-08 05:11:03 +00:00
Tom Lane f0a2fc38ab Mention cube root. 2000-04-08 03:42:29 +00:00
Bruce Momjian 75b5915b43 update 2000-04-08 02:44:55 +00:00
Tom Lane b99cdde0d7 Fix cross-references, update examples, copy-edit. 2000-04-08 02:39:02 +00:00
Thomas G. Lockhart c264c4daeb Add reference page for pg_ctl. 2000-04-08 02:16:26 +00:00
Thomas G. Lockhart 9c075df519 Update some porting info.
Add mention of transcendental functions.
2000-04-08 02:16:08 +00:00
Bruce Momjian 124875e879 More man updates to fix bad tags 2000-04-07 19:20:48 +00:00
Bruce Momjian 28fb1c196b Update create_rule manual page. 2000-04-07 19:17:51 +00:00
Bruce Momjian 0df916e096 Again update of rule manual page. 2000-04-07 17:37:24 +00:00
Bruce Momjian 592b69056d Update rule examples 2000-04-07 17:35:08 +00:00
Bruce Momjian d27a566583 Remove mention of INSTANCE rule system, because it is gone. 2000-04-07 17:23:11 +00:00
Thomas G. Lockhart 1b992b468b Document new SET SEED command. 2000-04-07 13:31:18 +00:00
Thomas G. Lockhart 30e355fc80 Fix path to initdb in installation instructions.
General cleanup for 7.0.
2000-04-07 13:30:58 +00:00
Bruce Momjian 7c6bac0071 Update vacuum to mention analyze 2000-04-05 21:51:11 +00:00
Bruce Momjian 30d4f58256 Remove FETCH syntax heading from MOVE manual page. 2000-04-04 19:42:36 +00:00
Bruce Momjian ca6c98dbe1 Remove from FETCH manual page:
Once  all  rows  are  fetched,  every  other  fetch access
       returns no rows.
2000-04-04 19:29:18 +00:00
Bruce Momjian 9e7a4ccfd0 Update QNX FAQ 2000-04-04 13:49:30 +00:00
Tom Lane c84ba6638e Add a check to pg_dump to see whether backend is same version as pg_dump.
If not, abort by default.  Abort can be prevented by using -i or
--ignore-version switch.
2000-04-04 05:22:46 +00:00
Tom Lane 5a584ba5af Copy-editing, mostly. 2000-04-02 22:59:40 +00:00
Tom Lane 6b77778c7d Mention DST boundaries as a possible cause of regress test failure. 2000-04-02 22:28:54 +00:00
Tom Lane dbc9346f75 Correct typo. 2000-03-31 17:45:32 +00:00
Tom Lane 18fd0bdac9 Improve wording a little bit. 2000-03-31 17:45:00 +00:00
Tom Lane 05e92dd572 Update index cost estimation docs to final 7.0 scheme. 2000-03-31 17:18:26 +00:00
Tom Lane 5ac4f32f0f Minor copy-editing. 2000-03-31 15:00:14 +00:00
Tom Lane 58b4886004 CREATE AGGREGATE ref page claimed that a noise-word AS was allowed in
the syntax ... but gram.y doesn't think so.
2000-03-31 14:57:05 +00:00
Hiroshi Inoue e854d3da54 *** empty log message *** 2000-03-31 08:16:33 +00:00
Thomas G. Lockhart f43974f6f1 Include all information from the old man pages. 2000-03-31 06:17:52 +00:00
Thomas G. Lockhart fb43d74762 Use a uniform chapter title for all of the procedural languages. 2000-03-31 06:17:21 +00:00
Thomas G. Lockhart 73d8bbc2ac Minor markup changes. Refer to (".../catalog") in the emacs hints. 2000-03-31 03:27:42 +00:00
Thomas G. Lockhart 5e55bb08fd Add Bruce's pgeasy doc from the man page. 2000-03-31 03:26:21 +00:00
Thomas G. Lockhart f38d2afa16 Document recent changes in syntax, including examples. 2000-03-31 03:20:17 +00:00
Tom Lane 175dbf741b Make discussion of names clearer and more accurate. 2000-03-30 23:42:34 +00:00
Thomas G. Lockhart 996bc5358c Remove PL/perl language chapter, since it shows up in the User's Guide. 2000-03-30 22:34:29 +00:00
Thomas G. Lockhart f75bf1877a Accumulated fixups.
Add some chapters on new topics.
Change to referencing OASIS/Docbook v3.1 rather than Davenport/Docbook v3.0
Grepped for and fixed apparent tag mangling from emacs
 "Normalize" operation. Should be the last of those.
2000-03-30 22:22:41 +00:00
Thomas G. Lockhart 2cc8e6ac1f Renamed from bug-reports.sgml. Not all problems are bugs ;) 2000-03-30 22:19:47 +00:00
Thomas G. Lockhart ccad6d685a Writeup from Tom Lane on how costs are estimated. 2000-03-30 22:18:54 +00:00
Thomas G. Lockhart 99281cf881 Hints on how to fill a database. 2000-03-30 22:17:50 +00:00
Thomas G. Lockhart 045573983a Add reference to the original Postgres papers at a UCB web site. 2000-03-30 22:17:16 +00:00
Thomas G. Lockhart 965dae2582 Small emacs fixup for catalogs. 2000-03-30 22:14:47 +00:00
Thomas G. Lockhart a1c89ea15d Split off language-specific docs to their own chapters.
Add PL/perl docs from Mark Hollomon.
Put language-specific docs into the User's Guide, and move the rest
 to the Programmer's Guide.
2000-03-30 22:13:30 +00:00
Thomas G. Lockhart a1916dafe0 Change cross reference to CREATE AGGREGATE to a citation, since the
Programmer's Guide does not have access to the reference page.
Normalize markup.
2000-03-30 05:07:48 +00:00
Tom Lane 21bde57f66 Replace refs to v6.6 with v7.0. 2000-03-30 02:51:12 +00:00
Thomas G. Lockhart bcd488d0ce Change rules for interpreting date/time input to disallow 1 and 3 character
years. Rejects dates like '0.085', which were accepted previously.
Minor mods of ODBC markup.
2000-03-29 03:57:11 +00:00
Thomas G. Lockhart f05ac972c6 Fix markup for terminology. 2000-03-28 14:35:27 +00:00
Thomas G. Lockhart 0b3214aca0 Add mention of join syntax to release notes, and reformat a few lines.
Update porting info. Still need a lot of platforms tested.
Fix small errors in markup.
2000-03-28 14:35:13 +00:00
Thomas G. Lockhart 98069f2a42 Update SGML catalog references to DocBook 3.1 on FreeBSD.
Matches postgresql.org/hub.org environment.
2000-03-28 14:16:07 +00:00
Tom Lane 68c1801b1d Small improvements to user's guide description of arrays. 2000-03-28 03:39:50 +00:00
Tom Lane 9dc12ef54f Oops, missed some < and > that need to be &lt; and &gt; ... 2000-03-28 02:59:55 +00:00
Tom Lane 0fb864f166 Clean up major bogosity in description of creating a new index operator
class.  This chapter was apparently sewed together from several
inconsistent examples... and perhaps from old docs that no longer
apply at all.
2000-03-28 02:53:02 +00:00
Tom Lane f71fb9e0b8 Add a little to index operator class discussion. 2000-03-28 02:51:09 +00:00
Thomas G. Lockhart 39f69bc38f Start updating for the v7.0 release.
Use "generic functions" for math and other routines.
Use SQL92 "type 'literal'" syntax rather than Postgres "'literal'::type".
2000-03-27 17:14:43 +00:00
Bruce Momjian 8d7dc6fffe Add html FAQ and FAQ_DEV sources 2000-03-27 16:07:59 +00:00
Tom Lane 2ce4b4cda1 Update obsolete statement that indexes can have only 7 columns.
Reorganize description of index features for more clarity.
2000-03-26 19:47:17 +00:00
Tom Lane ee4dcf1478 Update/improve documentation about creating aggregate functions. 2000-03-26 19:45:21 +00:00
Peter Eisentraut 4579e68db2 Updated user's guide to match new psql's output format
Fixed bug in createdb/alternative location
2000-03-26 18:32:30 +00:00
Tom Lane 3871b69ba1 Improve descriptions of postmaster switches. 2000-03-26 07:04:54 +00:00
Tom Lane a7b8de40db Rearrange steps in recommended install procedure to something more
reasonable, ie configure and build first, then optionally run regress
tests using new parallel (non-installed) test method, and only then
backup and kill old installation.
2000-03-26 07:03:38 +00:00
Tom Lane 5521658e30 Add description of new parallel regression testing method; update
procedure to cover running either test script; other minor improvements.
2000-03-26 07:01:19 +00:00
Tom Lane 4e9c534766 Update descriptions of configure's options, and document how to specify
multiple directories for --with-includes or --with-libraries.
2000-03-26 06:59:31 +00:00
Tom Lane 7c81a130a4 Fix erroneous claim that 'postmaster -S' leaves the postmaster running
in the foreground --- in fact, it auto-detaches.
2000-03-26 06:58:17 +00:00
Bruce Momjian ba834d6425 Update initdb flags. 2000-03-26 03:40:37 +00:00
Tom Lane cb3b3eda9a In PQnotifies discussion, reference PQsocket as function needed to get
file descriptor number for select().  (Suggestion from Ken Wright.)
2000-03-26 01:00:17 +00:00
Bruce Momjian be0204133c Move LOCK terms down. 2000-03-24 03:57:06 +00:00
Tom Lane 0edcee3459 Fold PQsetenv working state into PGconn, rather than trying to maintain
it in a separate object.  There's no value in keeping the state separate,
and it creates dangling-pointer problems.  Also, remove PQsetenv routines
from public API, until and unless they are redesigned to have a safer
interface.  Since they were never part of the documented API before 7.0,
it's unlikely that anyone is calling them.
2000-03-24 01:39:55 +00:00
Tatsuo Ishii 5b1f92eaa7 Update multi-byte support README 2000-03-24 01:37:11 +00:00
Bruce Momjian 853cf66176 Update HISTORY 2000-03-24 01:20:09 +00:00
Bruce Momjian 6d79d6027c >> 5. empty define that results in an empty but terminated line ( ; )
easy (maybe dumb) fix for 5 in attachment define.patch

greetings, Andreas
2000-03-23 23:16:49 +00:00
Bruce Momjian f8645018bc Back out // compiler flag. 2000-03-23 22:25:36 +00:00
Bruce Momjian 4ddc50dffa Hmm, absolute pathnames for the copy makes sense. I'll whip up that
patch in a second. Should be sufficent to just make sure the first
character is a '/', right?

Ross J. Reedstrom
2000-03-23 21:38:58 +00:00
Bruce Momjian 90cb4c89df Update history/sgml. 2000-03-23 15:09:56 +00:00
Bruce Momjian b212e7ad7b Update TODO list. 2000-03-23 06:35:58 +00:00
Bruce Momjian b508136d81 Update HISTORY file for 7.0. 2000-03-23 06:30:58 +00:00
Tatsuo Ishii 5ca8eb9216 Prepare for 7.0 release 2000-03-23 02:04:07 +00:00
Bruce Momjian 1d5df1547a This patch corrects spelling, grammar and euphony for the psql reference
page for 7.0:

Oliver Elphick
2000-03-21 01:52:12 +00:00
Tom Lane 8fc97e8276 Sorry, I have read the misspelling 'coersion' one time too many. 2000-03-20 04:22:11 +00:00
Tom Lane b9a990d8a8 Add exp(), ln(), and some other functions to numeric-functions table. 2000-03-20 04:20:52 +00:00
Tom Lane 339fe3c4cb Add note that ':' and ';' operators are deprecated. 2000-03-20 04:19:47 +00:00
Tom Lane f945f46193 Modify lexing of multi-char operators per pghackers discussion around
16-Mar-00: trailing + or - is not part of the operator unless the operator
also contains characters not present in SQL92-defined operators.  This
solves the 'X=-Y' problem without unduly constraining users' choice of
operator names --- in particular, no existing Postgres operator names
become invalid.

Also, remove processing of // comments, as agreed in the same thread.
2000-03-18 18:03:12 +00:00
Tom Lane 0e314d747e Add safety check on expression nesting depth. Default value is set by
a config.h #define, and the runtime value can be controlled via SET.
2000-03-17 05:29:07 +00:00
Thomas G. Lockhart 1f3122e26d Fix typo (introduced by xemacs markup normalization) in the syntax summary. 2000-03-16 14:39:30 +00:00
Tom Lane 1763a7c1ea Tweak GROUP BY so that it will still accept result-column names, but only
after trying to resolve the item as an input-column name.  This allows us
to be compliant with the SQL92 spec for queries that fall within the spec,
while still accepting the same out-of-spec queries as 6.5 did.  You'll only
lose if there is an output column name that is the same as an input
column name, but doesn't refer to the same value.  7.0 will interpret
such a GROUP BY spec differently than 6.5 did.  No way around that, because
6.5 was clearly not spec compliant.
2000-03-15 23:31:19 +00:00
Bruce Momjian 795878d2dd Fix " to ' on lobj docs. 2000-03-15 17:07:41 +00:00
Thomas G. Lockhart ce543b2121 Write up new TIME WITH TIME ZONE type. 2000-03-14 22:52:53 +00:00
Peter Eisentraut 1d75298176 Karel Zakr's revised patch to fix psql prompt for local host connections. 2000-03-11 13:56:24 +00:00
Tom Lane 370186e807 Update libpq documentation for PQconndefaults() change. Add section
about thread-safeness of the library.
2000-03-11 03:09:28 +00:00
Peter Eisentraut 0f17e3faab Okay, this time I *really* added the bug reporting guidelines. 2000-03-10 22:32:59 +00:00
Bruce Momjian bbae7a9881 Update TODO list. 2000-03-09 23:22:18 +00:00
Peter Eisentraut 16ace63c6b Added bug reporting guidelines
Some corrections in installation procedure
2000-03-09 12:00:08 +00:00
Michael Meskes 3a81a1a462 *** empty log message *** 2000-03-03 09:56:03 +00:00
Peter Eisentraut c75adac757 More fixes for psql ^C handling, especially during copy. Still doesn't
cope so well with copy to but that will have to wait for the next release.

Also added -X option to prevent reading .psqlrc startup file.
2000-03-01 21:10:05 +00:00
Bruce Momjian 8daa31a21e Add QNX fixes from Kardos, Dr. Andreas 2000-03-01 19:11:12 +00:00
Bruce Momjian 2a18b1507f Update TODO list. 2000-02-28 09:24:47 +00:00
Tom Lane 80b7955d60 Correct bogus syntax in SET example. 2000-02-27 21:07:03 +00:00
Bruce Momjian 8b33278450 Update TODO list. 2000-02-27 19:04:06 +00:00
Bruce Momjian 94ae69f4dc Update TODO list. 2000-02-25 03:24:28 +00:00
Bruce Momjian f40c50627f Fix plpsql for bsdi. 2000-02-23 22:24:46 +00:00
Bruce Momjian 020be62dea Well, here's the first pass on regression
tests for the Foreign Key support in 7.0 which
was made against a CVS copy from this
afternoon.

This modifies
 src/test/regress/sql/run_check.tests
 src/test/regress/sql/alter_table.sql
 src/test/regress/expected/alter_table.out
 src/test/regress/sql/foreign_key.sql
 src/test/regress/expected/foreign_key.out

sszabo@bigpanda.co
2000-02-22 20:58:31 +00:00
Bruce Momjian 62f064592f Update TODO list. 2000-02-22 14:16:36 +00:00
Bruce Momjian 5d91f38a70 Update TODO list. 2000-02-22 14:08:12 +00:00
Bruce Momjian 167dce8912 Update TODO list. 2000-02-22 00:58:51 +00:00
Bruce Momjian 45e2910994 Update TODO list. 2000-02-21 17:06:26 +00:00
Tom Lane f72aad5678 Update discussion of aggregate syntax to mention ALL. 2000-02-21 01:20:41 +00:00
Tom Lane a7f85783fb Update SELECT documentation to have a more thorough discussion
of LIMIT, and fix a few other glitches too.
2000-02-21 01:13:52 +00:00
Peter Eisentraut bd8e071482 Forgot to include the documentation for \encoding ... 2000-02-20 14:29:21 +00:00
Thomas G. Lockhart 58a9ea9d80 Clean up markup so docs will compile. 2000-02-19 08:14:54 +00:00
Thomas G. Lockhart ac324075de Update for new Irix info. 2000-02-19 08:14:33 +00:00
Tom Lane 598ea2c359 Finish repairing 6.5's problems with r-tree indexes: create appropriate
selectivity functions and make the r-tree operators use them.  The
estimation functions themselves are just stubs, unfortunately, but
perhaps someday someone will make them compute realistic estimates.
Change pg_am so that the optimizer can reliably tell the difference
between ordered and unordered indexes --- before it would think that
an r-tree index can be scanned in '<<' order, which is not right AFAIK.
Repair broken negator links for network_sup and related ops.
Initdb forced.  This might be my last initdb force for 7.0 ... hope so
anyway ...
2000-02-17 03:40:02 +00:00
Tom Lane 9c80cceb02 Update EXPLAIN documentation to reflect the fact that the
planner now produces two cost numbers instead of one.
2000-02-15 23:37:49 +00:00
Tom Lane b1577a7c78 New cost model for planning, incorporating a penalty for random page
accesses versus sequential accesses, a (very crude) estimate of the
effects of caching on random page accesses, and cost to evaluate WHERE-
clause expressions.  Export critical parameters for this model as SET
variables.  Also, create SET variables for the planner's enable flags
(enable_seqscan, enable_indexscan, etc) so that these can be controlled
more conveniently than via PGOPTIONS.

Planner now estimates both startup cost (cost before retrieving
first tuple) and total cost of each path, so it can optimize queries
with LIMIT on a reasonable basis by interpolating between these costs.
Same facility is a win for EXISTS(...) subqueries and some other cases.

Redesign pathkey representation to achieve a major speedup in planning
(I saw as much as 5X on a 10-way join); also minor changes in planner
to reduce memory consumption by recycling discarded Path nodes and
not constructing unnecessary lists.

Minor cleanups to display more-plausible costs in some cases in
EXPLAIN output.

Initdb forced by change in interface to index cost estimation
functions.
2000-02-15 20:49:31 +00:00
Thomas G. Lockhart f770a61cfa Rename file to be consistant with other platform-specific FAQs. 2000-02-15 05:22:36 +00:00
Thomas G. Lockhart f0c66e539b Fix extraneous ending tag on libpq.sgml.
Renormalize query.sgml and fix indenting.
2000-02-15 03:57:02 +00:00
Bruce Momjian d891ca1853 Update README.NT with new NT ipc location. 2000-02-14 12:29:58 +00:00
Peter Eisentraut 9672d38f91 Adjusted psql echoing options (-a and -e) 2000-02-13 21:45:15 +00:00
Peter Eisentraut 2fb0ff0c5b Default argument for createdb
Changed EXIT_ON_ERROR to ON_ERROR_STOP in psql
2000-02-10 20:08:58 +00:00
Bruce Momjian 5d93742b8d You will need to copy "config.h.win32" to "config.h" in the include
directory.

I think this patch to the docs should be what is needed.

 Magnus Hagander
2000-02-10 15:47:58 +00:00
Bruce Momjian b1b8fc813f Update length to 31. 2000-02-10 04:08:25 +00:00
Bruce Momjian 1a03ab9c87 Update TODO list. 2000-02-09 20:09:29 +00:00
Bruce Momjian 394af52795 I'm sending patch with new version of to_char numbers formatting.
The PostgreSQL's to_char() is very compatible with Oracle's to_char
 now. I hope that to_char's 3000 rows of source is without bugs, but
 will good if anyone test it, for me it works very well :-)


                                                        Karel

----------------------------------------------------------------------
Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
2000-02-08 15:57:01 +00:00
Peter Eisentraut 9ceb5d8a7b Fixed psql double quoting of SQL ids
Fixed libpq printing functions
2000-02-07 23:10:11 +00:00
Bruce Momjian a64d3bc433 Solaris has always had problems with 1947 in the
regression tests so I prepared a set of expected
files to make things look OK.

There's also a file to account for minor variations
in the geopmetry output and a resultmap patch to
pull them all together.

With these changes PostgreSQL, from CVS, builds and
regression tests (runcheck) cleanly.

Keith Parks.
2000-02-06 05:09:42 +00:00
Bruce Momjian dd14cd63be Update TODO list. 2000-02-05 17:02:43 +00:00
Bruce Momjian 7932f86c53 Update TODO list. 2000-02-04 22:41:28 +00:00
Bruce Momjian df035f762a Update TODO list. 2000-02-04 05:04:55 +00:00
Bruce Momjian 16d0adb93f Update TODO list. 2000-02-03 12:22:33 +00:00
Thomas G. Lockhart 83fd594a3d Add short chapter in developer's guide on formatting source code. 2000-02-02 16:25:04 +00:00
Thomas G. Lockhart 6454ae37a5 Add information on QNX port from Andreas Kardos. 2000-02-02 16:24:19 +00:00
Thomas G. Lockhart 215935daa3 Remove extraneous end tag. Code now compiles cleanly. 2000-02-02 16:23:37 +00:00
Thomas G. Lockhart acaa064fa8 Add info on debian package installation of sgml toolkits. 2000-02-02 16:22:45 +00:00
Thomas G. Lockhart fd54baa945 Add detailed information on Australian time zones. 2000-02-02 16:21:06 +00:00
Thomas G. Lockhart 911fc20c41 Update with current summary information on pgadmin.
From pgadmin author on 99-12-24.
2000-02-02 16:19:54 +00:00
Bruce Momjian 98c6e81e94 Update TODO list. 2000-01-29 17:25:46 +00:00
Peter Eisentraut 2b84cbb60f A few minor psql enhancements
Initdb help correction
Changed end/abort to commit/rollback and changed related notices
Commented out way old printing functions in libpq
Fixed a typo in alter table / alter column
2000-01-29 16:58:54 +00:00
Bruce Momjian 1380921e65 Patch from Hiroshi for overflow btree comparison. 2000-01-28 17:23:47 +00:00
Bruce Momjian 3f6ff32972 Update TODO list. 2000-01-28 04:47:49 +00:00
Bruce Momjian a85b67d05b Update TODO list. 2000-01-28 03:46:06 +00:00
Bruce Momjian 552bd9645c Update TODO list. 2000-01-28 03:40:34 +00:00
Tom Lane dd979f66be Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now
SELECT DISTINCT ON (expr [, expr ...]) targetlist ...
and there is a check to make sure that the user didn't specify an ORDER BY
that's incompatible with the DISTINCT operation.
Reimplement nodeUnique and nodeGroup to use the proper datatype-specific
equality function for each column being compared --- they used to do
bitwise comparisons or convert the data to text strings and strcmp().
(To add insult to injury, they'd look up the conversion functions once
for each tuple...)  Parse/plan representation of DISTINCT is now a list
of SortClause nodes.
initdb forced by querytree change...
2000-01-27 18:11:50 +00:00
Bruce Momjian b866d2e2d7 as attache of this mail is patch (to the main tree) with to_char's
family functions. Contain:

  conversion from a datetype to formatted text:

	to_char( datetime, 	text)
	to_char( timestamp,	text)
	to_char( int4,		text)
	to_char( int8,		text)
	to_char( float4,	text)
	to_char( float8,	text)
	to_char( numeric,	text)

  vice versa:

	to_date		( text, text)
	to_datetime	( text, text)
	to_timestamp	( text, text)
	to_number	( text, text)	   (convert to numeric)


  PostgreSQL to_char is very compatible with Oracle's to_char(), but not
total exactly (now). Small differentions are in number formating. It will
fix in next to_char() version.


! If will this patch aplly to the main tree, must be delete the current
  to_char version in contrib (directory "dateformat" and note in contrib's
  README), this patch not erase it (sorry Bruce).



The patch patching files:

	doc/src/sgml/func.sgml
                     ^^^^^^^^
   Hmm, I'm not sure if my English... :( Check it anyone (volunteer)?

   Thomas, it is right? SGML is not my primary lang  and compile
   the current PG docs tree is very happy job (hard variables setting in
   docs/sgml/Makefile --> HSTYLE= /home/users/t/thomas/....  :-)

   What add any definition to global configure.in and set Makefiles in docs
   tree via ./configure?

	src/backend/utils/adt/Makefile
	src/backend/utils/adt/formatting.c
	src/include/catalog/pg_proc.h
	src/include/utils/formatting.h
Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
2000-01-25 23:53:56 +00:00
Tom Lane 90aaad06cf Remove obsolete references to 8K query limit. 2000-01-25 07:04:04 +00:00
Bruce Momjian ca5771dc27 Update TODO list. 2000-01-24 22:27:59 +00:00
Peter Eisentraut bdb41ad0e7 Made abstime/reltime use int4 instead of time_t (TODO item)
Made type equivalency apply to aggregates (TODO item)
Fixed parsing bug in psql
Reverted some stupid options changes I made to pg_dump
2000-01-24 19:34:19 +00:00
Tom Lane 0dbffa704a First cut at making useful selectivity estimates for range queries
(ie, WHERE x > lowbound AND x < highbound).  It's not very bright yet
but it does something useful.  Also, rename intltsel/intgtsel to
scalarltsel/scalargtsel to reflect usage better.  Extend convert_to_scalar
to do something a little bit useful with string data types.  Still need
to make it do something with date/time datatypes, but I'll wait for
Thomas's datetime unification dust to settle first.  Eventually the
routine ought not have any type-specific knowledge at all; it ought to
be calling a type-dependent routine found via a pg_type column; but
that's a task for another day.
2000-01-24 07:16:52 +00:00
Bruce Momjian da5aba105f Remove Ops parameter from STATRELID cache lookup, for Tom Lane and
optimizer.
2000-01-24 02:12:58 +00:00
Bruce Momjian 4d564c5b12 Update TODO list. 2000-01-23 17:30:18 +00:00
Bruce Momjian 1161077e97 Update TODO list. 2000-01-23 03:28:54 +00:00
Bruce Momjian 0daf852b32 Update TODO list. 2000-01-23 03:19:05 +00:00
Peter Eisentraut 49581f9848 updated install file
updated date/time types doc
fixed small psql bug
removed libpq code that lower-cased db names
make notice when long identifier is truncated
2000-01-23 01:27:39 +00:00
Tom Lane 71ed7eb494 Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000.  The amopselect and amopnpages
estimators are gone, and in their place is a per-AM amcostestimate
procedure (linked to from pg_am, not pg_amop).
2000-01-22 23:50:30 +00:00
Bruce Momjian 3f51bdafdc Update TODO list. 2000-01-22 04:29:46 +00:00
Bruce Momjian 5b7bc48391 Update TODO list. 2000-01-21 03:55:22 +00:00
Bruce Momjian 901aaf34bd Update TODO list. 2000-01-21 00:45:29 +00:00
Bruce Momjian e3415aa834 Rename 7.0.0 to 7.0 to be consistent with prior release numbering. 2000-01-20 22:21:30 +00:00
Peter Eisentraut 13f8875017 Added new pg_id to fix initdb problems
New INSTALL file
Fixed a copyright notice
2000-01-20 21:51:09 +00:00
Peter Eisentraut 65e0051843 another round of user interface cleanups
removed pg_id
fixed a few bugs in the scripts
2000-01-19 20:08:36 +00:00
Peter Eisentraut f565cf41ab another set of cleanups 2000-01-18 23:30:24 +00:00
Bruce Momjian 41d4548b0f Freebsd update for sgml, from Alfred Perlstein 2000-01-18 06:10:54 +00:00
Bruce Momjian 10d7287ab9 Libpq non-blocking mode, from Alfred Perlstein 2000-01-18 06:09:24 +00:00
Peter Eisentraut 28125ed5e0 Updated user interfaces on initdb, initlocation, pg_dump, ipcclean to a GNU-compliant'ish state.
Made ipcclean work on Linux.
2000-01-18 00:03:37 +00:00
Bruce Momjian 6759f4388f Update TODO list. 2000-01-17 02:43:13 +00:00
Peter Eisentraut 759fba4873 Included all yacc and lex files into the distribution. 2000-01-16 20:05:00 +00:00
Bruce Momjian 1b6b4d40ed Update TODO list. 2000-01-16 07:05:35 +00:00
Bruce Momjian fae5d81c68 Update TODO list. 2000-01-16 05:18:07 +00:00
Bruce Momjian 255e07e829 Update TODO list. 2000-01-16 02:35:30 +00:00
Bruce Momjian 3a2e08618c Update TODO list. 2000-01-16 02:32:13 +00:00
Bruce Momjian 0f4a586821 Update TODO list. 2000-01-15 19:32:06 +00:00
Peter Eisentraut 2a1bfbce24 - Allow array on int8
- Prevent permissions on indexes
- Instituted --enable-multibyte option and tweaked the MB build process where necessary
- initdb prompts for superuser password
2000-01-15 18:30:35 +00:00
Peter Eisentraut 7c9390caa1 Fixed psql variables vs array syntax, as well as minor psql enhancements 2000-01-14 22:18:03 +00:00
Peter Eisentraut 4ceb2d0cb6 * User management commands no longer user pg_exec_query_dest -> more robust
* Let unprivileged users change their own passwords.

* The password is now an Sconst in the parser, which better reflects its text datatype and also
forces users to quote them.

* If your password is NULL you won't be written to the password file, meaning you can't connect
until you have a password set up (if you use password authentication).

* When you drop a user that owns a database you get an error. The database is not gone.
2000-01-14 22:11:38 +00:00
Tom Lane 2af360ed1c Clean up some problems in new asynchronous-connection logic
in libpq --- mostly, poor response to error conditions.  You now actually
get to see the postmaster's 'The Data Base System is starting up' message,
which you didn't before.  I suspect the SSL code is still broken though.
2000-01-14 05:33:15 +00:00
Bruce Momjian bb7e85fb85 Update TODO list. 2000-01-14 01:10:22 +00:00
Bruce Momjian e419b48217 Update TODO list. 2000-01-13 13:22:05 +00:00
Bruce Momjian 3af969d4a0 Update TODO list. 2000-01-13 03:39:45 +00:00
Bruce Momjian af53b624f0 Update TODO list. 2000-01-13 03:36:42 +00:00
Bruce Momjian 326a69deeb Update TODO list. 2000-01-13 03:06:29 +00:00
Bruce Momjian e589b9e821 Update TODO list. 2000-01-13 02:38:21 +00:00
Bruce Momjian 7c25123df4 Update TODO list. 2000-01-13 01:57:04 +00:00
Bruce Momjian c6035cd173 Update TODO list. 2000-01-13 01:48:46 +00:00
Peter Eisentraut f6689a328f Fixed a few "fixes" and bugs. Adjusted messages and options to GNU suggestions. 2000-01-12 19:36:36 +00:00
Bruce Momjian 142ce7939d Update TODO list. 2000-01-11 12:11:20 +00:00
Tom Lane ac295f43f5 Update struct Trigger definition. 2000-01-11 05:37:11 +00:00
Tom Lane ac401e06c5 Change oid8/int28 -> oidvector/int2vector. 2000-01-11 01:40:04 +00:00
Bruce Momjian 752314eb26 Update TODO list. 2000-01-10 13:20:57 +00:00
Bruce Momjian 8cc9d8454b Update TODO list. 2000-01-10 04:23:58 +00:00
Tom Lane b86ca72f39 Update platform-specific-expected-file support so that platforms can be
specified by regular-expression patterns.  Add some more files.
2000-01-09 20:54:36 +00:00
Bruce Momjian aa48a22a82 The psql online help for ALTER TABLE (\h alter table) is corrupt. I
traced this back to what I believe is an error in the sgml file used to
generate this comment, found in pgsql/doc/src/sgml/ref/alter_table.sgml.


Stephen Birch
2000-01-09 17:35:27 +00:00
Bruce Momjian b16bd18546 Clearify DECLARE syntax by saying cursorname, not just cursor. 1999-12-30 22:58:10 +00:00
Bruce Momjian 649ffe1616 Improve subquery error message, now says "More than one tuple returned
by subselect used as expression."
1999-12-29 22:57:17 +00:00
Bruce Momjian e1b212ff3b Move ipc patch into README.NT. 1999-12-29 10:28:00 +00:00
Bruce Momjian ad322de0ae Update developers faq. 1999-12-24 16:46:11 +00:00
Bruce Momjian a0fa26bef6 Update developers faq in main tree. 1999-12-21 17:34:05 +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 4cb1fb6f59 Update for QNX. 1999-12-16 16:52:53 +00:00
Bruce Momjian 549a8ba59a > From what I gather, this should be a little cleaner because the
triggered
> function now returns the right datatype.

Oops, I got crossed up with Jan's improvements. Ignore this.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
1999-12-14 00:17:33 +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 cb00b7faa5 I'm in TODO mood today ...
* Document/trigger/rule so changes to pg_shadow recreate pg_pwd

I did it with a trigger and it seems to work like a charm. The function
that already updates the file for create and alter user has been made a
built-in "SQL" function and a trigger is created at initdb time.

Comments around the pg_pwd updating function seem to be worried about
this
routine being called concurrently, but I really don't see a reason to
worry about this. Verify for yourself. I guess we never had a system
trigger before, so treat this with care, and feel free to adjust the
nomenclature as well.

--
Peter Eisentraut                  Sernanders väg 10:115
1999-12-12 05:57:36 +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 e6ac08c398 Update TODO list. 1999-12-11 00:31:37 +00:00
Bruce Momjian cb0032cdcf Update for QNX from Kardos, Dr. Andrea 1999-12-09 15:56:16 +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 7657bce7a0 Clean up doc/Makefile to install manual pages. 1999-12-05 21:23:00 +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
Bruce Momjian daf6ffb6f0 Update TODO list. 1999-11-30 02:14:13 +00:00
Tom Lane fb55fa0478 Remove obsolete note about pg_vlock lock file. 1999-11-28 02:17:43 +00:00
Bruce Momjian 1592c3179f Update TODO list. 1999-11-26 04:38:59 +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 90e0b668a4 Update TODO list. 1999-11-22 18:05:47 +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 106ded2a6e Update TODO list. 1999-11-14 05:11:02 +00:00
Bruce Momjian d286f13b47 Update NT readme with new name. 1999-11-12 17:05:08 +00:00
Bruce Momjian 6b99fcf3e2 Update for documentation in libpq changes. 1999-11-11 21:52:28 +00:00
Bruce Momjian c6c60302ba Cleanup of psql \copyright 1999-11-10 01:22:37 +00:00
Bruce Momjian 32edd98519 Update TODO list. 1999-11-06 16:55:05 +00:00
Bruce Momjian 5e3189eaff Update psql banner 1999-11-05 18:21:09 +00:00
Bruce Momjian e9a5030977 Update TODO list. 1999-11-05 16:38:54 +00:00
Bruce Momjian f793ac0a16 Update psql display. 1999-11-05 15:44:57 +00:00
Bruce Momjian 83c30df0e9 Update TODO list. 1999-11-05 01:04:59 +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 557ca54dce Update TODO list. 1999-10-31 13:19:42 +00:00
Bruce Momjian 23229f49a8 Update TODO list. 1999-10-31 13:10:47 +00:00
Bruce Momjian 60f3e6b3a5 Make USING in COPY optional. 1999-10-29 23:52:22 +00:00
Bruce Momjian 964c649cc1 Update TODO list. 1999-10-27 18:28:59 +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 c5884e03ac Update TODO list. 1999-10-26 04:59:12 +00:00