Re: Insert statement doesn't complete - Mailing list pgsql-general

From Mladen Gogala
Subject Re: Insert statement doesn't complete
Date
Msg-id 611d95bb-c3da-6231-ef16-9765eb6cfe68@gmail.com
Whole thread Raw
In response to Insert statement doesn't complete  (Trang Le <trang.le@evizi.com>)
List pgsql-general


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

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Insert statement doesn't complete
Next
From: Gus Spier
Date:
Subject: Re: Can we get rid of repeated queries from pg_dump?