Commit Graph

1953 Commits

Author SHA1 Message Date
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
Bruce Momjian 06e5f1dfd9 Update TODO list. 2001-05-30 20:17:38 +00:00
Bruce Momjian ff3bffd7f4 Add recent UNDO/VACUUM thread to TODO.detail. 2001-05-30 20:15:28 +00:00
Bruce Momjian f504ad1b4d Update TODO list. 2001-05-30 19:49:42 +00:00
Bruce Momjian 3b9c100770 Update TODO list. 2001-05-30 14:37:51 +00:00
Bruce Momjian 3d56fb7598 This is a docs patch to go with my DROP CONSTRAINT patch.
Christopher Kings
2001-05-30 13:01:08 +00:00
Tom Lane 7d4854f85c Correct obsolete example of FROM-less query. 2001-05-30 04:32:30 +00:00
Bruce Momjian aa665d901f In chapter:
7.7. Keys

you have

    However, my application requires that each collection will also have a
    unique name. Why? So that a human being who wants to modify a collection
    will be able to identify it. It's much harder to know, if you have two
    collections named "Life Science", the the one tagged 24433 is the one
you
    need, and the one tagged 29882 is not

    I think 'the the' shouldn't be repeated twice. Although taken from an
email it would be cool to fix.

Cheers,
Maxim Maletsky
2001-05-30 04:01:11 +00:00
Tom Lane a056f14be0 Cause plpgsql's PERFORM to behave according to its documentation,
which says that PERFORM will execute any SELECT query and discard the
result.  The former implementation would in fact raise an error if the
result contained more than one row or more than one column.

Also, change plpgsql's error-logging mechanism to emit the additional
messages about error location at NOTICE rather than DEBUG level.  This
allows them to be seen by the client without having to dig into the
postmaster log file (which may be nonexistent or inaccessible by the
client).
2001-05-28 19:33:24 +00:00
Peter Eisentraut 3fdfce6839 markup fix 2001-05-28 14:58:58 +00:00
Bruce Momjian 411d7e4278 Update TODO list. 2001-05-28 04:28:36 +00:00
Bruce Momjian 32762facf6 Sample output that appears below the table attributes for \d:
Indicies: palm_buy_date_idx
          palm_user_date_idx
Primary Key: palm_buyers_pkey
Unique Key: palm_buyers_username
Constraint: "$1" ((sex = 'M'::bpchar) OR (sex = 'F'::bpchar))

Note that check constraint name now shown as well.  (Makes it a lot easier
to test inheritance support in ADD/DROP constraint :) )

Attached is a docs change for psql.

Christopher Kings
2001-05-28 04:27:17 +00:00