diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-17 18:19:14 -0400 | 
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-06-17 18:19:14 -0400 | 
| commit | 7975f2baa955397fbeb64b5301235ed1dd0f9be6 (patch) | |
| tree | d15e7f723fcf258e0b5005aa04243e3002454206 /src/tutorial/funcs_new.c | |
| parent | 51328d56a412578480bad0fb65b7cf58816d71b8 (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/funcs_new.c')
0 files changed, 0 insertions, 0 deletions
