Commit Graph

7588 Commits

Author SHA1 Message Date
Tom Lane
da1ad323b7 Update comments. 2000-07-25 04:30:42 +00:00
Bruce Momjian
b9e6f068dc Update bsdi template 2000-07-24 13:53:16 +00:00
Bruce Momjian
f28ec8c5af more doc cleanups 2000-07-24 13:17:44 +00:00
Philip Warner
93802c88bb pg_backup_plain_text.c replaced by pg_backup_null.c 2000-07-24 06:30:16 +00:00
Philip Warner
bb080400f8 - no longer put ACLs at end of dump
- connect as appropriate user in pg_restore with db connection
- dump owner of rule in pg_dump
2000-07-24 06:24:26 +00:00
Tom Lane
cd9f0ca545 Deduce equality constraints that are implied by transitivity of
mergejoinable qual clauses, and add them to the query quals.  For
example, WHERE a = b AND b = c will cause us to add AND a = c.
This is necessary to ensure that it's safe to use these variables
as interchangeable sort keys, which is something 7.0 knows how to do.
Should provide a useful improvement in planning ability, too.
2000-07-24 03:11:01 +00:00
Peter Eisentraut
c39c198bc3 Unset locale variables before running regression tests. (All of them!)
Don't do config.status substitutions into the regression test makefile.
2000-07-23 13:01:11 +00:00
Tom Lane
8d77c1a8aa Clean up some sloppy casts --- Oid vs. Datum, that sort of thing. 2000-07-23 03:50:26 +00:00
Tom Lane
e4e6459c0f Further cleanup of array behavior. Slice assignments to arrays with
varlena elements work now.  Allow assignment to previously-nonexistent
subscript position to extend array, but only for 1-D arrays and only
if adjacent to existing positions (could do more if we had a way to
represent nulls in arrays, but I don't want to tackle that now).
Arrange for assignment of NULL to an array element in UPDATE to be a
no-op, rather than setting the entire array to NULL as it used to.
(Throwing an error would be a reasonable alternative, but it's never
done that...)  Update regress test accordingly.
2000-07-23 01:36:05 +00:00
Peter Eisentraut
ef2a6b8b83 Shed some light onto SysV IPC configuration. 2000-07-22 14:49:01 +00:00
Peter Eisentraut
100dd889d6 typos 2000-07-22 14:48:01 +00:00
Jan Wieck
f67e79045d 2nd try for the index tuple toast hack. This time as suggested
by Tom.

Jan
2000-07-22 11:18:47 +00:00
Tom Lane
a5a12887a1 Make update lists like 'UPDATE tab SET foo[1] = bar, foo[3] = baz'
work as expected.  THe underlying implementation is essentially
'SET foo = array_set(foo, 1, bar)', so we have to turn the items
into nested invocations of array_set() to make it work correctly.
Side effect: we now complain about 'UPDATE tab SET foo = bar, foo = baz'
which is illegal per SQL92 but we didn't detect it before.
2000-07-22 06:19:04 +00:00
Bruce Momjian
2019e24dd8 spell cleanups 2000-07-22 04:45:10 +00:00
Bruce Momjian
4140085adb spell cleanups 2000-07-22 04:30:27 +00:00
Tom Lane
4bdb348628 Remove 'Array' node type, which has evidently been dead code for
a very long time.
2000-07-22 04:22:47 +00:00
Tom Lane
1afdccc8b2 Missed some array updates ... 2000-07-22 04:16:13 +00:00
Tom Lane
d0e17e2112 Arrays are toastable. (At least if you initdb, which I didn't force.)
Remove a bunch of crufty code for large-object-based arrays, which is
superseded by TOAST and likely hasn't worked in a long time anyway.
Clean up array code a little, and in particular eliminate its habit
of scribbling on the input array (ie, modifying the input tuple :-().
2000-07-22 03:34:43 +00:00
Bruce Momjian
ec37ea1cc1 Cleanups 2000-07-22 02:39:10 +00:00
Peter Eisentraut
bb13830d6f maintainer-clean and distclean ought to remove dependency information as well. 2000-07-22 01:48:53 +00:00
Tom Lane
cf14ccd0ea Fix typo in version-mismatch error report. 2000-07-21 22:27:29 +00:00
Tom Lane
421f0baaff Further cleanup of btbuild (CREATE INDEX). Avoid storing unneeded
left keys during bottom-up index build, and leave some free space
instead of packing the pages to the brim (so as to avoid vast numbers
of page splits during the first interactive insertions).
2000-07-21 22:14:09 +00:00
Tom Lane
1ea912e16d Fix sloppiness about alignment requirements in findsplitloc() space
calculation, also make it stop when it has a 'good enough' split instead
of exhaustively trying all split points.
2000-07-21 19:21:00 +00:00
Bruce Momjian
2f011a9c72 More doc cleanups, from book. 2000-07-21 18:51:24 +00:00
Bruce Momjian
c281847fcd More doc cleanups 2000-07-21 17:58:49 +00:00
Bruce Momjian
c62e961da1 Update for sh. 2000-07-21 14:51:00 +00:00
Philip Warner
c3e18804ff - Support for TAR output
- Support for BLOB output from pg_dump and input via pg_restore
- Support for direct DB connection in pg_restore
- Fixes in support for --insert flag
- pg_dump now outputs in modified OID order
2000-07-21 11:43:26 +00:00
Philip Warner
e8f69be054 - Support for BLOB output from pg_dump and input via pg_restore
- Support for direct DB connection in pg_restore
- Fixes in support for --insert flag
- pg_dump now outputs in modified OID order
- various other bug fixes
2000-07-21 11:40:08 +00:00
Jan Wieck
0143d391c6 Need to switch to tuples memory context when replacing the toasted
one with the plain one.

Jan
2000-07-21 11:18:51 +00:00
Jan Wieck
82f3945a67 Temporary fix to make TOAST vacuum-safe. All values are forced to be
in memory (plain or compressed) in the tuple returned from the heap-am.
So no index will ever contain an external reference.

Jan
2000-07-21 10:31:31 +00:00
Tom Lane
9e85183bfc Major overhaul of btree index code. Eliminate special BTP_CHAIN logic for
duplicate keys by letting search go to the left rather than right when an
equal key is seen at an upper tree level.  Fix poor choice of page split
point (leading to insertion failures) that was forced by chaining logic.
Don't store leftmost key in non-leaf pages, since it's not necessary.
Don't create root page until something is first stored in the index, so an
unused index is now 8K not 16K.  (Doesn't seem to be as easy to get rid of
the metadata page, unfortunately.)  Massive cleanup of unreadable code,
fix poor, obsolete, and just plain wrong documentation and comments.
See src/backend/access/nbtree/README for the gory details.
2000-07-21 06:42:39 +00:00
Bruce Momjian
c9537ca88f cleanup 2000-07-21 04:49:23 +00:00
Bruce Momjian
e78ec6f247 cleanup 2000-07-21 04:48:33 +00:00
Bruce Momjian
e440e7246d Cleanup 2000-07-21 04:42:28 +00:00
Bruce Momjian
268bdd7237 Cleanujp 2000-07-21 04:37:10 +00:00
Bruce Momjian
d07d5d8d01 Cleanup 2000-07-21 04:25:05 +00:00
Bruce Momjian
2aeb2c642c reference page cleanup 2000-07-21 03:38:22 +00:00
Bruce Momjian
6c2b5b2a80 Clean up flags 2000-07-21 03:14:33 +00:00
Bruce Momjian
b30da17081 Fix postgres -A options flags 2000-07-21 03:13:32 +00:00
Peter Eisentraut
8004bcf00e Update installation instructions to new realities. Combined into one file.
Improved automation of INSTALL file generation.
2000-07-21 00:44:13 +00:00
Bruce Momjian
cc9707247e Change > prompt to $ 2000-07-21 00:42:34 +00:00
Bruce Momjian
1b7c13ea7b Change prompt % to $. 2000-07-21 00:24:37 +00:00
Bruce Momjian
32f9b86466 Update FAQ. 2000-07-20 20:31:38 +00:00
Bruce Momjian
709392b8e3 Update FAQ. 2000-07-20 20:13:15 +00:00
Bruce Momjian
d811461bb9 Update FAQ. 2000-07-20 17:48:37 +00:00
Bruce Momjian
d1693d256d Update FAQ. 2000-07-20 17:48:36 +00:00
Bruce Momjian
78a1e0bde7 Update FAQ. 2000-07-20 17:45:32 +00:00
Bruce Momjian
32862533d8 Update FAQ. 2000-07-20 17:44:18 +00:00
Bruce Momjian
d67caaf120 Update FAQ. 2000-07-20 17:43:22 +00:00
Bruce Momjian
07537ffcad Update FAQ. 2000-07-20 17:40:38 +00:00