aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-11-15 18:02:06 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-11-15 18:02:06 -0500
commit97e1ec467099f1e581f491c8a57b7d56d0b9c539 (patch)
tree23ccc748b4fb63af797dd901777fc5fe697ae958 /src/backend/utils/adt/numeric.c
parent3172eea062e779db39df9a48fca0ad7448163f98 (diff)
downloadpostgresql-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