Commit Graph

899 Commits

Author SHA1 Message Date
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