On Mon, Nov 21, 2016 at 8:32 AM, Vladimir Svedov <vodevsh@gmail.com> wrote:
> I have this question. Looked for a help on http://dba.stackexchange.com/
> No success.
A link to the actual question would be appreciated.
> "FOREIGN_TABLE" created with postgres_fdw. LOCAL_TABLE is just a local table...
>
> Symptoms:
>
> I run in psql query SELECT * from FOREIGN_TABLE. No log generated
> I run in bash psql -c "SELECT * from LOCAL_TABLE". No log generated
> I run in bash psql -c "SELECT * from FOREIGN_TABLE". ::LOG: could not receive data from client: Connection reset by
peergenerated in postgres log
Please provide more information, and preferably a self-contained
test case (one that anyone can run on an empty database to see the
problem).
https://wiki.postgresql.org/wiki/Guide_to_reporting_problems
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company