lib/posgra/driver.rb in posgra-0.1.7 vs lib/posgra/driver.rb in posgra-0.1.8
- old
+ new
@@ -366,8 +366,9 @@
def unquote_aclitem(str)
str.sub(/\A"/, '').sub(/"\z/, '').gsub('\\', '')
end
def unescape_aclname(str)
- str.sub(/\A"/, '').sub(/"\z/, '').gsub('""', '"')
+ # Fix for Redshift: "group "
+ str.sub(/\A"/, '').sub(/"\z/, '').gsub('""', '"').sub(/\Agroup /, '')
end
end