On Thu, May 3, 2012 at 10:12 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Maybe some keyword can help to us. What do you think about new >> operator TYPE that can returns regtype value and can be used together >> with polymorphic functions. > > Doesn't have any more attraction for me than the proposed LIKE > extension; that will have the same results and it's at least traceable > to SQL-standard notations.
no it won't (unless I'm being completely obtuse in addition to being repetitive): LIKE only works when you treat your function call as a table expression: FROM func() AS ... that's fine, but converting-from-json functions will want to be able to be called anywhere a single value returning function would be normally called. hstore/populate_record trick allows this, so it's not apples to apples. merlin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers