Re: Insert query hangs - Mailing list pgsql-general

From M Tarkeshwar Rao
Subject Re: Insert query hangs
Date
Msg-id 1C16813DAFF3E44B939586605D40E9F01165FC2F@ESESSMB107.ericsson.se
Whole thread Raw
In response to Insert query hangs  (M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com>)
Responses Re: Insert query hangs
Re: Insert query hangs
List pgsql-general
Actually problem is in customer site in their production environment.
They have their database MDB. In that db they have insert issue with one table.

They shared the data folder with us.

We past the same data folder in our local DB which has the same name MDB and reproduced the issue.

After reproducing the issue we run pg_dump(with data) on corrupted table and restore it on another local db.
After restoring in another db we tested the insert operation and found it is working fine.

We analysed one more thing when we removed the unique index from the table it is working fine.
Is there any issue in indexing?

Is there any option to repair the table or its indexing?

Regards
Tarkeshwar
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of M Tarkeshwar Rao
Sent: 09 July 2014 14:49
To: pgsql-hackers-owner@postgresql.org; pgsql-hackers@postgresql.org; pgsql-general@postgresql.org
Subject: [GENERAL] Insert query hangs

Hi all,

We have a table in a database DB1 with name Test. We imported this database from another machine.
When I fire insert statement it is going in the hang state.

Then I created another table with same structure and with same data within it as in table Test.
Then I fired the insert statement. It is working fine.

I am not able find the reason for this. Can you please help me out on this. This scenario easily reproducible.

I have a standalone system and postgresql  9.1 installed on it.

Regards
Tarkeshwar


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: Ravi Kiran
Date:
Subject: gdb debugging with postgres
Next
From: basti
Date:
Subject: php password authentication failed for user ...