Suggestion to standardize comment format in pg_dump
От | Nohez Poonawala |
---|---|
Тема | Suggestion to standardize comment format in pg_dump |
Дата | |
Msg-id | CAE0ZbBFSBh-CGWXA8n_P7a=KSkT6Tu7uMN7vkBCdMbAtNd8aTw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Suggestion to standardize comment format in pg_dump
|
Список | pgsql-hackers |
Currently, the pg_dump tool outputs comments in different formats for primary/foreign keys and indexes. Below is the comment format. - for Primary key: -- Name: TABLENAME CONSTRAINTNAME; Type: CONSTRAINT; Schema: SCHEMA; Owner: OWNER - for Foreign key: -- Name: TABLENAME CONSTRAINTNAME; Type: FK CONSTRAINT; Schema: SCHEMA; Owner: OWNER - for Index: -- Name: INDEXNAME; Type: INDEX; Schema: SCHEMA; Owner: OWNER To maintain consistency, I suggest modifying the comment format for indexes to include the associated TABLENAME, similar to constraints. For example: - for Index: -- Name: TABLENAME INDEXNAME; Type: INDEX; Schema: SCHEMA; Owner: OWNER This small change would improve clarity and make the output format more uniform. If I am reporting this to the wrong forum, please excuse me. If possible, kindly suggest the correct forum for submitting this request. Regards,
В списке pgsql-hackers по дате отправления: