Commit Graph

694 Commits (e4597ee65d683e11a57a4b7f597807ebf44b6cf1)

Author SHA1 Message Date
Tom Lane 060baf2784 Merge the Constraint and FkConstraint node types into a single type. 16 years ago
Tom Lane 25d9bf2e3e Support deferrable uniqueness constraints. 16 years ago
Tom Lane c1b9ec24ef Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid. 16 years ago
Andrew Dunstan e73131a16a DROP IF EXISTS for columns and constraints. Andres Freund. 16 years ago
Peter Eisentraut de160e2c00 Make backend header files C++ safe 16 years ago
Tom Lane 6566e37e02 Move some declarations in the raw-parser header files to create a clearer 16 years ago
Tom Lane f08e5e92e8 Fix the just-reported problem that you can't specify all four trigger event 16 years ago
Tom Lane 44aa60fa7c Revisit AlterTableCreateToastTable's API once again, hoping to make it what 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Heikki Linnakangas 7340793f31 Silence a gcc compiler warning about non-literal format string with no args 17 years ago
Tom Lane d4a363cdf2 Modify find_inheritance_children() and find_all_inheritors() to add the 17 years ago
Tom Lane 0ada559187 Do some minor code refactoring in preparation for changing the APIs of 17 years ago
Tom Lane 1e06ed1abe Add an option to AlterTableCreateToastTable() to allow its caller to force 17 years ago
Tom Lane 948d6ec90f Modify the relcache to record the temp status of both local and nonlocal 17 years ago
Tom Lane 6d1e361852 Change ALTER TABLE SET WITHOUT OIDS to rewrite the whole table to physically 17 years ago
Alvaro Herrera 3a5b773715 Allow reloption names to have qualifiers, initially supporting a TOAST 17 years ago
Tom Lane 3cb5d6580a Support column-level privileges, as required by SQL standard. 17 years ago
Peter Eisentraut ca8100f9eb Add ONLY support to LOCK and TRUNCATE. By default, these commands are now 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 17 years ago
Tom Lane 4da65a23e7 Code review for CREATE OR REPLACE VIEW patch. Do things in a saner order to 17 years ago
Tom Lane 65e3ea7641 Increase the default value of default_statistics_target from 10 to 100, 17 years ago
Bruce Momjian ff1ea2173a Allow CREATE OR REPLACE VIEW to add columns to the _end_ of the view. 17 years ago
Heikki Linnakangas 3396000684 Rethink the way FSM truncation works. Instead of WAL-logging FSM 17 years ago
Alvaro Herrera 03e5248d0f Replace the usage of heap_addheader to create pg_attribute tuples with regular 17 years ago
Tom Lane 902d1cb35f Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 17 years ago
Peter Eisentraut d1b02e7648 Use format_type_be() instead of TypeNameToString() for some more user-facing 17 years ago
Heikki Linnakangas fa3938fcb1 When a relation is moved to another tablespace, we can't assume that we can 17 years ago
Tom Lane a0b76dc662 Create a separate grantable privilege for TRUNCATE, rather than having it be 17 years ago
Tom Lane b153c09209 Add a bunch of new error location reports to parse-analysis error messages. 17 years ago
Tom Lane a2794623d2 Extend the parser location infrastructure to include a location field in 17 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 17 years ago
Heikki Linnakangas 3f0e808c4a Introduce the concept of relation forks. An smgr relation can now consist 17 years ago
Tom Lane 5ef5abe372 Fix previous patch so that it actually works --- consider TRUNCATE foo, public.foo 17 years ago
Bruce Momjian 895a4bccb6 Allow TRUNCATE foo, foo to succeed, per report from Nikhils. 17 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 18 years ago
Tom Lane 906f27dd73 Make DROP INDEX lock the parent table before locking the index. This behavior 18 years ago
Tom Lane a0b012a1ab Rearrange ALTER TABLE syntax processing as per my recent proposal: the 18 years ago
Tom Lane 0cefb50f3c Refactor the handling of the various DropStmt variants so that when multiple 18 years ago
Tom Lane 63e98b55f0 Coercion sanity check in ri_HashCompareOp failed to allow for enums, as per 18 years ago
Tom Lane 10a3471bed Add a RESTART (without parameter) option to ALTER SEQUENCE, allowing a 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane cd902b331d Change the rules for inherited CHECK constraints to be essentially the same 18 years ago
Tom Lane 5c068038ff Fix ALTER TABLE ADD COLUMN ... PRIMARY KEY so that the new column is correctly 18 years ago
Tom Lane e86237ff31 Fix my brain fade in TRUNCATE triggers patch: can't release relcache refcounts 18 years ago
Tom Lane 7692d8d5b7 Support statement-level ON TRUNCATE triggers. Simon Riggs 18 years ago
Tom Lane 039dfbfd5d Reduce the need for frontend programs to include "postgres.h" by refactoring 18 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago
Alvaro Herrera 78f02ca1f5 Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 18 years ago
Alvaro Herrera d43b085d57 Separate snapshot management code from tuple visibility code, create a 18 years ago