Skip to content

Regression tests fail with PostgreSQL 10 #44

Closed
@df7cb

Description

@df7cb

PG 10's \d command displays more informational columns per table column. This causes the typmod test to fail:

--- typmod.ref	2018-04-06 17:15:13.120975855 +0200
+++ typmod.out	2018-04-07 13:53:14.916061671 +0200
@@ -13,10 +13,10 @@
 CREATE TABLE test_qiundgkm (v1 hll);
 CREATE TABLE
 \d test_qiundgkm
-Table "public.test_qiundgkm"
- Column | Type | Modifiers 
---------+------+-----------
- v1     | hll  | 
+          Table "public.test_qiundgkm"
+ Column | Type | Collation | Nullable | Default 
+--------+------+-----------+----------+---------
+ v1     | hll  |           |          | 

Generally I'd suggest moving to standard pg_regress for testing. It supports multiple expected output files (expected/typmod.out, expected/typmod_1.out, ...) so this problem could easily be worked around.

(Problem discovered while updating the postgresql-hll package for Debian and apt.postgresql.org.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions