| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | jwieck(at)debis(dot)com |
| Cc: | pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] Patch - please apply |
| Date: | 1998-10-02 16:21:36 |
| Message-ID: | 199810021621.MAA10284@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas G. Lockhart | 1998-10-02 16:23:10 | Re: [HACKERS] regproc fix |
| Previous Message | Thomas G. Lockhart | 1998-10-02 16:21:33 | Re: [HACKERS] SQL92 |