Commit Graph

463 Commits (6f5c8a8ec23f8ab00da4d2b77bfc8af2a578c4d3)

Author SHA1 Message Date
Simon Riggs 2dbbda02e7 Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions. 15 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Robert Haas e26c539e9f Wrap calls to SearchSysCache and related functions using macros. 16 years ago
Tom Lane 875353b99f Fix assorted core dumps and Assert failures that could occur during 16 years ago
Tom Lane 9a915e596f Improve the handling of SET CONSTRAINTS commands by having them search 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 7fc0f06221 Add a WHEN clause to CREATE TRIGGER, allowing a boolean expression to be 16 years ago
Tom Lane 44956c52c5 Fix AfterTriggerSaveEvent to use a test and elog, not just Assert, to check 16 years ago
Tom Lane 9f2ee8f287 Re-implement EvalPlanQual processing to improve its performance and eliminate 16 years ago
Tom Lane b2734a0d79 Support SQL-compliant triggers on columns, ie fire only if certain columns 16 years ago
Tom Lane 8a5849b7ff Split the processing of INSERT/UPDATE/DELETE operations out of execMain.c. 16 years ago
Tom Lane a2a8c7a662 Support hex-string input and output for type BYTEA. 16 years ago
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
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