summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_gist.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-04-07 10:59:42 -0400
committerRobert Haas <rhaas@postgresql.org>2014-04-07 10:59:42 -0400
commit315772e4ecf2e91f17a8e375afe8dff2c2174406 (patch)
treec828c6a1ba21b18de535c6f37b3710fef60f7e01 /src/backend/utils/adt/network_gist.c
parentb8a721149b190dc09c00620f65cb85b190b83d45 (diff)
downloadpostgresql-315772e4ecf2e91f17a8e375afe8dff2c2174406.tar.gz
Assert that strong-lock count is >0 everywhere it's decremented.
The one existing assertion of this type has tripped a few times in the buildfarm lately, but it's not clear whether the problem is really originating there or whether it's leftovers from a trip through one of the other two paths that lack a matching assertion. So add one. Since the same bug(s) most likely exist(s) in the back-branches also, back-patch to 9.2, where the fast-path lock mechanism was added.
Diffstat (limited to 'src/backend/utils/adt/network_gist.c')
0 files changed, 0 insertions, 0 deletions