"tamanna madaan" <tamanna(dot)madan(at)globallogic(dot)com> writes:
> I am using postgres-8.1.2 and have been using psqlodbc-08.03.0200 driver to connect
> to the databse. One of the queries I executed from my appilcation have got stuck for an
> indefinite amount of time causing my application to hang.
Are you sure you didn't simply issue a very long-running query? Or one
that is waiting for a lock?
regards, tom lane