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

From: Corey Taylor <corey(dot)taylor(dot)fl(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-23 07:07:55
Message-ID: CADBz387VJq5QQ+S_E7ft7QNRdxhCtMUhGcRuYV=5TQrss50pjQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> First thing I'd look at is whether it's the same execution environment
> in both cases, eg same search_path.
>

As far as I can tell, it's the same execution environment, same search_path
and same user.

I found after testing other situations, that the psql command would always
finish as expected after canceling the first query that ran too long. I
was able to reproduce this scenario with psql and pgadmin4 with various
combinations.

Any suggestions on what that would indicate? The canceled query does not
complete as there are no rows and no duplicate errors when running the
second time.

corey

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vikas Sharma 2019-09-23 08:25:44 pg_receivexlog or archive_command
Previous Message Achilleas Mantzios 2019-09-23 06:24:32 Re: pgbouncer with ldap