Re: [HACKERS] PL/pgSQL a great procedural language for PostgreSQL - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] PL/pgSQL a great procedural language for PostgreSQL
Date
Msg-id 3642A06C.835D53ED@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] PL/pgSQL a great procedural language for PostgreSQL  (jwieck@debis.com (Jan Wieck))
Responses linux libc6 & pgsql 6.4  (Zsolt Varga <redax@agria.hu>)
List pgsql-hackers
>     For arguments passed by value it
>     is totally impossible to know if it's a NULL  by  looking  at
>     the value itself.

Is this a sufficient reason to move toward having all user-oriented data
types be pass-by-reference? If we don't do that, then we would need to
pass a null flag for every parameter, or an array of flags, or have some
global array which contains the null flags (which we might get away with
since Postgres is pretty much single threaded and non-reentrant in the
backend code). What other options might there be?
                      - Tom


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Next
From: Constantin Teodorescu
Date:
Subject: A plpgsql question !