Dmitry Koterov wrote:
>> Have you checked for prepared transactions in that DB?  See
>> pg_prepared_xacts view (I've been burnt by that myself...)
> 
> Yes, I have one!
> How to remove it now? I tried DEALLOCATE for gid returned by 
> 
> select * from pg_prepared_xacts;
> 
> but it says "prepared statement does not exist"...
> Database restart does not reset the prepared transaction... 

The command is: ROLLBACK PREPARED 'yourgid'

'DEALLOCATE' is for prepared statements.

Yours,
Laurenz Albe

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to