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(at)debis(dot)com (Jan Wieck) #
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
| Next: | From: Thomas G. Lockhart | Date: 1998-10-02 16:23:10 |
| Subject: Re: [HACKERS] regproc fix |
| Previous: | From: Thomas G. Lockhart | Date: 1998-10-02 16:21:33 |
| Subject: Re: [HACKERS] SQL92 |