diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-11-15 18:02:06 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-11-15 18:02:06 -0500 |
commit | 97e1ec467099f1e581f491c8a57b7d56d0b9c539 (patch) | |
tree | 23ccc748b4fb63af797dd901777fc5fe697ae958 /src/backend/utils/adt/numeric.c | |
parent | 3172eea062e779db39df9a48fca0ad7448163f98 (diff) | |
download | postgresql-97e1ec467099f1e581f491c8a57b7d56d0b9c539.tar.gz postgresql-97e1ec467099f1e581f491c8a57b7d56d0b9c539.zip |
Speed up printing of INSERT statements in pg_dump.
In --inserts and especially --column-inserts mode, we can get a useful
speedup by generating the common prefix of all a table's INSERT commands
just once, and then printing the prebuilt string for each row. This avoids
multiple invocations of fmtId() and other minor fooling around.
David Rowley
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions