diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-17 18:19:26 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-17 18:19:26 -0400 |
commit | 9d167bc9d8b942fd976ccea5235ad8671ef60775 (patch) | |
tree | b057a8ccd2e0746e5bc28b127a9c5d10161b4d4f /src/tutorial/complex.c | |
parent | da021016b4903af677daeb5d9b05e1001d57b5e7 (diff) |
Obtain table locks as soon as practical during pg_dump.
For some reason, when we (I) added table lock acquisition to pg_dump,
we didn't think about making it happen as soon as possible after the
start of the transaction. What with subsequent additions, there was
actually quite a lot going on before we got around to that; which sort
of defeats the purpose. Rearrange the order of calls in dumpSchema()
to close the risk window as much as we easily can. Back-patch to all
supported branches.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions