pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1250aad42520fd5a3db68d6381997b7e1f9bb4aa

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f479ea94bd24e61199fab3596a4a3e7241c6c28c

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7681b78fba106b43d9b10d22b52ba2d5cbfc1326

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/25d1ef1aaf6d104fa0b315e2f5f9840f0b164334

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/26a0535334ce31b12baf146ad0860c10c4947913

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Ensure pg_filenode_relation(0, 0) returns NULL.
@ 2021-06-12 17:29 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2021-06-12 17:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Ensure pg_filenode_relation(0, 0) returns NULL.

Previously, a zero value for the relfilenode resulted in
a confusing error message about "unexpected duplicate".
This function returns NULL for other invalid relfilenode
values, so zero should be treated likewise.

It's been like this all along, so back-patch to all supported
branches.

Justin Pryzby

Discussion: https://postgr.es/m/20210612023324.GT16435@telsasoft.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c1ffbbcbca93b3544c0b57b7ab063497794cb8ff

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2021-06-12 17:29 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>
2021-06-12 17:29 pgsql: Ensure pg_filenode_relation(0, 0) returns NULL. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox