Re: [HACKERS] Patch - please apply - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Patch - please apply
Date
Msg-id 199810021621.MAA10284@candle.pha.pa.us
Whole thread Raw
In response to Patch - please apply  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
Applied.

> Hi,
>
>     the  following  little  patch  adds array references to query
>     parameters. With it applied a function like
>
>     CREATE FUNCTION getname(oid8, int4) RETURNS name AS
>         'SELECT typname FROM pg_type WHERE oid = $1[$2]'
>         LANGUAGE 'sql';
>
>     is possible. Mainly I need this to enable array references in
>     expressions for PL/pgSQL. Complete regression test ran O.K.
>
>
> Jan
>
> --
>
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me.                                  #
> #======================================== jwieck@debis.com (Jan Wieck) #


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: SGI Port of Postgresql 6.4 snapshot of 09/28/98
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] SQL92