pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: M Sarwar <sarwarmd02@outlook.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: ERROR:  return and sql tuple descriptions are incompatible
Date: Sat, 4 May 2024 18:52:56 -0600
Message-ID: <EAD3D4F4-C394-4E72-B782-31CF9634A040@elevated-dev.com> (raw)
In-Reply-To: <DM4PR19MB5978A4265AFFC9F7BAEB848AD31D2@DM4PR19MB5978.namprd19.prod.outlook.com>
References: <PH2P110MB0922C5109BE107AD82331420FF1EA@PH2P110MB0922.NAMP110.PROD.OUTLOOK.COM>
	<DM4PR19MB59783F61D28BE07B43F68C31D31E2@DM4PR19MB5978.namprd19.prod.outlook.com>
	<vulsb3n6dcd7wzjuhslppt3oij3nkwqh2olagmx2ibtnjzpccu@7c2jvcyjm2x2>
	<DM4PR19MB5978A4265AFFC9F7BAEB848AD31D2@DM4PR19MB5978.namprd19.prod.outlook.com>

> 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.






view thread (13+ messages)  latest in thread

Message-ID: <EAD3D4F4-C394-4E72-B782-31CF9634A040@elevated-dev.com>
Permalink:  ../EAD3D4F4-C394-4E72-B782-31CF9634A040@elevated-dev.com/
Also on:    postgresql.org/message-id/EAD3D4F4-C394-4E72-B782-31CF9634A040@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, sarwarmd02@outlook.com, pgsql-admin@lists.postgresql.org
  Subject: Re: ERROR:  return and sql tuple descriptions are incompatible
  In-Reply-To: <EAD3D4F4-C394-4E72-B782-31CF9634A040@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox