citusdata / citusdata/citus

SQL Error [XX000]: ERROR: invalid attnum -2 for rangetable entry s

Open
#5,884 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

I created new distributed table :
create table t1 ( id uuid primary key, tname text);

select create_distributed_table('public.t1','id')

The error message "SQL Error [XX000]: ERROR: invalid attnum -2 for rangetable entry s" when query below query
SELECT s.xmin
FROM t1 AS s
WHERE (true = false);

SELECT s.xmin
FROM t1 AS s
WHERE (1 = 0);

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.