Re: plPerl subroutine

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plPerl subroutine
Дата
Msg-id 6188.1110987237@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plPerl subroutine  ("FERREIRA William (COFRAMI)" <william.ferreira@airbus.com>)
Список pgsql-general
"FERREIRA William (COFRAMI)" <william.ferreira@airbus.com> writes:
> but the CREATE_XML_FILE doesn't display 'totototototototototot' but
> HASH(0xf03fa4)....

I think what you get back from spi_exec_query is always going to be
a hash, even if it contains only one field.  So you need to pick out
the field value.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: 2 questions about types
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: New user: Windows, Postgresql, Python