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

pgsql: Allow the second argument of pg_get_expr() to be just zero when

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow the second argument of pg_get_expr() to be just zero when
Date: 2009-05-26 17:36:06
Message-ID: 20090526173606.0939175331E@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Allow the second argument of pg_get_expr() to be just zero when deparsing
an expression that's not supposed to contain variables.  Per discussion
with Gevik Babakhani, this eliminates the need for an ugly kluge (namely,
specifying some unrelated relation name).  Remove one such kluge from
pg_dump.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.480 -> r1.481)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.480&r2=1.481)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.297 -> r1.298)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.297&r2=1.298)
    pgsql/src/bin/pg_dump:
        pg_dump.c (r1.536 -> r1.537)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.536&r2=1.537)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-05-26 22:51:57
Subject: Re: pgsql: Removed comparison of unsigned expression < 0.
Previous:From: Tom LaneDate: 2009-05-26 02:17:50
Subject: pgsql: Remove the useless and rather inconsistent return values of

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