Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.1(EOL)
-
None
Description
There is a bug in the JSON pretty-printer:
"tree": {
|
"merges": [
|
{
|
"index_merge": {
|
"tree": {
|
"ranges": ["c1(1)0"]
|
},
|
"tree": {
|
"ranges": ["c2(1)1"]
|
}
|
}
|
},
|
"ranges": "c2(1)1", <--- this member was not intended to be printed
|
{
|
"index_merge": {
|
"tree": {
|
"ranges": ["c1(1)2"]
|
},
|
"tree": {
|
"ranges": ["c2(1)3"]
|
}
|
}
|
}
|
]
|
}
|
As far as I know, there is no way to observe the bug for a user.
Json_writer is only used to produce ANALYZE|EXPLAIN FORMAT=JSON output. These documents have particular structure, and it doesn't allow to hit a bug.
I've hit the bug by using Json_writer from extra debugging code.