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

Re: SQL99 functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SQL99 functions
Date: 2000-06-27 14:14:37
Message-ID: (view raw, whole thread or download thread mbox)
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?

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-06-27 14:23:48
Subject: Re: AW: Big 7.1 open items
Previous:From: Thomas LockhartDate: 2000-06-27 14:05:11
Subject: Re: Makefile for parser

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