Jan Wieck
7c360d65a8
Added documentation for the new interface between the buffer manager
...
and the cache replacement strategy as well as a description of the
ARC algorithm and the special tailoring of that done for PostgreSQL.
Jan
2003-11-14 04:32:11 +00:00
Peter Eisentraut
0a203594a9
Translation updates
2003-11-14 02:08:17 +00:00
Tom Lane
18f58a048e
Preliminary code review for C version of initdb. Re-centralize handling
...
of option switches for backend, fix handling of COPY from data files so
that we won't have the newline-after-\. issue back again, add back some
comments and printouts lost from the shell script, etc. Still needs work
for error handling; in particular the shell version worked much more
nicely for the case of a postgres executable that fails on invocation.
2003-11-13 23:46:31 +00:00
Tom Lane
01e62da191
Dunno why this got committed with DOS newlines, but fix that, and
...
add a header comment/copyright notice.
2003-11-13 22:13:39 +00:00
Tom Lane
c7bfc7df0a
Silly to copy sprompt.c from src/port when we're linking libpgport anyway.
2003-11-13 20:30:37 +00:00
Bruce Momjian
90823299ad
pgindent new initdb.c from Tom.
2003-11-13 20:12:47 +00:00
Peter Eisentraut
b9f5c93b75
Regenerate text files.
2003-11-13 18:03:11 +00:00
Bruce Momjian
ad89c2ae25
Add owner description to initdb C code.
...
Andrew Dunstan
2003-11-13 15:01:40 +00:00
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
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
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
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
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
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
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
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
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
Dave Cramer
622736aa4a
Added missing methods
2003-11-05 11:57:53 +00:00
Peter Eisentraut
07eb9fb20b
Add -O to really trigger compiler bug.
2003-11-05 07:42:31 +00:00
Peter Eisentraut
23c292688f
Add detection of compiler bug.
2003-11-05 00:09:08 +00:00
Peter Eisentraut
d28bacd897
Add note to update config.guess and config.sub at the start of beta.
2003-11-04 10:33:28 +00:00
Peter Eisentraut
c119c554ed
Improve message wording for spinlocks-missing compilation error.
2003-11-04 09:53:36 +00:00
Dave Cramer
b720fa96fb
patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases
2003-11-03 15:28:26 +00:00
Dave Cramer
efea5da4fa
accept url and fk action fix from Kris Jurka
2003-11-03 15:22:07 +00:00
Michael Meskes
90e53f0c16
Fixed potentially uninitialized memory bug in compatlib.
2003-11-03 14:44:28 +00:00
Tom Lane
b402503fb6
Adjust data types in some of the UNION tests to avoid potentially
...
platform-dependent results, as per example from Larry Rosenman.
2003-11-02 22:35:26 +00:00
Tom Lane
eeaf5f04ae
Provide a way to run the parallel regression tests with a user-specified
...
limit on the number of simultaneous connections. Andrew Dunstan, with
review by Tom Lane.
2003-11-02 21:56:15 +00:00
Peter Eisentraut
1af403e42d
Complete options help and put it in less random order.
2003-11-02 12:55:24 +00:00
Peter Eisentraut
0543af2f12
Fix CFLAGS logic.
2003-11-01 20:45:30 +00:00
Peter Eisentraut
f7e5e9d493
More whitespace fixes. Do people write the expected files by hand?
2003-11-01 03:18:20 +00:00