diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-06-06 16:50:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-06-06 16:50:37 +0000 |
commit | 05cd91a5825f89a624fc6335b6c337c8e6d77583 (patch) | |
tree | 676436565b522735f329e71e32304ade6fc3ad69 /src/backend/commands/async.c | |
parent | 4032a515d26eb2772c0f929db1dd8c38fcab3f92 (diff) | |
download | postgresql-05cd91a5825f89a624fc6335b6c337c8e6d77583.tar.gz postgresql-05cd91a5825f89a624fc6335b6c337c8e6d77583.zip |
typeTypeName() must return a pstrdup'd copy of the type name, not a
direct pointer into the syscache entry for the type. In some cases
the syscache entry might get flushed before we are done using the
returned type name. This bug accounts for difficult-to-repeat
failures seen when INSERTs into columns of certain data types are
run in parallel with VACUUMs of system tables. There may be related
problems elsewhere --- we need to take a harder look at uses of
syscache data.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions