-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67994: importccl: fail PGDUMP IMPORT if we see a UDT r=pbardea a=adityamaru In 21.1 we added `ignore_unsupported_statements` that ignored all statements that we didnt support while parsing the PGDUMP file. We don't support `CREATE TYPE` and its subsequent usage, and this currently causes a NPE. While we work on adding UDT support to PGDUMP we should make an exception to the ignore option and fail the import instead. Informs: #67983 Release note (bug fix): IMPORT PGDUMP with a UDT would result in a nil pointer exception. This change makes it fail gracefully. Co-authored-by: Aditya Maru <[email protected]>
- Loading branch information
Showing
5 changed files
with
46 additions
and
2 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
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