pgsql: Remove plpgsql's RENAME declaration, which has bizarre and mostly - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove plpgsql's RENAME declaration, which has bizarre and mostly
Date
Msg-id 20091105165836.BA46B753FB7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional
behavior, and is so little used that no one has been interested in fixing it.
To ensure that possible uses are covered, remove the ALIAS declaration's
arbitrary restriction that only $n identifiers can be aliased.

(We could alternatively make RENAME act just like ALIAS, but per discussion
having two different ways to do the same thing is probably more confusing than
helpful.)

Modified Files:
--------------
    pgsql/doc/src/sgml:
        plpgsql.sgml (r1.143 -> r1.144)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpgsql.sgml?r1=1.143&r2=1.144)
    pgsql/src/pl/plpgsql/src:
        gram.y (r1.129 -> r1.130)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.129&r2=1.130)
        pl_funcs.c (r1.82 -> r1.83)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_funcs.c?r1=1.82&r2=1.83)
        plpgsql.h (r1.118 -> r1.119)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/plpgsql.h?r1=1.118&r2=1.119)
        scan.l (r1.72 -> r1.73)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l?r1=1.72&r2=1.73)
    pgsql/src/test/regress/expected:
        plpgsql.out (r1.76 -> r1.77)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plpgsql.out?r1=1.76&r2=1.77)
    pgsql/src/test/regress/sql:
        plpgsql.sql (r1.64 -> r1.65)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plpgsql.sql?r1=1.64&r2=1.65)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allow binary-coercible cases in ri_HashCompareOp; there are some
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: reenable -> re-enable Pointed out by Debian's lintian.