Eliminate duplicate code in table.c.
authorAmit Kapila <akapila@postgresql.org>
Tue, 26 Jul 2022 02:52:53 +0000 (08:22 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 26 Jul 2022 02:52:53 +0000 (08:22 +0530)
commit857dd353480d98f920099ee0b73da178c197c13d
tree50495415c64d16337e6e310edf3e8b291a53b531
parent0a5f06b84de76939cf9805e4266d47c2e8bf66df
Eliminate duplicate code in table.c.

Additionally improve the error message similar to how it was done in
2ed532ee8c.

Author: Junwang Zhao, Aleksander Alekseev
Reviewed-by: Amit Kapila, Alvaro Herrera, Kyotaro Horiguchi
Discussion: https://postgr.es/m/CAEG8a3KbVtBm_BYf5tGsKHvmMieQVsq_jBPOg75VViQB7ACL8Q%40mail.gmail.com
src/backend/access/table/table.c
src/test/regress/expected/tid.out