aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-09-22 23:03:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-09-22 23:03:58 +0000
commitdf3e7b3a51906beb672e677844daf9097dfc8dd7 (patch)
tree4ae0788ed4fd3983120cf2871c81b5d736525fd3 /src/backend/commands/indexcmds.c
parent1d01d484c174720285faa642ce87ca6abf9e56c0 (diff)
downloadpostgresql-df3e7b3a51906beb672e677844daf9097dfc8dd7.tar.gz
postgresql-df3e7b3a51906beb672e677844daf9097dfc8dd7.zip
In UpdateStats(), don't bother to update the pg_class row if it already
contains the correct statistics. This is a partial solution for the problem of allowing concurrent CREATE INDEX commands: unless they commit at nearly the same instant, the second one will see the first one's pg_class updates as committed, and won't try to update again, thus avoiding the 'tuple concurrently updated' failure.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
0 files changed, 0 insertions, 0 deletions