-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in FOR JSON AUTO with nested queries. (#3125)
* Fix regression in FOR JSON AUTO with nested queries. The previous implementation of nested FOR JSON AUTO relied on the happy accident that the enum T_JsonArrayQueryConstructor happened to have the same value as the typid for the json type, 114. In PG17 the enum value for T_JsonArrayQueryConstructor changed to 130, leading to errors when trying to evaluate nested FOR JSON AUTO queries. Fix this by properly using the typid for json. Task: BABEL-5398 Signed-off-by: Jason Teng <[email protected]>
- Loading branch information
1 parent
81de5b9
commit e47fa84
Showing
4 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters