pgsql: Update obsolete comment.

2020-02-15 Thread Tom Lane
Update obsolete comment. Noted by Justin Pryzby, though I chose to just rip out the stale text, as it's in no way relevant to this particular function. Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdi

pgsql: Clarify coding in Catalog::AddDefaultValues.

2020-02-15 Thread Tom Lane
Clarify coding in Catalog::AddDefaultValues. Make it a bit shorter and better-commented; no functional change. Alvaro Herrera and Tom Lane Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9d1ec5a8e

pgsql: Run "make reformat-dat-files".

2020-02-15 Thread Tom Lane
Run "make reformat-dat-files". Mostly to make sure the previous commit didn't break this. Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/b78542b9e975494bba6db2d2802439c3328d5ef7 Modified Files --

pgsql: Don't require pg_class.dat to contain correct relnatts values.

2020-02-15 Thread Tom Lane
Don't require pg_class.dat to contain correct relnatts values. Practically everybody who's ever added a column to one of the bootstrap catalogs has been burnt by the need to update the relnatts field in the initial pg_class data to match. Now that we use Perl scripts to generate postgres.bki, we