Re: Bug in CREATE TABLE .. LIKE .. INCLUDING STATISTICS?
Srinath Reddy Sadipiralla <srinath2133@gmail.com>
From: Srinath Reddy Sadipiralla <srinath2133@gmail.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Julien Tachoires <julien@tachoires.me>, dgrowleyml@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2026-04-21T15:56:49Z
Lists: pgsql-bugs
Hi Andrew, On Tue, Apr 21, 2026 at 8:49 PM Andrew Dunstan <andrew@dunslane.net> wrote: > > OK, here's a version that does that in a combined patch, and adjusts the > function comments to mention we also remap the stxkeys. Releases before 18 > will need a little adjustment in the test files. > Thanks for the patch , it LGTM. -- Thanks, Srinath Reddy Sadipiralla EDB: https://www.enterprisedb.com/
Commits
-
Fix attnum remapping in generateClonedExtStatsStmt()
- a0104b4474e9 17.10 landed
- 7bb519635806 16.14 landed
- 76d15a7ee9de 15.18 landed
- 81b56b47c29d 14.23 landed
- 149c875fc20b 18.4 landed
- 6cf49e804c9b 19 (unreleased) landed