Re: Mysterious Bus Error with get_fn_expr_argtype()
От
David E. Wheeler
Тема
Re: Mysterious Bus Error with get_fn_expr_argtype()
Дата
Msg-id
FDE7F1F2-1516-4D21-A3A2-DF784CACBDD5@kineticode.com
Ответ на
Список
Дерево обсуждения
Mysterious Bus Error with get_fn_expr_argtype() "David E. Wheeler" <david@kineticode.com>
Re: Mysterious Bus Error with get_fn_expr_argtype() Tom Lane <tgl@sss.pgh.pa.us>
Re: Mysterious Bus Error with get_fn_expr_argtype() "David E. Wheeler" <david@kineticode.com>
Re: Mysterious Bus Error with get_fn_expr_argtype() "Brendan Jurd" <direvus@gmail.com>
On Sep 1, 2008, at 16:55, Tom Lane wrote: > "David E. Wheeler" writes: >> Here's the complete code: > > Looks like you forgot PG_FUNCTION_INFO_V1(), so what's being passed to > this isn't an fcinfo ... Bah! I knew I had to be missing something really fundamental. Thanks Tom. BTW, anyone have any interest in this function in core? Its purpose is to return a string identifying the data type of its argument. It's useful for dynamically building queries to pass to PL/pgSQL's EXECUTE statement when you don't know the data types of values you're putting into the statement. Thanks, David
В списке pgsql-hackers по дате отправления
От: Jaime Casanova
Дата: