Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108811: sqlsmith: disable NAME type in postgres mode r=michae2 a=msirek The NAME type is known to have different behavior in CRDB than in postgres, in that casting to name truncates a string to 63 characters in postgres, but not in CRDB, causing sqlsmith test failures. For backwards compatibility, CRDB behavior is not being changed to match postgres, at least for now. The fix is to prevent sqlsmith tests which use postgres mode (which implies it is comparing CRDB results with postgres) from generating NAME as a random type for testing. Fixes: #107895 Release note: None Co-authored-by: Mark Sirek <[email protected]>
- Loading branch information