Skip site navigation (1) Skip section navigation (2)

pgsql: Use pg_get_triggerdef in pg_dump Add a variant of

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use pg_get_triggerdef in pg_dump Add a variant of
Date: 2009-10-09 21:02:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Use pg_get_triggerdef in pg_dump

Add a variant of pg_get_triggerdef with a second argument "pretty" that
causes the output to be formatted in the way pg_dump used to do.  Use this
variant in pg_dump with server versions >= 8.5.

This insulates pg_dump from most future trigger feature additions, such as
the upcoming column triggers patch.

Author: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>

Modified Files:
        func.sgml (r1.487 -> r1.488)
        ruleutils.c (r1.307 -> r1.308)
        pg_dump.c (r1.549 -> r1.550)
        pg_dump.h (r1.158 -> r1.159)
        catversion.h (r1.543 -> r1.544)
        pg_proc.h (r1.551 -> r1.552)
        builtins.h (r1.339 -> r1.340)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-10-10 01:43:50
Subject: pgsql: Split the processing of INSERT/UPDATE/DELETE operations out of
Previous:From: Tom LaneDate: 2009-10-08 22:34:57
Subject: pgsql: Remove very ancient tuple-counting infrastructure

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group