From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Corey Taylor <corey.taylor.fl@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
Date: Mon, 23 Sep 2019 07:22:44 -0700
Message-ID: <d4e25e56-3388-0684-d0b8-762b3ac6e700@aklaver.com> (raw)
In-Reply-To: <CADBz387VJq5QQ+S_E7ft7QNRdxhCtMUhGcRuYV=5TQrss50pjQ@mail.gmail.com>
References: <CADBz384j3nVLiAHkLk+mXP4tszrs_QjdiNb6WnZ=v1+hzzvUQw@mail.gmail.com>
<11667.1568842347@sss.pgh.pa.us>
<CADBz387VJq5QQ+S_E7ft7QNRdxhCtMUhGcRuYV=5TQrss50pjQ@mail.gmail.com>
On 9/23/19 12:07 AM, Corey Taylor wrote:
> 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.
Can we see the actual function/query?
Also the schema of the table(s) involved?
>
> corey
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, corey.taylor.fl@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: postgres 9.6: insert into select finishes only in pgadmin not psql
In-Reply-To: <d4e25e56-3388-0684-d0b8-762b3ac6e700@aklaver.com>
References: <CADBz384j3nVLiAHkLk+mXP4tszrs_QjdiNb6WnZ=v1+hzzvUQw@mail.gmail.com> <11667.1568842347@sss.pgh.pa.us> <CADBz387VJq5QQ+S_E7ft7QNRdxhCtMUhGcRuYV=5TQrss50pjQ@mail.gmail.com> <d4e25e56-3388-0684-d0b8-762b3ac6e700@aklaver.com>
* 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