Re: VARIANT / ANYTYPE datatype - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: VARIANT / ANYTYPE datatype
Date
Msg-id DCF1BA81-2D8F-4719-8CD5-FD28CA14F6E4@kineticode.com
Whole thread Raw
In response to Re: VARIANT / ANYTYPE datatype  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: VARIANT / ANYTYPE datatype  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On May 4, 2011, at 3:04 PM, Alvaro Herrera wrote:

> As someone commented downthread, they also want to have things such as a
> "typeof" operator.  It could be used in (say) a plpgsql function to
> choose different branches of code.

FWIW, pg_typeof(any) has been in core since 9.0.

Best,

David



pgsql-hackers by date:

Previous
From: "Johann 'Myrkraverk' Oskarsson"
Date:
Subject: Re: DLL export with mingw-w64: currently a no-op
Next
From: Andrew Dunstan
Date:
Subject: Re: VARIANT / ANYTYPE datatype