pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Insert statement doesn't complete
3+ messages / 3 participants
[nested] [flat]

* Insert statement doesn't complete
@ 2021-08-29 03:40  Trang Le <trang.le@evizi.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Trang Le @ 2021-08-29 03:40 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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;
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.

Could you help me on this issue?

Thanks all.

Regards,
Trang

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Insert statement doesn't complete
@ 2021-08-29 03:51  David G. Johnston <david.g.johnston@gmail.com>
  parent: Trang Le <trang.le@evizi.com>
  1 sibling, 0 replies; 3+ messages in thread

From: David G. Johnston @ 2021-08-29 03:51 UTC (permalink / raw)
  To: Trang Le <trang.le@evizi.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

On Saturday, August 28, 2021, Trang Le <trang.le@evizi.com> wrote:

>
> after running script
>
>
How?


>
>  I check this script in pg_lock, everything ok, job
> done, data is inserted.
>
>
You can tell this from pg_lock?


>
>
>  However, the session
>
>
Where is this session?


David J.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Insert statement doesn't complete
@ 2021-08-29 04:31  Mladen Gogala <gogala.mladen@gmail.com>
  parent: Trang Le <trang.le@evizi.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Mladen Gogala @ 2021-08-29 04:31 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org


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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-08-29 04:31 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29 03:40 Insert statement doesn't complete Trang Le <trang.le@evizi.com>
2021-08-29 03:51 ` David G. Johnston <david.g.johnston@gmail.com>
2021-08-29 04:31 ` Mladen Gogala <gogala.mladen@gmail.com>

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