pgsql: Adjust psql to use pg_get_triggerdef(pretty=true) to remove extra

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust psql to use pg_get_triggerdef(pretty=true) to remove extra
Date: 2010-01-21 06:11:46
Message-ID: 20100121061146.3FE147541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Adjust psql to use pg_get_triggerdef(pretty=true) to remove extra ()'s
from description of triggers with WHEN clause.

Thanks to Brad T. Sliger for the review.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
ruleutils.c (r1.319 -> r1.320)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.319&r2=1.320)
pgsql/src/bin/psql:
describe.c (r1.234 -> r1.235)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c?r1=1.234&r2=1.235)
pgsql/src/test/regress/expected:
triggers.out (r1.30 -> r1.31)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/triggers.out?r1=1.30&r2=1.31)
pgsql/src/test/regress/sql:
triggers.sql (r1.18 -> r1.19)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/triggers.sql?r1=1.18&r2=1.19)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-01-21 08:19:57 pgsql: Fix bogus comments.
Previous Message Takahiro Itagaki 2010-01-21 03:56:20 Re: pgsql: Write a WAL record whenever we perform an operation without