From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | franz-josef(dot)faerber(at)stmuk(dot)bayern(dot)de |
Subject: | BUG #17675: pg_dump v15: Comments on constraints missing? |
Date: | 2022-11-02 08:40:40 |
Message-ID: | 17675-c69c001e06390867@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17675
Logged by: Franz-Josef Färber
Email address: franz-josef(dot)faerber(at)stmuk(dot)bayern(dot)de
PostgreSQL version: 15.0
Operating system: postgres 15 container
Description:
Hello,
unfortunately pg_dump Version 15 does not dump comments on constraints.
I tested inside the postgres:15 docker container:
CREATE DOMAIN year AS integer CONSTRAINT year_check CHECK (((VALUE >= 1900)
AND (VALUE <= 2100)));
COMMENT ON CONSTRAINT year_check ON DOMAIN year IS $$year check$$;
CREATE TABLE t(x int, CONSTRAINT t_check CHECK(x>0));
COMMENT ON CONSTRAINT t_check ON t IS $$t check$$;
pg_dump v15 won’t include both comments (whereas v14 does).
Regards,
Franz-Josef Färber
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-11-02 14:33:20 | Re: BUG #17675: pg_dump v15: Comments on constraints missing? |
Previous Message | Lauri Laanmets | 2022-11-02 08:26:49 | Re: Memory leak on subquery as scalar operand |