Re: ERROR: return and sql tuple descriptions are incompatible

Поиск
Список
Период
Сортировка
От M Sarwar
Тема Re: ERROR: return and sql tuple descriptions are incompatible
Дата
Msg-id DM4PR19MB59783BF17C30764AE1F8B715D31C2@DM4PR19MB5978.namprd19.prod.outlook.com
обсуждение исходный текст
Ответ на Re: ERROR: return and sql tuple descriptions are incompatible  (Scott Ribe <scott_ribe@elevated-dev.com>)
Список pgsql-admin
Hi Scott,
Thanks for the clarification!
Sarwar


From: Scott Ribe <scott_ribe@elevated-dev.com>
Sent: Saturday, May 4, 2024 8:52 PM
To: M Sarwar <sarwarmd02@outlook.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: ERROR: return and sql tuple descriptions are incompatible
 
> On May 4, 2024, at 6:38 PM, M Sarwar <sarwarmd02@outlook.com> wrote:
>
> Are you suggesting me to use the type either TEXT or some other data type in the below clause of the SQL.

No, but if you want them both in the same column of your output, then one or the other must be cast so the column type is consistent.

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

Предыдущее
От: M Sarwar
Дата:
Сообщение: Re: ERROR: return and sql tuple descriptions are incompatible
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: ERROR: return and sql tuple descriptions are incompatible