Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] runtime, postgres: StringArray serialization

  • Loading branch information...
commit bfde3add7c58eddbf5f12ed7869acbfb7dbaf9f7 1 parent 4e48661
@BourgerieQuentin BourgerieQuentin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/stdlib/apis/postgres/postgres.opa
View
3  lib/stdlib/apis/postgres/postgres.opa
@@ -259,7 +259,8 @@ Postgres = {{
else
c = String.char_at(s, current)
if c == '\"' then
- do Binary.add_string(bin, "\"\"")
+ do Binary.add_string(bin, String.substring(last, current - last, s))
+ do Binary.add_string(bin, "\\\"")
aux_string(s, size, current+1, current+1)
else aux_string(s, size, last, current+1)
rec aux =
Please sign in to comment.
Something went wrong with that request. Please try again.