Darryl Pye <darrylpye@xxxxxxxxxxx> writes: > I am having some problems with prepared statements. > Somehow I have 2 orphan prepared statements in one of my databases. I think you are confusing prepared statements with prepared transactions. > I have tried Deallocate All and Discard All, no joy. ROLLBACK PREPARED is probably the command you're looking for. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general