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: 20091009210257.091A1753FB7@cvs.postgresql.org (view raw or flat)
Thread:
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:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.487 -> r1.488)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.487&r2=1.488)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.307 -> r1.308)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.307&r2=1.308)
    pgsql/src/bin/pg_dump:
        pg_dump.c (r1.549 -> r1.550)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.549&r2=1.550)
        pg_dump.h (r1.158 -> r1.159)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.h?r1=1.158&r2=1.159)
    pgsql/src/include/catalog:
        catversion.h (r1.543 -> r1.544)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h?r1=1.543&r2=1.544)
        pg_proc.h (r1.551 -> r1.552)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h?r1=1.551&r2=1.552)
    pgsql/src/include/utils:
        builtins.h (r1.339 -> r1.340)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/builtins.h?r1=1.339&r2=1.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-2014 The PostgreSQL Global Development Group