diff options
| author | Amit Kapila | 2022-07-26 02:52:53 +0000 |
|---|---|---|
| committer | Amit Kapila | 2022-07-26 02:52:53 +0000 |
| commit | 857dd353480d98f920099ee0b73da178c197c13d (patch) | |
| tree | 50495415c64d16337e6e310edf3e8b291a53b531 /src/test | |
| parent | 0a5f06b84de76939cf9805e4266d47c2e8bf66df (diff) | |
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
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/tid.out | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/regress/expected/tid.out b/src/test/regress/expected/tid.out index 7d8957bd6f7..8cd6d605952 100644 --- a/src/test/regress/expected/tid.out +++ b/src/test/regress/expected/tid.out @@ -61,7 +61,8 @@ DROP SEQUENCE tid_seq; -- Index, fails with incorrect relation type CREATE INDEX tid_ind ON tid_tab(a); SELECT currtid2('tid_ind'::text, '(0,1)'::tid); -- fails -ERROR: "tid_ind" is an index +ERROR: cannot open relation "tid_ind" +DETAIL: This operation is not supported for indexes. DROP INDEX tid_ind; -- Partitioned table, no storage CREATE TABLE tid_part (a int) PARTITION BY RANGE (a); |
