Commit Graph

2064 Commits

Author SHA1 Message Date
Tom Lane
c8076f09d2 Restructure index AM interface for index building and index tuple deletion,
per previous discussion on pghackers.  Most of the duplicate code in
different AMs' ambuild routines has been moved out to a common routine
in index.c; this means that all index types now do the right things about
inserting recently-dead tuples, etc.  (I also removed support for EXTEND
INDEX in the ambuild routines, since that's about to go away anyway, and
it cluttered the code a lot.)  The retail indextuple deletion routines have
been replaced by a "bulk delete" routine in which the indexscan is inside
the access method.  I haven't pushed this change as far as it should go yet,
but it should allow considerable simplification of the internal bookkeeping
for deletions.  Also, add flag columns to pg_am to eliminate various
hardcoded tests on AM OIDs, and remove unused pg_am columns.

Fix rtree and gist index types to not attempt to store NULLs; before this,
gist usually crashed, while rtree managed not to crash but computed wacko
bounding boxes for NULL entries (which might have had something to do with
the performance problems we've heard about occasionally).

Add AtEOXact routines to hash, rtree, and gist, all of which have static
state that needs to be reset after an error.  We discovered this need long
ago for btree, but missed the other guys.

Oh, one more thing: concurrent VACUUM is now the default.
2001-07-15 22:48:19 +00:00
Bruce Momjian
1e3eacc6f1 Update TODO list. 2001-07-15 14:34:02 +00:00
Peter Eisentraut
1a17447be1 NLS for libpq. Clean up the message formats and change the documentation
accordingly.
2001-07-15 13:45:04 +00:00
Bruce Momjian
379ac0d03a Update TODO list. 2001-07-13 18:22:03 +00:00
Bruce Momjian
fb02b000a7 Update TODO list. 2001-07-13 17:58:31 +00:00
Bruce Momjian
3647a72262 Update TODO list. 2001-07-13 00:57:37 +00:00
Bruce Momjian
5ab456b7ba Update TODO list. 2001-07-12 21:47:13 +00:00
Bruce Momjian
bc26c83ca9 Add jdbc items. 2001-07-12 19:59:55 +00:00
Tom Lane
3284758a17 Remove grammar restrictions on order of optional clauses in CREATE GROUP.
From Vince Vielhaber.
2001-07-12 18:03:00 +00:00
Bruce Momjian
eaafc9d66c Update TODO list. 2001-07-12 03:53:11 +00:00
Bruce Momjian
7771436e18 > > Put encode() into base system. Used part of Alex' patch
> > for docs, hope he does not mind ;)

Marko Kreen
2001-07-11 22:14:03 +00:00
Bruce Momjian
75d872aa69 More comment out of block quote. 2001-07-11 21:27:07 +00:00
Bruce Momjian
4cf7b823ce Update TODO list. 2001-07-11 20:40:06 +00:00
Bruce Momjian
461ea6b796 Better document use of ident on localhost, per Tom Lane's idea. 2001-07-11 20:32:11 +00:00
Bruce Momjian
62f5badebf Remove mention that PREPARE is not implemented. 2001-07-11 03:43:52 +00:00
Bruce Momjian
28aeb0a019 Update FAQ_DEV. 2001-07-11 02:13:20 +00:00
Bruce Momjian
6d5a9d05e0 Update FAQ. 2001-07-11 01:01:56 +00:00
Tom Lane
320b6db090 Changes from Vince Vielhaber to allow the optional clauses of CREATE
USER and ALTER USER to appear in any order, not only the fixed order
they used to be required to appear in.
Also, some changes from Tom Lane to create a FULL option for VACUUM;
it doesn't do anything yet, but I needed to change many of the same
files to make that happen, so now seemed like a good time.
2001-07-10 22:09:29 +00:00
Bruce Momjian
21d73aa211 Update TODO list. 2001-07-10 21:36:09 +00:00
Tom Lane
cb052e0bf1 Fix rule rewriter so that new ordering of ON INSERT actions applies
in cases of qualified rules as well as unqualified ones.  Tweak rules
test to avoid cluttering output with dummy SELECT results.  Update
documentation to match code.
2001-07-09 23:50:32 +00:00
Tom Lane
4fe42dfbc3 Add SHARE UPDATE EXCLUSIVE lock mode, coming soon to a VACUUM near you.
Name chosen per pghackers discussion around 6/22/01.
2001-07-09 22:18:34 +00:00
Bruce Momjian
8902f49abb Update TODO list. 2001-07-09 21:39:51 +00:00
Bruce Momjian
4404c9aedd Add to replication. 2001-07-09 21:34:31 +00:00
Bruce Momjian
c0e78467d8 Update TODO list. 2001-07-09 21:32:06 +00:00
Bruce Momjian
2366c34ad4 Update TODO list. 2001-07-09 21:29:58 +00:00
Bruce Momjian
c42bd5a046 Add replication emails. 2001-07-09 20:03:49 +00:00
Bruce Momjian
79c3d4b2c9 Update TODO list. 2001-07-09 19:57:29 +00:00
Bruce Momjian
dbf30bba4a Update TODO list. 2001-07-07 04:25:07 +00:00
Bruce Momjian
3355bba1e1 Update TODO list. 2001-07-07 04:23:17 +00:00
Bruce Momjian
4fc5b32b4b Update TODO list. 2001-07-06 18:23:10 +00:00
Tatsuo Ishii
21af10acb8 Fix typo. createdb -t --> createdb -T 2001-07-06 02:01:35 +00:00
Bruce Momjian
84587e93d8 Update TODO list. 2001-07-04 14:59:07 +00:00
Bruce Momjian
86bc2d91c3 Correct substring() example, found by Thomas T. Thai. 2001-07-03 02:42:18 +00:00
Peter Eisentraut
10e9cd2299 Allow default transaction isolation level (a.k.a. set session
characteristics) to be set through GUC.
2001-06-30 22:03:26 +00:00
Peter Eisentraut
e4a40cc353 fix markup 2001-06-30 22:01:17 +00:00
D'Arcy J.M. Cain
34d1cf8d35 The System V resources discussed here apply to NetBSD as well. In fact
I just finished changing the GENERIC files and the options(4) man page
on NetBSD to make this clearer.
2001-06-30 21:15:57 +00:00
Bruce Momjian
b6f75fe786 Update TODO list. 2001-06-29 21:28:16 +00:00
Bruce Momjian
4fe8490b5d Add replication email. 2001-06-29 20:10:12 +00:00
Bruce Momjian
56720e52b8 Add info on MATCH PARTIAL. 2001-06-29 20:07:23 +00:00
Bruce Momjian
9a162a39d9 Add to thread item. 2001-06-28 15:19:11 +00:00
Tom Lane
e0c9301c87 Install infrastructure for shared-memory free space map. Doesn't actually
do anything yet, but it has the necessary connections to initialization
and so forth.  Make some gestures towards allowing number of blocks in
a relation to be BlockNumber, ie, unsigned int, rather than signed int.
(I doubt I got all the places that are sloppy about it, yet.)  On the
way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC
variable.
2001-06-27 23:31:40 +00:00
Bruce Momjian
0787b904dc Add jdbc item. 2001-06-27 18:07:11 +00:00
Bruce Momjian
c418512e7a Update TODO list. 2001-06-27 18:06:49 +00:00
Bruce Momjian
069ea33073 Update TODO list. 2001-06-27 18:05:37 +00:00
Bruce Momjian
69ac9e9cd3 Update TODO list. 2001-06-27 17:27:40 +00:00
Bruce Momjian
f62c5f861a Update TODO list. 2001-06-27 16:24:17 +00:00
Bruce Momjian
ef20f0ce25 Update TODO list. 2001-06-26 19:43:11 +00:00
Bruce Momjian
5d9ffb0cdf Update TODO list. 2001-06-26 15:07:59 +00:00
Bruce Momjian
0225f2f1c7 Update TODO list. 2001-06-26 04:04:49 +00:00
Bruce Momjian
b9d258e872 Update TODO list. 2001-06-26 04:03:25 +00:00
Bruce Momjian
a0c12d5e90 Add TEMPORARY sequences and have SERIAL on a temp table have a temporary
sequence.
2001-06-23 00:07:34 +00:00
Peter Eisentraut
280b5f4be6 fix markup 2001-06-23 00:03:10 +00:00
Peter Eisentraut
adf1c52ce6 updates for new startup sequence, some reformatting 2001-06-22 23:27:48 +00:00
Bruce Momjian
9e39ffe4cd Attached is documentation describing plperlu differences from plperl.
Alex Pilosov
2001-06-22 21:37:14 +00:00
Tom Lane
7d6e28149e Mention that EXPLAIN results on small tables shouldn't be extrapolated
to large tables.  Recommend ANALYZE or VACUUM ANALYZE after populating
a table.
2001-06-22 18:53:36 +00:00
Tom Lane
116d2bba7e Add IS UNKNOWN, IS NOT UNKNOWN boolean tests, fix the existing boolean
tests to return the correct results per SQL9x when given NULL inputs.
Reimplement these tests as well as IS [NOT] NULL to have their own
expression node types, instead of depending on special functions.
From Joe Conway, with a little help from Tom Lane.
2001-06-19 22:39:12 +00:00
Tom Lane
ec96f1dacd Fix some references to USE_AUSTRALIAN_RULES that Bruce missed;
plus a few trivial improvements in wording.
2001-06-18 19:05:11 +00:00
Bruce Momjian
bf2a92365c Update FAQ. 2001-06-18 18:56:03 +00:00
Bruce Momjian
7dac778561 Add GUC setting for Australian timezones. Uses new GUC boolean callback
functions to clear date cache.  Allow regression tests to pass when
timezone set.
2001-06-18 16:14:44 +00:00
Bruce Momjian
0bba6bdb8a Improve wording of authentication files. 2001-06-18 16:11:30 +00:00
Tom Lane
2adf1ce63c Oops, forgot to commit doco updates for has_table_privilege. 2001-06-15 21:03:07 +00:00
Bruce Momjian
d7763c1f9c Docs for:
> >> inet(text), cidr(text): convert a text value into inet/cidr
> >> set_masklen(inet): set masklen on the inet value

Alex Pilosov
2001-06-13 22:51:02 +00:00
Bruce Momjian
dbe49b8c66 Update TODO list. 2001-06-13 20:17:05 +00:00
Bruce Momjian
c1db506ab7 Add Updatable view mention. 2001-06-12 18:15:59 +00:00
Bruce Momjian
a0316a19e3 Update TODO list. 2001-06-12 18:15:50 +00:00
Bruce Momjian
76e9ad1f55 Back out has_table_privilege patch. 2001-06-12 16:34:27 +00:00
Bruce Momjian
3c3ff4288d Update TODO list. 2001-06-12 16:18:11 +00:00
Bruce Momjian
55abc36e15 Update TODO list. 2001-06-12 14:50:24 +00:00
Tom Lane
1d584f97b9 Clean up various to-do items associated with system indexes:
pg_database now has unique indexes on oid and on datname.
pg_shadow now has unique indexes on usename and on usesysid.
pg_am now has unique index on oid.
pg_opclass now has unique index on oid.
pg_amproc now has unique index on amid+amopclaid+amprocnum.
Remove pg_rewrite's unnecessary index on oid, delete unused RULEOID syscache.
Remove index on pg_listener and associated syscache for performance reasons
(caching rows that are certain to change before you need 'em again is
rather pointless).
Change pg_attrdef's nonunique index on adrelid into a unique index on
adrelid+adnum.

Fix various incorrect settings of pg_class.relisshared, make that the
primary reference point for whether a relation is shared or not.
IsSharedSystemRelationName() is now only consulted to initialize relisshared
during initial creation of tables and indexes.  In theory we might now
support shared user relations, though it's not clear how one would get
entries for them into pg_class &etc of multiple databases.

Fix recently reported bug that pg_attribute rows created for an index all have
the same OID.  (Proof that non-unique OID doesn't matter unless it's
actually used to do lookups ;-))

There's no need to treat pg_trigger, pg_attrdef, pg_relcheck as bootstrap
relations.  Convert them into plain system catalogs without hardwired
entries in pg_class and friends.

Unify global.bki and template1.bki into a single init script postgres.bki,
since the alleged distinction between them was misleading and pointless.
Not to mention that it didn't work for setting up indexes on shared
system relations.

Rationalize locking of pg_shadow, pg_group, pg_attrdef (no need to use
AccessExclusiveLock where ExclusiveLock or even RowExclusiveLock will do).
Also, hold locks until transaction commit where necessary.
2001-06-12 05:55:50 +00:00
Bruce Momjian
94cb2201bf Update FAQ. 2001-06-11 16:27:52 +00:00
Tom Lane
88ba401879 Update EXPLAIN discussion and examples to match current sources. 2001-06-11 00:52:09 +00:00
Bruce Momjian
5021fcb5e4 Add inheritance. 2001-06-10 03:48:16 +00:00
Bruce Momjian
23c25ab36e Update TODO list. 2001-06-10 03:48:05 +00:00
Bruce Momjian
091b262008 Update or remove mentions of versions where appropriate. 2001-06-10 03:46:31 +00:00
Bruce Momjian
26c94c5d9c Update TODO list. 2001-06-10 02:58:51 +00:00
Bruce Momjian
ab36eeaaa2 Add to TODO.detail. 2001-06-10 02:57:33 +00:00
Bruce Momjian
933adb3e37 Update TODO list. 2001-06-10 01:25:01 +00:00
Peter Eisentraut
7ceed2a9b5 Allow GRANT/REVOKE to/from more than one user per invocation. Command tag
for GRANT/REVOKE is now just that, not "CHANGE".

On the way, migrate some of the aclitem internal representation away from
the parser and build a real parse tree instead.  Also add some 'const'
qualifiers.
2001-06-09 23:21:55 +00:00
Bruce Momjian
3247989130 Update FAQ. 2001-06-09 14:40:41 +00:00
Tom Lane
7c106621de Fix a few missed NOIND usages. 2001-06-09 02:19:07 +00:00
Bruce Momjian
695f2395c2 Add to TODO.detail. 2001-06-07 20:06:16 +00:00
Bruce Momjian
a5875d7c86 Update TODO list. 2001-06-07 20:05:56 +00:00
Bruce Momjian
4ee76ad884 reset all: command line and .conf options change defaults
on RESET ALL those are restored.

show all: GUC + non-GUC.

SHOW ALL, RESET ALL

Marko Kreen
2001-06-07 04:50:57 +00:00
Bruce Momjian
ce370eec35 Update TODO list. 2001-06-06 04:53:50 +00:00
Bruce Momjian
28d2420eef This patch adds support for %TYPE in CREATE FUNCTION argument and return
types.  This version has an elog() to remind the user the type
resolution is not dynamic.

Ian Lance Taylor
2001-06-04 23:27:23 +00:00
Bruce Momjian
0a93285d88 Update with new email on ftp location of Karel patch. 2001-06-04 20:52:51 +00:00
Bruce Momjian
603fa2d5d7 Add Ross's email to schema. 2001-06-04 20:29:08 +00:00
Bruce Momjian
4dd5feb6df Add schema mention. 2001-06-04 20:28:21 +00:00
Bruce Momjian
5075a98996 Update TODO list. 2001-06-04 20:27:52 +00:00
Bruce Momjian
cadf7ee34e Add domain to TODO.detail 2001-06-04 20:13:01 +00:00
Bruce Momjian
8b74f70d68 Update TODO list. 2001-06-04 20:12:22 +00:00
Bruce Momjian
1df27f9a59 Update TODO list. 2001-06-02 19:11:42 +00:00
Peter Eisentraut
e542036461 Native Language Support (NLS)
Use --enable-nls to turn it on; see installation instructions for details.
See developer's guide how to make use of it in programs and how to add
translations.

psql sources have been almost fully prepared and an incomplete German
translation has been provided.  In the backend, only elog() calls are
currently translatable, and the provided German translation file is more
of a placeholder.
2001-06-02 18:25:18 +00:00
Tom Lane
0b370ea7c8 Clean up some minor problems exposed by further thought about Panon's bug
report on old-style functions invoked by RI triggers.  We had a number of
other places that were being sloppy about which memory context FmgrInfo
subsidiary data will be allocated in.  Turns out none of them actually
cause a problem in 7.1, but this is for arcane reasons such as the fact
that old-style triggers aren't supported anyway.  To avoid getting burnt
later, I've restructured the trigger support so that we don't keep trigger
FmgrInfo structs in relcache memory.  Some other related cleanups too:
it's not really necessary to call fmgr_info at all while setting up
the index support info in relcache entries, because those ScanKeyEntry
structs are never used to invoke the functions.  This should speed up
relcache initialization a tiny bit.
2001-06-01 02:41:36 +00:00
Bruce Momjian
a1d9d096f0 Update release 1.09 date 2001-06-01 00:24:21 +00:00
Bruce Momjian
e5b412bd79 Forgot SGML section section id tag for 7.1. 2001-05-31 21:49:15 +00:00
Bruce Momjian
0cee65b51f Update TODO list. 2001-05-31 14:49:24 +00:00
Bruce Momjian
227a584655 Update FAQ. 2001-05-30 23:00:41 +00:00
Bruce Momjian
e07d894990 Update FAQ. 2001-05-30 22:58:00 +00:00
Bruce Momjian
e05d246084 Oops, had 0.2 release date wrong. 2001-05-30 22:04:33 +00:00