pg_json 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/pg_json +3 -3
- metadata +1 -1
data/bin/pg_json
CHANGED
@@ -23,13 +23,13 @@ end
|
|
23
23
|
simple :integer
|
24
24
|
simple :float
|
25
25
|
simple :text do
|
26
|
-
"'"'||data::text||'"'"
|
26
|
+
"'\"'||data::text||'\"'"
|
27
27
|
end
|
28
28
|
simple :date do
|
29
|
-
"'"'||to_char(data, 'YYYY-MM-DD')::text||'"'"
|
29
|
+
"'\"'||to_char(data, 'YYYY-MM-DD')::text||'\"'"
|
30
30
|
end
|
31
31
|
simple :time do
|
32
|
-
"'"'||to_char(data, 'HH24:MI:SS')::text||'"'"
|
32
|
+
"'\"'||to_char(data, 'HH24:MI:SS')::text||'\"'"
|
33
33
|
end
|
34
34
|
|
35
35
|
# def unquoted(type)
|