Commit Graph

11755 Commits

Author SHA1 Message Date
Peter Eisentraut
731204e090 Editorial review 2002-01-07 02:29:15 +00:00
Tom Lane
a510bf4326 If we fail to fork a new backend process, (try to) report the failure
to the client before closing the connection.  Before 7.2 this was done
correctly, but new code would simply close the connection with no report
to the client.
2002-01-06 21:40:02 +00:00
Bruce Momjian
96ad60e919 Fix ecpg wording to be consistent. 2002-01-06 18:12:00 +00:00
Bruce Momjian
88ebc0f2f7 Remove ecpg TODO section:
> Looking at this I also found an ecpg TODO list in the docs:
>
>
http://candle.pha.pa.us/main/writings/pgsql/sgml/ecpg-develop.html
>
> Seems that TODO section should be removed.  Some items are done,
others
> are on the main TODO list.

That's correct. I did not fix the docs for quite some time.

Michael
--
Michael Meskes
2002-01-06 17:54:14 +00:00
Tom Lane
e59c15e4bb Fix copy-and-paste brain damage. (These commands do not create a
database.)
2002-01-06 03:33:26 +00:00
Tom Lane
3b6cbce458 Add CHECK_FOR_INTERRUPTS() in various strategic spots, per comments
from Hiroshi.
2002-01-06 00:37:44 +00:00
Barry Lind
734e421278 Bugfix for bug reported by Marcus Better (marcus@dactylis.com). When preforming
a get on a bytea value the code was running the raw value from the server
through character set conversion, which if the character set was SQL_ASCII
would cause all 8bit characters to become ?'s.
2002-01-05 22:26:23 +00:00
Bruce Momjian
f3efaf892e Spelling fix:
< * Consider use of open/fctl(O_DIRECT) to minimize OS caching
---
> * Consider use of open/fcntl(O_DIRECT) to minimize OS caching
2002-01-05 04:03:47 +00:00
Bruce Momjian
3ef4925fdc Re-order items:
> * Consider use of open/fctl(O_DIRECT) to minimize OS caching
> * Make blind writes go through the file descriptor cache
391d392
< * Make blind writes go through the file descriptor cache
409d409
< * Consider use of open/fctl(O_DIRECT) to minimize OS caching
2002-01-04 21:32:28 +00:00
Bruce Momjian
7a38672169 Added:
> * Consider use of open/fctl(O_DIRECT) to minimize OS caching
2002-01-04 21:08:42 +00:00
Bruce Momjian
99a3396822 ecpg.sgml manual page updated to ON.
---------------------------------------------------------------------------

When you run 'ecpg --help' you get the following:

          -t   turn on autocommit of transactions

amongst the other options... Shouldn't this be OFF as per the
documentation?

Best regards, Lee.

--
 Lee Kindness,   Senior Software Engineer,   lkindness@csl.co.uk
2002-01-04 18:58:46 +00:00
Bruce Momjian
35fcb84946 Change:
<   perhaps CREATE DATABASE dbname WITH USER = "user" (Gavin)
---
>   perhaps CREATE DATABASE dbname WITH OWNER = "user" (Gavin)
2002-01-04 18:42:40 +00:00
Bruce Momjian
11d4c2c590 Add from Vadim:
> * Allow command blocks that can ignore certain types of errors
2002-01-04 18:23:56 +00:00
Tom Lane
1aff1d30d6 Fix some incorrect and obsolete commentary. 2002-01-04 17:06:51 +00:00
Thomas G. Lockhart
c5c28ed06a Add more complete details on date/time keywords and parsing rules.
Move some tabular information on these from the chapter on data types to
 the appendix on dates and times.
2002-01-04 17:02:25 +00:00
Thomas G. Lockhart
c826d1cefb Have to_date() call timestamptz_date() per Karel's email instructions.
Fixes time zone problems introduced by Thomas' implementation of
 TIMESTAMP WITHOUT TIME ZONE which caused the behavior of the previously
 appropriate routine, timestamp_date(), to change for the worse in this
 context.
2002-01-04 15:49:42 +00:00
Bruce Momjian
5a60ba5078 Replace #ifdef, #endif with # requires comment. 2002-01-04 05:50:25 +00:00
Bruce Momjian
0b79ed2745 Update FAQ. 2002-01-04 05:44:45 +00:00
Bruce Momjian
b5213b5c37 Give attribution:
<   perhaps CREATE DATABASE dbname WITH USER = "user"
---
>   perhaps CREATE DATABASE dbname WITH USER = "user" (Gavin)
2002-01-04 05:03:15 +00:00
Bruce Momjian
f27b0eeea7 Remove:
< * Allow only owner to create indexes
2002-01-04 04:53:26 +00:00
Tom Lane
dc6b4deb97 Require ownership permission for CREATE INDEX, per bug report.
Disallow CREATE INDEX on system catalogs, non-tables (views, sequences, etc).
Disallow CREATE/DROP TRIGGER on system catalogs, non-tables.
Disallow ALTER TABLE ADD/DROP CONSTRAINT on system catalogs.
Disallow FOREIGN KEY reference to non-table.
None of these things can actually work in the present system structure,
but the code was letting them pass without complaint.
2002-01-03 23:21:32 +00:00
Tom Lane
d02f0aaa3b Instead of waiting a fixed amount of time for the test postmaster to
start up, wait until a psql connection attempt succeeds.  Per gripe
from Jason Tishler.
2002-01-03 21:52:05 +00:00
Bruce Momjian
0e3793e621 Prefer savepoints term:
< 	  allow error codes to be specified; requires nested transactions
---
> 	  allow error codes to be specified; requires savepoints
321c321
< * Allow nested transactions / savepoints [transactions]
---
> * Allow savepoints / nested transactions [transactions]
2002-01-03 21:15:04 +00:00
Bruce Momjian
a2dc469ac7 Update:
< 	  allow error codes to be specified
---
> 	  allow error codes to be specified; requires nested transactions
2002-01-03 20:42:23 +00:00
Tom Lane
ab20692e1e SPI_cursor_open must copy by-reference parameter values into the
portal's memory context, so that they will live as long as the portal does.
2002-01-03 20:30:47 +00:00
Bruce Momjian
6d78fdae7f Add:
> 	o Allow COPY to report error lines and continue;  optionally
> 	  allow error codes to be specified
2002-01-03 18:25:43 +00:00
Bruce Momjian
258af1d57a Add:
> * Make equals sign optional in CREATE DATABASE WITH param = 'val'
2002-01-03 18:22:43 +00:00
Bruce Momjian
8dcc4c058d Added:
> * Prevent create/drop scripts from allowing extra args (Bruce)
2002-01-03 18:13:14 +00:00
Tom Lane
f7fb29dec3 Shouldn't try to copy null datums with datumCopy. 2002-01-03 18:01:59 +00:00
Bruce Momjian
b8ef396d6b Added:
> * Allow only owner to create indexes
2002-01-03 17:31:52 +00:00
Bruce Momjian
13acb5b37d Updated:
< * Add config file check for $ODBCINI, $HOME/.odbc.ini, and /etc/odbc.ini
---
> * Add config file check for $ODBCINI, $HOME/.odbc.ini, installpath/etc/odbc.ini
2002-01-03 17:29:31 +00:00
Bruce Momjian
85974a75fc Add to java mention of pl/j. 2002-01-03 17:18:19 +00:00
Bruce Momjian
b9da4b726c Droplang didn't have test for -l, list. This was really broken too.
Took test from createlang.
2002-01-03 08:53:00 +00:00
Bruce Momjian
4ecd278991 Add mention that createlang.sh indirection not needed but kept for later. 2002-01-03 08:38:00 +00:00
Bruce Momjian
8be67450aa Update FAQ_DEV. 2002-01-03 08:20:54 +00:00
Bruce Momjian
5b24a98f2a Update FAQ_DEV. 2002-01-03 08:13:51 +00:00
Bruce Momjian
9c00d0de57 Added
> * Add config file check for $ODBCINI, $HOME/.odbc.ini, and /etc/odbc.ini
2002-01-03 08:04:16 +00:00
Bruce Momjian
b96b0415fa Added suggested syntax:
> * Make it easier to create a database owned by someone who can't createdb,
>   perhaps CREATE DATABASE dbname WITH USER = "user"
2002-01-03 08:01:17 +00:00
Bruce Momjian
b490469cb9 > > On Fri, Dec 21, 2001 at 11:43:21AM +0800, Christopher Kings-Lynne
wrote:
> > > Just testing pgcrypto on freebsd/alpha.  I get some warnings:
> > They should be harmless, although I should fix them.
>
> The actual code is:
>
>     if ((dlen & 15) || (((unsigned) res) & 3))
>         return -1;

> Hard to imagine how (uint *) & 3 makes any sense, unless res isn't
> always a (uint8 *).  Is that true?

At some point it was casted to (uint32*) so I wanted to be sure its ok.
ATM its pointless.  Please apply the following patch.

--
marko
2002-01-03 07:21:48 +00:00
Bruce Momjian
bc29b06b0a Add mention of index on foreign key for frequently updated primary key
tables.
2002-01-03 06:26:22 +00:00
Bruce Momjian
a4ee277e17 droplang had same problem as createlang; default are backwards and did
not work.  Fixed to match createlang.
2002-01-03 06:09:02 +00:00
Bruce Momjian
f9b792c5c3 Add to pool discussion. 2002-01-03 05:52:48 +00:00
Bruce Momjian
2446e300fa Added
< 	o Move to using 'make' rather than 'ant'(?)
---
> 	o Support both 'make' and 'ant'
2002-01-03 05:48:48 +00:00
Bruce Momjian
9d77dcc366 Add mention of PRIMARY in ALTER TABLE ... [ UNIQUE | PRIMARY ] 2002-01-03 05:37:43 +00:00
Bruce Momjian
04f3342e03 In createlang, make dbname optional, not langname, or rather, make
existing code of dbname optional actually work.
2002-01-03 05:30:04 +00:00
Bruce Momjian
b3d9768f3b Remove:
< * Change 'createlang [langname] dbname' to 'createlang langname [dbname]'
2002-01-03 05:20:34 +00:00
Bruce Momjian
d5de91ddad Added:
> * Change 'createlang [langname] dbname' to 'createlang langname [dbname]'
2002-01-03 05:06:50 +00:00
Tom Lane
b36df04ce2 Guard against roundoff errors in new selectivity-estimation code,
per bug report from Laurette Cisneros.
2002-01-03 04:02:34 +00:00
Tom Lane
bb2bff498c Fix to_timestamp/to_date so that zero year input for Y, YY, or YYY
formats will be taken as 2000, not year zero.  Per bug report from
Aasmund Midttun Godal.  Fix from Karel Zak.
2002-01-02 22:09:23 +00:00
Tom Lane
e274325e02 Fix incorrect description of rowtype variable declarations. Eventually
(IMHO) the code should be fixed to do what the documentation formerly
claimed, and then revert this change.
2002-01-02 00:41:26 +00:00