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

pgsql-server: Allow plpgsql to pass composite-type arguments (ie,

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Allow plpgsql to pass composite-type arguments (ie,
Date: 2004-06-04 00:07:53
Message-ID: 20040604000753.32EA1D1B18C@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Allow plpgsql to pass composite-type arguments (ie, whole-row variables)
into SQL expressions.  At present this only works usefully for variables
of named rowtypes, not RECORD variables, since the SQL parser can't infer
anything about datatypes from a RECORD Param.  Still, it's a step forward.

Modified Files:
--------------
    pgsql-server/src/pl/plpgsql/src:
        gram.y (r1.54 -> r1.55)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpgsql/src/gram.y.diff?r1=1.54&r2=1.55)
        pl_exec.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.102&r2=1.103)

pgsql-committers by date

Next:From: Tom LaneDate: 2004-06-04 02:37:08
Subject: pgsql-server: Support assignment to whole-row variables in plpgsql; also
Previous:From: Tom LaneDate: 2004-06-03 22:56:43
Subject: pgsql-server: Restructure plpgsql's parsing of datatype declarations to

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