Re: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED
Date
Msg-id 24614.1497923010@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] Error with DefineSavepoint:Unexpected state STARTED  (Computer Study <computerstudy2010@gmail.com>)
Responses Re: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED  (Computer Study <computerstudy2010@gmail.com>)
List pgsql-general
Computer Study <computerstudy2010@gmail.com> writes:
> I am working on a project of DB migration from Oracle to Postgres. The
> application is working well with Oracle. But when switch to Postgres, some
> SQL executionss couldn't finish and got an error like:

> FATAL: DefineSavepoint: unexpected state STARTED
> STATEMENT: SAVEPOINT_per_query_svp;DEALLOCATE
> "_PLAN04824560";RELEASE_per_query_SVP_

Well, that's pretty interesting, but you haven't provided nearly enough
information for anyone else to reproduce the problem.  (No, a snippet of
C++ that depends on undescribed subroutines and uncertain context doesn't
do it.)

Perhaps you could turn on log_statement = all and capture the SQL that's
actually being sent to the server by this program?

Also, what version of Postgres is this exactly?

> Any suggestions to fix this issue?

https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

            regards, tom lane


pgsql-general by date:

Previous
From: Computer Study
Date:
Subject: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED
Next
From: Computer Study
Date:
Subject: Re: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED