Re: TupleDescAttr bounds checks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: TupleDescAttr bounds checks
Date: 2026-04-04 14:30:02
Message-ID: 3956199.1775313002@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alexander Lakhin <exclusion(at)gmail(dot)com> writes:
> I've found a way to trigger the Assert added in c98ad086a:
> CREATE TABLE t(i int);
> COPY t FROM stdin WHERE tableoid > 0;
> server closed the connection unexpectedly

Good catch. I bet it's possible to trigger the Assert just above,
too, with a WHERE expression using "t.*".

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-04-04 14:33:43 Re: Add pg_stat_autovacuum_priority
Previous Message Alexander Lakhin 2026-04-04 14:00:00 Re: TupleDescAttr bounds checks