sql: CREATE AS sourcing pg_catalog.pg_cursors nil pointer dereference #106167
Labels
A-sql-vtables
Virtual tables - pg_catalog, information_schema etc
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
db-cy-23
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Running
CREATE TABLE t AS SELECT * FROM pg_catalog.pg_cursors;
or
CREATE MATERIALIZED VIEW v AS SELECT * FROM pg_catalog.pg_cursors;
results in a nil pointer dereference here
cockroach/pkg/sql/pg_catalog.go
Line 3879 in 9e84bfe
Jira issue: CRDB-29436
Epic CRDB-27601
The text was updated successfully, but these errors were encountered: