File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ def __init__(self):
1717 def _reset (self ):
1818 """Set the filter attributes to its default values"""
1919 self ._in_declare = False
20- self ._in_dbldollar = False
2120 self ._is_create = False
2221 self ._begin_depth = 0
2322
@@ -27,23 +26,6 @@ def _reset(self):
2726
2827 def _change_splitlevel (self , ttype , value ):
2928 """Get the new split level (increase, decrease or remain equal)"""
30- # PostgreSQL
31- if ttype == T .Name .Builtin and value [0 ] == '$' and value [- 1 ] == '$' :
32-
33- # 2nd dbldollar found. $quote$ completed
34- # decrease level
35- if self ._in_dbldollar :
36- self ._in_dbldollar = False
37- return - 1
38- else :
39- self ._in_dbldollar = True
40- return 1
41-
42- # if inside $$ everything inside is defining function character.
43- # Nothing inside can create a new statement
44- elif self ._in_dbldollar :
45- return 0
46-
4729 # ANSI
4830 # if normal token return
4931 # wouldn't parenthesis increase/decrease a level?
You can’t perform that action at this time.
0 commit comments