fix: Make pfkSourceColumns query work with standard_conforming_strings = off
This commit is contained in:
committed by
Wolfgang Walther
parent
8cde90b7fe
commit
a1b3bca7fc
@@ -814,8 +814,8 @@ pfkSourceColumns cols =
|
||||
',' , ''
|
||||
-- The same applies for `{` and `}`, although those are used a lot in pg_node_tree.
|
||||
-- We remove the escaped ones, which might be part of column names again.
|
||||
), '\{' , ''
|
||||
), '\}' , ''
|
||||
), E'\\{' , ''
|
||||
), E'\\}' , ''
|
||||
-- The fields we need are formatted as json manually to protect them from the regex.
|
||||
), ' :targetList ' , ',"targetList":'
|
||||
), ' :resno ' , ',"resno":'
|
||||
|
||||
Reference in New Issue
Block a user