pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion

pgsql: Ensure we have a snapshot while dropping ON COMMIT DROP temp tab

2023-10-16 Thread Tom Lane
Ensure we have a snapshot while dropping ON COMMIT DROP temp tables. Dropping a temp table could entail TOAST table access to clean out toasted catalog entries, such as large pg_constraint.conbin strings for complex CHECK constraints. If we did that via ON COMMIT DROP, we triggered the assertion