pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Antonio Gomez <AGomez@EBSCO.COM>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Error: "remote query result rowtype does not match the specified FROM clause rowtype," on remote function call
Date: Mon, 25 Mar 2019 15:48:24 -0700
Message-ID: <bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.com> (raw)
In-Reply-To: <06c9a315-caed-ef45-9ea9-10f5b311bcbf@aklaver.com>
References: <BN7PR01MB365172F60FCCC2F1DBEAB873D65E0@BN7PR01MB3651.prod.exchangelabs.com>
	<1a10f0e7-a098-65b7-c08a-440bfb871166@aklaver.com>
	<BN7PR01MB36519470A5497618755DB544D65E0@BN7PR01MB3651.prod.exchangelabs.com>
	<06c9a315-caed-ef45-9ea9-10f5b311bcbf@aklaver.com>

On 3/25/19 3:26 PM, Adrian Klaver wrote:
> On 3/25/19 3:20 PM, Antonio Gomez wrote:

> select * from public._test1();
> ERROR:  a column definition list is required for functions returning 
> "record"
> LINE 1: select * from public._test1();
> 
> Have you looked at postresql_fdw?:

Sorry was not thinking. postgresql_fdw works on tables/views, it would 
not help in your situation.

> 
> https://www.postgresql.org/docs/11/postgres-fdw.html
> 
>>
>> Thanks for your response!
>>

-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (5+ messages)

Message-ID: <bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.com>
Permalink:  ../bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.com/
Also on:    postgresql.org/message-id/bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, AGomez@EBSCO.COM
  Subject: Re: Error: "remote query result rowtype does not match the specified FROM clause rowtype," on remote function call
  In-Reply-To: <bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.com>
  References: <BN7PR01MB365172F60FCCC2F1DBEAB873D65E0@BN7PR01MB3651.prod.exchangelabs.com> <1a10f0e7-a098-65b7-c08a-440bfb871166@aklaver.com> <BN7PR01MB36519470A5497618755DB544D65E0@BN7PR01MB3651.prod.exchangelabs.com> <06c9a315-caed-ef45-9ea9-10f5b311bcbf@aklaver.com> <bf394d3b-d6a7-95cd-7fa8-4ef213b4e2dc@aklaver.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