From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Insert statement doesn't complete
Date: Sun, 29 Aug 2021 00:31:57 -0400
Message-ID: <611d95bb-c3da-6231-ef16-9765eb6cfe68@gmail.com> (raw)
In-Reply-To: <CAFfZjTjMwWxNtVutKVb7AWVdgKEEhgy6_0Y8zZVTa7Oxd9t=QA@mail.gmail.com>
References: <CAFfZjTjMwWxNtVutKVb7AWVdgKEEhgy6_0Y8zZVTa7Oxd9t=QA@mail.gmail.com>
On 8/28/21 11:40 PM, Trang Le wrote:
> Hi all,
>
> I am facing an issue
>
> when I run a script:
> INSERT INTO mdm.etl_exception_info
> SELECT
> *
> FROM mdm.etl_exception_info_vw2;
Is there any error message thrown? If there is, can you tell us? Is
autocommit on? What does the log say?
> after running script I check this script in pg_lock, everything ok, job
> done, data is inserted. However, the session contains the script above
> doesn't complete though data is inserted and job done that is verified in
> pg_lock.
What does the phrase "the script above doesn't complete" mean? How do
you know that the script doesn't complete? Is the script hanging?
Furthermore, what is the software version? What platform are you using?
>
> Could you help me on this issue?
Insufficient data for a meaningful answer.
>
> Thanks all.
>
> Regards,
> Trang
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.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: gogala.mladen@gmail.com
Subject: Re: Insert statement doesn't complete
In-Reply-To: <611d95bb-c3da-6231-ef16-9765eb6cfe68@gmail.com>
References: <CAFfZjTjMwWxNtVutKVb7AWVdgKEEhgy6_0Y8zZVTa7Oxd9t=QA@mail.gmail.com> <611d95bb-c3da-6231-ef16-9765eb6cfe68@gmail.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