aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-12 21:33:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-12 21:33:55 +0000
commit78a572bf0c7ba7ec3a4558fd88870f8fdff30dac (patch)
tree228b3da4437922b0feb614127157d05579a9c051 /src/backend/parser/parse_expr.c
parentc7bbe99452c20d76da58a12b529164719bf798b8 (diff)
downloadpostgresql-78a572bf0c7ba7ec3a4558fd88870f8fdff30dac.tar.gz
postgresql-78a572bf0c7ba7ec3a4558fd88870f8fdff30dac.zip
When cloning template0 (or other fully-frozen databases), set the new
database's datallowconn and datfrozenxid to the current transaction ID instead of copying the source database's values. This is OK because we assume the source DB contains no normal transaction IDs whatsoever. This keeps VACUUM from immediately starting to complain about unvacuumed databases in the situation where we are more than 2 billion transactions out from the XID stamp of template0. Per discussion with Milen Radev (although his complaint turned out to be due to something else, but the problem is real anyway).
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions