From: | Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
Cc: | Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | AW: SQL99 functions |
Date: | 2000-06-27 14:53:30 |
Message-ID: | 219F68D65015D011A8E000006F8590C605BA599D@sdexcsrv1.f000.d0188.sd.spardat.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> > create table t1 (x int);
> > create function foo (out int) returns int as ...;
> > select foo(x) from t1;
>
> > will give two columns for the result.
>
> You've *got* to be kidding.
>
> To name just one problem with that, where do I put an AS to relabel
> the extra column?
It gets the name of the variable ( here "out"), no way to rename it,
but no problem since you can name the variable however you like.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2000-06-27 15:07:31 | Re: AW: SQL99 functions |
Previous Message | Tom Lane | 2000-06-27 14:48:53 | Re: AW: Proposal: More flexible backup/restore via pg_dump |