From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] IS OF |
Date: | 2003-08-08 21:49:27 |
Message-ID: | 3F341AE7.1080609@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Joe Conway wrote:
> Peter Eisentraut wrote:
>> I suggest I should not be documented until it's fixed.
>>
>>> Doc patch attached for IS OF. Please apply.
>>
>> That is not the right place for it. IS OF is an operator, not an SQL
>> command.
>
> OK. If the attached patch is acceptable/applied, I'll fix and resend the
> doc patch.
>
Hmmm, looks like I was a bit quick on the draw:
regression=# select f1 is null, f2 is null, f3 is null from foo;
?column? | ?column? | ?column?
----------+----------+----------
f | t | f
t | f | f
f | f | t
(3 rows)
regression=# select f1 is of (int), f2 is of (text), f3 is of (float8)
from foo;
?column? | ?column? | ?column?
----------+----------+----------
t | t | t
t | t | t
t | t | t
(3 rows)
It worked correctly for constants, but not fields from a table :(
Back to the drawing board (suggestions welcomed).
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-08-08 22:03:17 | Re: [HACKERS] IS OF |
Previous Message | Joe Conway | 2003-08-08 21:37:59 | Re: [HACKERS] IS OF |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-08-08 22:03:17 | Re: [HACKERS] IS OF |
Previous Message | Joe Conway | 2003-08-08 21:37:59 | Re: [HACKERS] IS OF |