aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-07-19 12:10:15 -0400
committerRobert Haas <rhaas@postgresql.org>2011-07-19 12:10:15 -0400
commit8e5ac74c1249820ca55481223a95b9124b4a4f95 (patch)
treed9b7841fc2495c05c27032d89e1cee483c95c35d /src/backend/utils/adt/xml.c
parentcdd61237d6265fa355afa772ca3eee39e4905bcb (diff)
downloadpostgresql-8e5ac74c1249820ca55481223a95b9124b4a4f95.tar.gz
postgresql-8e5ac74c1249820ca55481223a95b9124b4a4f95.zip
Some refinement for the "fast path" lock patch.
1. In GetLockStatusData, avoid initializing instance before we've ensured that the array is large enough. Otherwise, if repalloc moves the block around, we're hosed. 2. Add the word "Relation" to the name of some identifiers, to avoid assuming that the fast-path mechanism will only ever apply to relations (though these particular parts certainly will). Some of the macros could possibly use similar treatment, but the names are getting awfully long already. 3. Add a missing word to comment in AtPrepare_Locks().
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions