From: Tom Lane <tgl@sss.pgh.pa.us>
To: Corey Taylor <corey.taylor.fl@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
Date: Wed, 18 Sep 2019 17:32:27 -0400
Message-ID: <11667.1568842347@sss.pgh.pa.us> (raw)
In-Reply-To: <CADBz384j3nVLiAHkLk+mXP4tszrs_QjdiNb6WnZ=v1+hzzvUQw@mail.gmail.com>
References: <CADBz384j3nVLiAHkLk+mXP4tszrs_QjdiNb6WnZ=v1+hzzvUQw@mail.gmail.com>
Corey Taylor <corey.taylor.fl@gmail.com> writes:
> I am trying to figure out how to debug an issue where a function
> 'import_wss' called through pgadmin4 will complete but not through psql.
First thing I'd look at is whether it's the same execution environment
in both cases, eg same search_path.
You could try doing EXPLAIN rather than running the query outright,
too, to see if you get identical plans. (Although if the performance
issue is down inside the function, that might not help much.)
regards, tom lane
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: tgl@sss.pgh.pa.us, corey.taylor.fl@gmail.com
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
In-Reply-To: <11667.1568842347@sss.pgh.pa.us>
References: <CADBz384j3nVLiAHkLk+mXP4tszrs_QjdiNb6WnZ=v1+hzzvUQw@mail.gmail.com> <11667.1568842347@sss.pgh.pa.us>
* 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