Commit Graph

16948 Commits

Author SHA1 Message Date
Jan Wieck
6b86d62b00 2nd try for the ARC strategy.
I added a couple more Assertions while tracking down the exact
cause of the former bug.

All 93 regression tests pass now.

Jan
2003-11-13 14:57:15 +00:00
Jan Wieck
923e994d79 ARC strategy backed out ... sorry
Jan
2003-11-13 05:34:58 +00:00
Bruce Momjian
256d2f09b5 Update for 7.4 release. 2003-11-13 04:23:03 +00:00
Bruce Momjian
74cbe6352d Update MSWIN FAQ
Christopher Kings-Lynne
2003-11-13 03:53:00 +00:00
Bruce Momjian
e82511855a Add to Win32 discussion. 2003-11-13 03:45:33 +00:00
Tom Lane
9a9890d842 Add fflush() calls so that I'm-about-to-do-this messages actually
come out before the action is done.
2003-11-13 01:36:00 +00:00
Tom Lane
88dd65ae9f Fix lack of optreset. 2003-11-13 01:09:24 +00:00
Jan Wieck
48adc0b34b Replacement of the buffer replacement strategy with an ARC
algorithm adopted for PostgreSQL.

Jan
2003-11-13 00:40:02 +00:00
Tom Lane
27e8ef0535 AcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably
my fault.  Adding it fixes bogus message display when reading a block
comment at the end of a script file.
2003-11-12 22:53:16 +00:00
Peter Eisentraut
934c21344c Documentation cleanup 2003-11-12 22:47:47 +00:00
Tom Lane
fa5c8a055a Cross-data-type comparisons are now indexable by btrees, pursuant to my
pghackers proposal of 8-Nov.  All the existing cross-type comparison
operators (int2/int4/int8 and float4/float8) have appropriate support.
The original proposal of storing the right-hand-side datatype as part of
the primary key for pg_amop and pg_amproc got modified a bit in the event;
it is easier to store zero as the 'default' case and only store a nonzero
when the operator is actually cross-type.  Along the way, remove the
long-since-defunct bigbox_ops operator class.
2003-11-12 21:15:59 +00:00
Bruce Momjian
49f98fa833 Here's some improvements. I just ended up referring people to Jason's
website for install as service, because it's a quite a long and complex
process.

Christopher Kings-Lynne
2003-11-12 04:14:30 +00:00
Bruce Momjian
ab6295f204 Add:
> * Ignore temporary tables from other session when processing inheritance
2003-11-12 04:10:43 +00:00
Bruce Momjian
4bcd3b42b9 Here's a patch that adds some text mentioning that
RESTRICT is not deferrable to the create table reference
page.

Stephan Szabo
2003-11-12 04:08:07 +00:00
Bruce Momjian
f719f0f6db Typo fix in comment from David Wheeler 2003-11-12 03:27:26 +00:00
Bruce Momjian
973e625b3e Update:
> * Add free-behind capability for large sequential scans (fadvise)
2003-11-12 00:25:35 +00:00
Bruce Momjian
fec809c549 Cleanup for recent .exe Win32 fix. 2003-11-12 00:04:10 +00:00
Bruce Momjian
018cf0f76e Update /port C header descriptions. 2003-11-11 23:52:45 +00:00
Bruce Momjian
0a2c82b5f7 Add .exe to Win32 stat calls. Don't symlink postmaster on Win32. 2003-11-11 03:53:33 +00:00
Bruce Momjian
580fb7fb41 Add system_views.sql to CVS. 2003-11-11 02:00:00 +00:00
Bruce Momjian
1060c4c4c4 Move system_views.sql into backend/catalog, per Tom. 2003-11-11 01:58:23 +00:00
Bruce Momjian
f612b16dc2 * ioctlsocket_ret
- is not initialized to 1 (at least in the WIN_32 code I started with!)

Claudio Natoli
2003-11-11 01:09:42 +00:00
Bruce Momjian
0ca6939c10 Updated version of initdb with "rmdir/del" call on Win32.
Other cleanups as discussed.
2003-11-10 22:52:10 +00:00
Bruce Momjian
279598bb71 Add C version of initdb, from Andrew Dunstan.
This is his original version with a binary rmdir() we might need in the
future.

I will commit an update version with cleanups shortly.
2003-11-10 22:51:16 +00:00
Bruce Momjian
5e8a8865e7 Update freenode mention. 2003-11-10 22:47:35 +00:00
Bruce Momjian
f41ecc6d69 Update release notes for polymorphic functions. 2003-11-10 22:27:00 +00:00
Bruce Momjian
79f8f5fc0d Update IRC to mention freenet instead of openprojects. 2003-11-10 21:56:08 +00:00
Michael Meskes
135ecf8d96 Re-added forgotten cache. 2003-11-10 20:28:30 +00:00
Bruce Momjian
7da19cac89 Remove rcsid CVS header variable --- not used. 2003-11-10 19:40:46 +00:00
Tom Lane
c1d62bfd00 Add operator strategy and comparison-value datatype fields to ScanKey.
Remove the 'strategy map' code, which was a large amount of mechanism
that no longer had any use except reverse-mapping from procedure OID to
strategy number.  Passing the strategy number to the index AM in the
first place is simpler and faster.
This is a preliminary step in planned support for cross-datatype index
operations.  I'm committing it now since the ScanKeyEntryInitialize()
API change touches quite a lot of files, and I want to commit those
changes before the tree drifts under me.
2003-11-09 21:30:38 +00:00
Bruce Momjian
723825afeb Add:
> * Have psql '\i ~/<tab><tab>' actually load files it displays from home dir
2003-11-09 04:23:50 +00:00
Bruce Momjian
abcc4b9a91 I have attached a more comprehensive MSWIN FAQ patch. Basically, the
instructions were way out of date and incorrect.  Installing Postgres
from Cygwin is easier these days than the FAQ would imply.

This patch already includes Andrew's previous patch.

Christopher Kings-Lynne
2003-11-09 03:47:51 +00:00
Bruce Momjian
db1d3e7bee Add:
> * Have psql \dn show only visible schemas using current_schemas()
2003-11-09 03:41:25 +00:00
Bruce Momjian
6479ee28c0 Fix typo on autovacuum readme. 2003-11-09 03:15:46 +00:00
Bruce Momjian
14e7a651b4 Add:
> * Use more reliable method for CREATE DATABASE to get a consistent copy of db
>
2003-11-09 00:41:14 +00:00
Bruce Momjian
e065443a39 Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
2003-11-08 20:54:24 +00:00
Tom Lane
97edeec6d2 Correct misspellings of REFERENCES. 2003-11-08 20:43:52 +00:00
Tom Lane
45fe4042df Restore compatibility with Tcl 8.0.* --- from ljb. 2003-11-08 20:34:36 +00:00
Tom Lane
153e83027d Don't need hack copy of system() anymore in OS X 10.3. 2003-11-08 20:14:51 +00:00
Michael Meskes
87758314ca Made sure an internal array is not treated as a user defined one. 2003-11-08 19:46:27 +00:00
Tom Lane
449593a9fb Fix process-status handling for OS X 10.3. 2003-11-08 19:07:24 +00:00
Peter Eisentraut
b657ded2c5 Adjust file so psql help picks it up properly.
patch by Kris Jurka
2003-11-08 11:06:37 +00:00
Tom Lane
f8a769b47a Cause stats processes to detach from shared memory when started, so that
they do not prevent the postmaster from deleting the shmem segment during
a post-backend-crash restart cycle.  Per recent discussion.
2003-11-07 21:55:50 +00:00
Tom Lane
7e4a629492 zero_damaged_pages must absolutely NOT be marked GUC_DISALLOW_IN_FILE,
else it cannot be used to handle failures detected during WAL replay.
Fortunately this flag isn't actually enforced yet, but get it right.
2003-11-07 21:27:38 +00:00
Bruce Momjian
ab0e426cdc Typo fix. 2003-11-07 17:02:09 +00:00
Bruce Momjian
cddc7f2746 Add:
> * Allow CREATE TABLE foo (f1 INT CHECK (f1 > 0) CHECK (f1 < 10)) to work
>   by searching for non-conflicting constraint names, and prefix with table name
2003-11-07 15:31:14 +00:00
Tom Lane
e1b47c2dbd Minor copy-editing. 2003-11-06 22:21:47 +00:00
Peter Eisentraut
96889392e9 Implement isolation levels read uncommitted and repeatable read as acting
like the next higher one.
2003-11-06 22:08:15 +00:00
Peter Eisentraut
144a2ecd57 Make the detection of nsgmls more robust for funny shells. 2003-11-06 10:30:42 +00:00
Tom Lane
e4044ba2d7 Fix for this problem:
regression=# select 1 from tenk1 ta cross join tenk1 tb for update;
ERROR:  no relation entry for relid 3

7.3 said "SELECT FOR UPDATE cannot be applied to a join", which was better
but still wrong, considering that 7.2 took the query just fine.  Fix by
making transformForUpdate() ignore JOIN and other special RTE types,
rather than trying to mark them FOR UPDATE.  The actual error message now
only appears if you explicitly name the join in FOR UPDATE.
2003-11-05 22:00:46 +00:00