Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-11-15 07:42:59 +0000
committerPeter Eisentraut2024-11-15 07:52:43 +0000
commite468ec0fddcd93e282da6685b75d5687c2a87f2a (patch)
tree1c4a33420fd0587ca42cd37cb275637f49610fa1 /src/backend/regex/regexec.c
parent818119afccd342823e5b638be51f64ba36221318 (diff)
Add an assertion in get_object_address()
Some places declared a Relation before calling get_object_address() only to assert that the relation is NULL after the call. The new assertion allows passing NULL as the relation argument at those places making the code cleaner and easier to understand. Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://www.postgresql.org/message-id/ZzG34eNrT83W/Orz@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions