Last modified: 2011-11-25 07:36:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29282, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27282 - Running importDump for Pg reveals savepoints outside of transactions
Running importDump for Pg reveals savepoints outside of transactions
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-09 19:03 UTC by Mark A. Hershberger
Modified: 2011-11-25 07:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2011-02-09 19:03:02 UTC
I found the following in my logs while running importDump:

2011-02-09 13:07:13 EST LOG:  statement: COMMIT
2011-02-09 13:07:13 EST LOG:  statement: SELECT /* LinksUpdate::getExistingLinks 127.0.0.1 */  pl_namespace,pl_title  FROM pagelinks  WHERE pl_from = '438'   FOR UPDATE
2011-02-09 13:07:13 EST LOG:  statement: SAVEPOINT mw
2011-02-09 13:07:13 EST ERROR:  SAVEPOINT can only be used in transaction blocks
2011-02-09 13:07:13 EST STATEMENT:  SAVEPOINT mw
2011-02-09 13:07:13 EST LOG:  statement: INSERT /* LinksUpdate::incrTableUpdate 127.0.0.1 */ INTO pagelinks (pl_from,pl_namespace,pl_title) VALUES ('438','0','Analysis_of_variance')
2011-02-09 13:07:13 EST LOG:  statement: RELEASE mw
2011-02-09 13:07:13 EST ERROR:  RELEASE SAVEPOINT can only be used in transaction blocks
2011-02-09 13:07:13 EST STATEMENT:  RELEASE mw

(Set up verbose logging using the following at the end of postgresql.conf:

log_destination = 'stderr'
logging_collector = on
log_directory = 'pg_log'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_statement = 'all'
)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links