Nested transactions in postgresql 8.2?

后端 未结 2 579
执念已碎
执念已碎 2021-01-04 12:09

I\'m working on scripts that apply database schema updates. I\'ve setup all my SQL update scripts using start transaction/commit. I pass these scripts to psql on the command

2条回答
  •  鱼传尺愫
    2021-01-04 12:43

    I've ended up 'solving' my problem out of band - I use a perl script to re-work the input scripts to eliminate their start transaction/commit calls, then push them all into one file, which gets it's own start transaction/commit.

提交回复
热议问题