On 08/02/11 12:29 AM, Gianpiero Venditti wrote:
First of all thanks for the quick replies, i'll describe my problem
more in detail.
I'm using postgress with the latest release of GNU Gatekeeper.
More specifically I need a query that returns a row with exactly a
single column (a text) in one c
First of all thanks for the quick replies, i'll describe my problem more in
detail.
I'm using postgress with the latest release of GNU Gatekeeper.
More specifically I need a query that returns a row with exactly a single
column (a text) in one case and a row with exactly two columns (a text an
On Mon, Aug 1, 2011 at 1:51 PM, Gianpiero Venditti wrote:
> Hello, I need to write a function that sometimes return a row with only a
> column and sometimes return a row with two columns.
>
> Is it possible to do something like this with record type?
>
> If it's not what's the best alternative to
>
> Is it possible to do something like this with record type?
>
>
Yes.
The docs, while possibly somewhat confusing, cover this need. If you have a
more specific question (and possibly provide more details as to why you have
this need) you will be more likely to get a detailed answer.
Davi
Hello, I need to write a function that sometimes return a row with only a
column and sometimes return a row with two columns.
Is it possible to do something like this with record type?
If it's not what's the best alternative to achieve such a result?
Thanks in advance for your help.
Gianpier