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

Re: [HACKERS] Patch - please apply

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 (view raw or flat)
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


In response to

pgsql-hackers by date

Next:From: Thomas G. LockhartDate: 1998-10-02 16:23:10
Subject: Re: [HACKERS] regproc fix
Previous:From: Thomas G. LockhartDate: 1998-10-02 16:21:33
Subject: Re: [HACKERS] SQL92

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