Re: dblink: add polymorphic functions.
От | Alvaro Herrera |
---|---|
Тема | Re: dblink: add polymorphic functions. |
Дата | |
Msg-id | 20160108150058.GA583091@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: dblink: add polymorphic functions. (Joe Conway <mail@joeconway.com>) |
Ответы |
Re: dblink: add polymorphic functions.
|
Список | pgsql-hackers |
Joe Conway wrote: > On 07/30/2015 09:51 AM, Tom Lane wrote: > > Joe Conway <mail@joeconway.com> writes: > >> What about just TYPE then? > > > >> SELECT x::TYPE(some_expression) FROM ... > >> SELECT CAST (x AS TYPE(some_expression)) FROM ... > > > The main limitation of this patch is that it won't work for call sites > > that pass pstate == NULL to LookupTypeName. There are a fair number > > of them, some of which wouldn't care because they could never invoke > > this notation anyway, but for others we'd need to do some work to cons > > up a suitable pstate. > > Sorry it took so long for me to get back to this, but any reason the > attached won't work? So, is this going anywhere? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: