mirror of https://github.com/jackc/pgx.git
Use json instead of jsonb for PG 9.3 compat.
parent
8e9b095ce0
commit
1fbd6977e1
|
@ -1475,7 +1475,7 @@ func TestScanJSONIntoJSONRawMessage(t *testing.T) {
|
|||
|
||||
var msg json.RawMessage
|
||||
|
||||
err := db.QueryRow("select '{}'::jsonb").Scan(&msg)
|
||||
err := db.QueryRow("select '{}'::json").Scan(&msg)
|
||||
if err != nil {
|
||||
t.Fatalf("QueryRow / Scan failed: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue