Re: [RFC] Removing "magic" oids
John Naylor <jcnaylor@gmail.com>
From: John Naylor <jcnaylor@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2018-11-15T10:25:21Z
Lists: pgsql-hackers
Attachments
- fix-reformat-dat-files.patch (text/x-patch) patch
On 11/15/18, Andres Freund <andres@anarazel.de> wrote: > I've now revised this slightly. genbki.pl now computes the maximum oid > explicitly assigned in .dat files, and assignes oids to all 'oid' > columns without a value. It does so starting directly at the maximum > value. I personally don't see need to have implicit .bki oids be in a > different range, and having them assigned more densely is good for some > things (e.g. the fmgr builtins table, even though we currently assign > all proc oids manually). I don't see an advantage to having a different range, but maybe it should error out if $maxoid reaches FirstBootstrapObjectId. This patch breaks reformat_dat_file.pl. I've attached a fix, which also de-lists oid as a special key within the *.dat files. It might be good to put off reformatting until feature freeze, so as not to break others' patches. -John Naylor
Commits
-
Revive test of concurrent OID generation.
- dffb891d78cb 12.0 landed
- 8a0cbb88524e 13.0 landed
-
Fix typo introduced in 578b229718.
- 54bb22f66af9 12.0 landed
-
Fix pg_upgrade for oid removal.
- 12a53c732ced 12.0 landed
-
Fix sepgsql compile error caused by oid removal.
- 937e4e509998 12.0 landed
-
Remove WITH OIDS support, change oid catalog column visibility.
- 578b229718e8 12.0 landed