Commit Graph

694 Commits (e4597ee65d683e11a57a4b7f597807ebf44b6cf1)

Author SHA1 Message Date
Tom Lane 5fa3418304 Disallow VACUUM, ANALYZE, TRUNCATE on temp tables belonging to other 23 years ago
Tom Lane c328b6dd8b Replace pg_attribute.attisinherited with attislocal and attinhcount 23 years ago
Tom Lane ac355d558e Move most of the error checking for foreign-key constraints out of 23 years ago
Tom Lane feb202193d Fix likely cause of rare ALTER TABLE ADD FOREIGN KEY failures --- 23 years ago
Tom Lane 9a9825f96a Remove heap_mark4update from AlterTableCreateToastTable. This has 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Tom Lane c7a165adc6 Code review for HeapTupleHeader changes. Add version number to page headers 23 years ago
Tom Lane e2d156fa6e Add attisinherited column to pg_attribute; use it to guard against 23 years ago
Tom Lane 64505ed58b Code review for standalone composite types, query-specified composite 23 years ago
Bruce Momjian b60acaf568 The following small patch provides a couple of minor updates (against 23 years ago
Bruce Momjian dd912c6977 This patches replaces a few more usages of strcpy() and sprintf() when 23 years ago
Tom Lane 976246cc7e The cstring datatype can now be copied, passed around, etc. The typlen 23 years ago
Tom Lane 0f1112923c Code review for recent TRUNCATE changes. Tighten relation-kind check, 23 years ago
Bruce Momjian 47b37a6bfa # Disallow TRUNCATE on tables that are involved in referential 23 years ago
Tom Lane 6ebc90b045 Remove Ident nodetype in favor of using String nodes; this fixes some 23 years ago
Bruce Momjian b1a5f87209 Tom Lane wrote: 23 years ago
Tom Lane c1003339d6 Fix permission checking for temp-table namespace. 23 years ago
Tom Lane 15fe086fba Restructure system-catalog index updating logic. Instead of having 23 years ago
Tom Lane 38bb77a5d1 ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 23 years ago
Tom Lane ce7565ab91 Instead of having a configure-time DEFAULT_ATTSTATTARGET, store -1 in 23 years ago
Bruce Momjian b0f5086e41 oid is needed, it is added at the end of the struct (after the null 23 years ago
Tom Lane 5af19e4227 Add more dependency insertions --- this completes the basic pg_depend 24 years ago
Tom Lane 30ec31604d Add code to extract dependencies from an expression tree, and use it 24 years ago
Tom Lane 7bd631bfa4 Use the dependency mechanism to manage column defaults. We need this 24 years ago
Tom Lane 7c6df91dda Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 24 years ago
Bruce Momjian 1666970275 I've fixed up the way domain constraints (not null and type length) 24 years ago
Tom Lane 131f801d37 First phase of applying Rod Taylor's pg_depend patch. This just adds 24 years ago
Tom Lane 507ed0332a Repair AlterTableOwner --- was failing for relations with indexes. 24 years ago
Tom Lane 959e61e917 Remove global variable scanCommandId in favor of storing a command ID 24 years ago
Tom Lane 44fbe20d62 Restructure indexscan API (index_beginscan, index_getnext) per 24 years ago
Tom Lane 22d641a7d4 Get rid of the last few uses of typeidTypeName() rather than 24 years ago
Tom Lane 3389a110d4 Get rid of long-since-vestigial Iter node type, in favor of adding a 24 years ago
Tom Lane c06f6a6bc2 Support toasting of shared system relations, and provide toast tables for 24 years ago
Tom Lane 31c775adeb Restructure aclcheck error reporting to make permission-failure 24 years ago
Tom Lane 7de307f96c Move renametrig() from tablecmds.c to trigger.c --- if we're going to 24 years ago
Bruce Momjian 3a96b6cdeb Attached is a patch for ALTER TRIGGER RENAME per the above thread. I 24 years ago
Bruce Momjian adf7cc04cb Doc fix for INSERT ... (DEFAULT, ...) 24 years ago
Tom Lane 5dd1c713d0 Oops, forgot we had a macro to encapsulate test for type toastability. 24 years ago
Tom Lane 3faf224ace Fix incorrect Assert; install a more trustworthy check on whether 24 years ago
Tom Lane 6d6ca2166c Change naming rule for ON SELECT rules of views: they're all just 24 years ago
Tom Lane 201737168c pg_trigger's index on tgrelid is replaced by a unique index on 24 years ago
Tom Lane b3120804ad Rule names are now unique per-relation, rather than unique globally. 24 years ago
Bruce Momjian bbae09c2cb CATALOG VERSION UPDATED: 24 years ago
Tom Lane 71dc300a37 The contents of command.c, creatinh.c, define.c, remove.c and rename.c 24 years ago
Bruce Momjian 872911bc41 Fix comment dashes. 24 years ago
Tom Lane 9999f5a10e Checking to decide whether relations are system relations now depends 24 years ago
Bruce Momjian 50b5d4bf76 Add mention of function CREATE INDEX usage. 24 years ago
Hiroshi Inoue c26a44db08 Removed obsolete DROP_COLUMN_HACK stuff. 24 years ago
Tom Lane 789ddcb5fe Add tgconstrrelid to stored Trigger structures, make RI trigger functions 24 years ago
Tom Lane 9b77f61930 ALTER TABLE SET/DROP NOT NULL, from Christopher Kings-Lynne. 24 years ago