Is template1 intended to have oid 1 ?

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Is template1 intended to have oid 1 ?
Date: 2021-05-09 22:35:07
Message-ID: 6098639B.5000303@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

I've just noticed this in pg_database.dat:

{ oid => '1', oid_symbol => 'TemplateDbOid',
descr => 'default template for new databases',
datname => 'template1', ...

but in the most recent cluster that I pg_upgraded, template1 has oid 16400.

Nothing is acting broken, but ... is that supposed to happen?

Regards,
-Chap

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-05-09 22:40:06 Re: Non-reproducible valgrind failure on HEAD
Previous Message Tom Lane 2021-05-09 22:17:36 Re: Non-reproducible valgrind failure on HEAD