Commit Graph

250 Commits (25d9bf2e3e66ee2e546c5c523d148ecab6ee1dcc)

Author SHA1 Message Date
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
Tom Lane f08e5e92e8 Fix the just-reported problem that you can't specify all four trigger event 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 3cb5d6580a Support column-level privileges, as required by SQL standard. 17 years ago
Heikki Linnakangas c079090bbc Update comments to reflect that tgenabled is not a boolean anymore. 17 years ago
Magnus Hagander fa40ca42a6 Make some strings translatable again that were accidentally removed in 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane c98a923786 Fix failure to ensure that a snapshot is available to datatype input functions 17 years ago
Magnus Hagander 822f26069e Fix a few more format argument warnings. 17 years ago
Tom Lane e4718f2c9e Replace pg_class.reltriggers with relhastriggers, which is just a boolean hint 17 years ago
Tom Lane 902d1cb35f Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 17 years ago
Tom Lane 312b1a983f Reduce the memory footprint of large pending-trigger-event lists, as per my 17 years ago
Tom Lane b153c09209 Add a bunch of new error location reports to parse-analysis error messages. 17 years ago
Tom Lane a1c692358b Adjust things so that the query_string of a cached plan and the sourceText of 17 years ago
Tom Lane 9d035f4254 Clean up the use of some page-header-access macros: principally, use 17 years ago
Tom Lane 93c701edc6 Add support for tracking call counts and elapsed runtime for user-defined 18 years ago
Alvaro Herrera 5da9da71c4 Improve snapshot manager by keeping explicit track of snapshots. 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane 7692d8d5b7 Support statement-level ON TRUNCATE triggers. Simon Riggs 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
Tom Lane 20e862155f Forbid ALTER TABLE and CLUSTER when there are pending AFTER-trigger events 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 895a94de6d Avoid incrementing the CommandCounter when CommandCounterIncrement is called 18 years ago
Bruce Momjian f639df0d61 Small comment spacing improvement. 18 years ago
Bruce Momjian 7d4c99b414 Fix pgindent to properly handle 'else' and single-line comments on the 18 years ago
Tom Lane df87074092 Improve conversion of legacy CREATE CONSTRAINT TRIGGER representation of 18 years ago
Tom Lane 5e0377ae7e Minor improvements to code for converting legacy CREATE CONSTRAINT TRIGGER 18 years ago
Tom Lane a2899ebdc2 Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key 18 years ago
Tom Lane 6889303531 Redefine the lp_flags field of item pointers as having four states, rather 18 years ago
Tom Lane 817946bb04 Arrange to cache a ResultRelInfo in the executor's EState for relations that 18 years ago
Tom Lane 9cb8409762 Repair problems occurring when multiple RI updates have to be done to the same 18 years ago
Tom Lane 2c535bfe81 Fix incorrect optimization of foreign-key checks. When an UPDATE on the 18 years ago
Tom Lane 8f55b9a8ba Avoid memory leakage when a series of subtransactions invoke AFTER triggers 18 years ago
Jan Wieck 0fe16500d3 Changes pg_trigger and extend pg_rewrite in order to allow triggers and 19 years ago
Tom Lane 7bddca3450 Fix up foreign-key mechanism so that there is a sound semantic basis for the 19 years ago
Bruce Momjian 5af6b2abe9 Properly detoast access to bytea field pg_trigger.tgargs. Old code 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 395249ecbe Several changes to reduce the probability of running out of memory during 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian 45c8ed96b9 Make some sentences consistent with similar ones. 19 years ago
Tom Lane f8bbfad075 Disallow TRUNCATE when there are any pending after-trigger events for 19 years ago
Tom Lane f5b78fa51f Fix AfterTriggerExecute() to pass tg_trigtuple and tg_newtuple as NULLs 19 years ago
Tom Lane 09d3670df3 Change the relation_open protocol so that we obtain lock on a relation 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Andrew Dunstan bbcd01692b DROP ... IF EXISTS for the following cases: 20 years ago
Bruce Momjian 87bd07d979 Make EXPLAIN sampling smarter, to avoid excessive sampling delay. 20 years ago
Bruce Momjian 02eb8f4f5c Use schema search path to find the first matching contraint name for SET 20 years ago