Commit Graph

11873 Commits

Author SHA1 Message Date
Tom Lane a34f313223 Fix copy-and-paste mistake exposed by gcc warning. 2002-01-08 23:34:47 +00:00
Tom Lane bf2e5eedf0 In a VPATH build, resultmap must be one of the symlinked files, else
pg_regress doesn't see it and you don't get any port-specific
comparisons.
2002-01-08 21:00:30 +00:00
Peter Eisentraut 154ccb6040 Revert last change (CFLAGS+=-g). Probably was a mistake... 2002-01-08 20:41:28 +00:00
Bruce Momjian aecd85d3a1 Update Lockhart's email address.
< * Thomas is Thomas Lockhart <lockhart@alumni.caltech.edu>
---
> * Thomas is Thomas Lockhart <lockhart@fourpalms.org>
2002-01-08 20:04:31 +00:00
Bruce Momjian 89e6ce1245 Update Thomas Lockhart's email address to lockhart@fourpalms.org. 2002-01-08 20:03:58 +00:00
Tom Lane 61dd8b6dc4 Remove shift/reduce conflicts introduced by last change. 2002-01-08 19:02:51 +00:00
Peter Eisentraut 9c9a72b807 Repair the GEQO bibliography. It was marked up all wrong. Move some of
the info to the main bibliography.
2002-01-08 18:03:26 +00:00
Tom Lane 649d8543d3 Fix lpad() and rpad() to produce correct results in variable-length
multibyte encodings.
2002-01-08 17:03:41 +00:00
Peter Eisentraut f8728467ff Point to main CPAN site, and reword a little. 2002-01-08 16:13:41 +00:00
Tom Lane d09f6f7741 Minor wordsmithing. 2002-01-08 15:38:42 +00:00
Peter Eisentraut a6e704ce95 Make FreeBSD URL point to the right chapter again. 2002-01-08 15:16:16 +00:00
Michael Meskes 1e15f9e119 Fixed array pointers, no longer using void * in arithmetics. 2002-01-08 14:25:06 +00:00
Bruce Momjian 055d4f9208 Email address no longer valid. 2002-01-08 05:45:19 +00:00
Bruce Momjian cc9ae0b63c Update bad URL's with good ones. 2002-01-08 05:39:26 +00:00
Bruce Momjian f88aa2d653 Update my2pg to version 1.22. 2002-01-07 22:36:51 +00:00
Tom Lane 6d6b3e911c Add variants of digest() and hmac() that accept text inputs.
Marko Kreen says:
This is so obvious that I would like to make it 'official'.

Seems like the theology around bytea<>text casting kept me from
seeing the simple :)
2002-01-07 18:56:09 +00:00
Tom Lane 5b9a058384 Tweak LWLock algorithms so that an awakened waiter for a lock is not
granted the lock when awakened; the signal now only means that the lock
is potentially available.  The waiting process must retry its attempt
to get the lock when it gets to run.  This allows the lock releasing
process to re-acquire the lock later in its timeslice.  Since LWLocks
are usually held for short periods, it is possible for a process to
acquire and release the same lock many times in a timeslice.  The old
spinlock-based implementation of these locks allowed for that; but the
original coding of LWLock would force a process swap for each acquisition
if there was any contention.  Although this approach reopens the door to
process starvation (a waiter might repeatedly fail to get the lock),
the odds of that being a big problem seem low, and the performance cost
of the previous approach is considerable.
2002-01-07 16:33:00 +00:00
Michael Meskes 54452833ef Fixed parser to accept initializing expressions starting with "(". 2002-01-07 16:25:45 +00:00
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