]> granicus.if.org Git - postgresql/commit
Adjust psql to use pg_get_triggerdef(pretty=true) to remove extra ()'s
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 21 Jan 2010 06:11:46 +0000 (06:11 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Thu, 21 Jan 2010 06:11:46 +0000 (06:11 +0000)
commit3b992cf5904c6149d5b8d3b4a86a590f3d057a41
tree4b478a047917a4911e2b45a0c1a63efc7399be49
parent58565d78db67cfb4752ef3d3e315aa9ce3c9d946
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.
src/backend/utils/adt/ruleutils.c
src/bin/psql/describe.c
src/test/regress/expected/triggers.out
src/test/regress/sql/triggers.sql