Test json rpc arguments
In particular, check buggy behavior around embedded quoted JSON and Postgres versions, compare https://www.postgresql.org/message-id/D6921B37-BD8E-4664-8D5F-DB3525765DCD%40vllmrt.net This adds version-bounded tests for the handling of quoted JSON, and a pending test that documents the assumption that Postgres >=10 intends to parse quoted JSON as a string (similar to how jsonb works now).
This commit is contained in:
committed by
Steve Chávez
parent
1f69822fa3
commit
30d5a81156
@@ -426,6 +426,14 @@ spec = do
|
||||
"integer": {
|
||||
"format": "integer",
|
||||
"type": "integer"
|
||||
},
|
||||
"json": {
|
||||
"format": "json",
|
||||
"type": "string"
|
||||
},
|
||||
"jsonb": {
|
||||
"format": "jsonb",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user