-- ctid: an upper bound past the end of the table keeps every row -- shape: tid -- expect: agg -- key: - -- scenario: yes -- guc: enable_tidscan = off SELECT count(*) AS n, sum(tenant_id) AS s FROM orders WHERE ctid < '(100000,1)'