pgsql: Adjust psql's new \ef command to present an empty CREATE FUNCTION - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Adjust psql's new \ef command to present an empty CREATE FUNCTION
Date
Msg-id 20080906201808.DF984755325@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Adjust psql's new \ef command to present an empty CREATE FUNCTION template
for editing if no function name is specified.  This seems a much cleaner way
to offer that functionality than the original patch had.  In passing,
de-clutter the error displays that are given for a bogus function-name
argument, and standardize on "$function$" as the default delimiter for the
function body.  (The original coding would use the shortest possible
dollar-quote delimiter, which seems to create unnecessarily high risk of
later conflicts with the user-modified function body.)

Modified Files:
--------------
    pgsql/doc/src/sgml/ref:
        psql-ref.sgml (r1.210 -> r1.211)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/psql-ref.sgml?r1=1.210&r2=1.211)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.283 -> r1.284)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.283&r2=1.284)
    pgsql/src/bin/psql:
        command.c (r1.194 -> r1.195)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c?r1=1.194&r2=1.195)

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: Fix an oversight in the 8.2 patch that improved mergejoin
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Clarify documention workding for xip_list().