Re: DB Link returning Partial data rows - Mailing list pgsql-general

From Adrian Klaver
Subject Re: DB Link returning Partial data rows
Date
Msg-id 17917a17-6b28-d1ab-c9ab-a79278cd7949@aklaver.com
Whole thread Raw
List pgsql-general
On 4/21/20 11:18 AM, AJ Rao wrote:
> Hi - I setup dblink in my PostgreSQL 9.6.14 db and reading data from 
> PostgreSQL 9.6.11 db. My query returns 3600 rows when I run it in the 
> Source Db, but returns only 2365 rows when I run it from the Target db 
> through dblink. Is there a setting that I need to update or is there a 
> limitation with dblink? Your help will be greatly appreciated.

Not that I know of.

1) Are you sure you are pointing at the same database from your target 
database?

2) What are the queries?

3) Have you tried postgres_fdw?:
https://www.postgresql.org/docs/9.6/postgres-fdw.html

> 
> Summary:
> 
> 1.SourceDB = PostgreSQL 9.6.11
> 
> 2.TargetDB = PostgreSQL 9.6.14
> 
> 3.Source Query = 15 columns with 3600 rows
> 
> 4.Target Query via dblink: return 2365 rows only
> 
> Thanks, AJ
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Ericson Smith
Date:
Subject: Re: Triggers and Full Text Search *
Next
From: Adrian Klaver
Date:
Subject: Re: Triggers and Full Text Search *