Skip to content

Commit 91ebadf

Browse files
committed
minor update
1 parent d8c343a commit 91ebadf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/dbms/postgresql/syntax.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def unescape(expression, quote=True):
3434
unescaped = ""
3535

3636
for i in xrange(firstIndex, lastIndex):
37+
# Postgres CHR() function already accepts Unicode code point of character(s)
3738
unescaped += "CHR(%d)" % (ord(expression[i]))
3839
if i < lastIndex - 1:
3940
unescaped += "||"

0 commit comments

Comments
 (0)