sql: 'name' attribute of DOid datum is lost during spilling to disk #78547
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
If we force spilling to disk, then we have some failures for
pg_catalog
test file. Namely, we losename
attribute ofDOid
datums for regproc type. For example, for this query:typinput
,typoutput
,typreceive
,typsend
columns will be printed incorrectly and will be incorrectly sent across the wire.The root cause is that we're only encoding / decoding the integer when writing to disk, so we end up with an unpopulated
DOid.name
field.As a possible solution we could include
name
into encoding / decoding as well, but that means we might make some data already written into the database no longer readable. My guess is that spilling to disk doesn't occur often enough, so we're probably ok with keeping this incompatibility unaddressed.Jira issue: CRDB-14176
The text was updated successfully, but these errors were encountered: