pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #17675: pg_dump v15: Comments on constraints missing?
2+ messages / 2 participants
[nested] [flat]

Commits from this thread:
  2022-11-02 26ee7fb368 0eede96256  pg_dump: fix failure to dump comments on constraints in some cases.
* BUG #17675: pg_dump v15: Comments on constraints missing?
@ 2022-11-02 08:40 PG Bug reporting form <noreply@postgresql.org>
  2022-11-02 14:33 ` Re: BUG #17675: pg_dump v15: Comments on constraints missing? Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2022-11-02 08:40 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: franz-josef.faerber@stmuk.bayern.de

The following bug has been logged on the website:

Bug reference:      17675
Logged by:          Franz-Josef Färber
Email address:      franz-josef.faerber@stmuk.bayern.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



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

* Re: BUG #17675: pg_dump v15: Comments on constraints missing?
  2022-11-02 08:40 BUG #17675: pg_dump v15: Comments on constraints missing? PG Bug reporting form <noreply@postgresql.org>
@ 2022-11-02 14:33 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2022-11-02 14:33 UTC (permalink / raw)
  To: franz-josef.faerber@stmuk.bayern.de; +Cc: pgsql-bugs@lists.postgresql.org

PG Bug reporting form <noreply@postgresql.org> writes:
> unfortunately pg_dump Version 15 does not dump comments on constraints.

Ugh ... bisecting says I broke it at 5209c0ba0.  Will fix, thanks
for the report!

			regards, tom lane





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


end of thread, other threads:[~2022-11-02 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 08:40 BUG #17675: pg_dump v15: Comments on constraints missing? PG Bug reporting form <noreply@postgresql.org>
2022-11-02 14:33 ` 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