fix: Make pfkSourceColumns query work with standard_conforming_strings = off

This commit is contained in:
Wolfgang Walther
2021-10-28 08:21:11 +02:00
committed by Wolfgang Walther
parent 8cde90b7fe
commit a1b3bca7fc
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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":'