Get error when calling function that returns a table

Поиск
Список
Период
Сортировка
От Russell Rose | Passfield Data Systems
Тема Get error when calling function that returns a table
Дата
Msg-id VI1P191MB0638AA48C8FA4AC3CC71B5B9F2362@VI1P191MB0638.EURP191.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Get error when calling function that returns a table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql

I have got a procedure (test.sql) and this calls a function (test_rr.sql) which returns a table. I use the SQL:

Call test();

 

I get the error:

ERROR: invalid input syntax for type integer: "(14891,0,"VIMALBA ","P901 ",111.000000)"

CONTEXT: PL/pgSQL function test() line 13 at FETCH

SQL state: 22P02

 

Can anyone help please

 

Russell Rose

 

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: decode/encode backslash to base64
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Get error when calling function that returns a table