Re: postgres 9.6: insert into select finishes only in pgadmin not psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Corey Taylor <corey(dot)taylor(dot)fl(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
Date: 2019-09-18 21:32:27
Message-ID: 11667.1568842347@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Corey Taylor <corey(dot)taylor(dot)fl(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-09-18 21:49:15 Re: When does Postgres use binary I/O?
Previous Message Corey Taylor 2019-09-18 21:00:40 postgres 9.6: insert into select finishes only in pgadmin not psql