Re: pg_dump Add dumping of comments on index columns

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: higepon <higepon(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump Add dumping of comments on index columns
Date: 2009-03-24 14:10:50
Message-ID: 200903241410.n2OEAoj22595@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

higepon wrote:
> Hi.
> I found a TODO item "Add dumping of comments on index columns and
> composite type columns" for pg_dump
> and want to write a patch for it.
>
> But I'm not sure if I understand the problem correctly.
> Does "Add dumping of comments on index columns" mean that
> pg_dump should dump out COMMENT statements like following?
>
> COMMENT ON COLUMN some_index.index_column1 IS 'Hello column1';
>
> Can anybody give me some advice on this?

Wow, I have no idea what that means. I am wondering if we should just
remove this TODO item. We don't even support comments on indexed
columns, so why would pg_dump need to dump it?

The full text is:

Add dumping of comments on index columns and composite type columns

Do we support comments on composite types?

This item first appeared on the TODO list in Postgres 8.0.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message higepon 2009-03-24 14:35:41 Re: pg_dump Add dumping of comments on index columns
Previous Message Tom Lane 2009-03-24 14:02:00 Re: Sampling Profler for Postgres