psql's describe command (for sequences) output improvement
От | Aftab Hussain |
---|---|
Тема | psql's describe command (for sequences) output improvement |
Дата | |
Msg-id | 51494DB187D98F4C88DBEBF1F5F6D4230D1269@edb06.mail01.enterprisedb.com обсуждение исходный текст |
Ответы |
Re: psql's describe command (for sequences) output improvement
|
Список | pgsql-hackers |
<br /><p><font size="2">Hi all,<br /><br /> I have a patch which tries to improve the '\d some_sequence_name' command outputin psql utility. Before sending the patch to pgsql-patches I just want to know your opinion whether the new outputof the command is OK or it needs to be modified before sending it to pgsql-patches.<br /><br /> For comparison purpose,here is the output of the '\d some_sequence_name' command:<br /><br /> -- Say we have created a sequence named 'test_seq'already as CREATE SEQUENCE test_seq.<br /><br /> --<br /> -- Output: before applying the patch.<br /> --<br />testdb=# \d test_seq;<br /> Sequence "public.test_seq"<br /> Column | Type <br /> ---------------+---------<br/> sequence_name | name<br /> last_value | bigint<br /> increment_by | bigint<br /> max_value | bigint<br /> min_value | bigint<br /> cache_value | bigint<br /> log_cnt | bigint<br /> is_cycled | boolean<br /> is_called | boolean<br /><br /> --<br /> -- Output: after applying the patch.<br /> --<br/> testdb=# \d test_seq;<br /> Sequence "public.test_seq"<br /> last_value | increment_by| max_value | min_value | cache_value | log_cnt | is_cycled | is_called<br /> ------------+--------------+---------------------+-----------+-------------+---------+-----------+-----------<br/> 1 | 1 | 9223372036854775807 | 1 | 1 | 1 | f | f<br /><br /><br /><br/> Thanks in advance for your feedback(s).<br /><br /> --<br /> Aftab.</font>
В списке pgsql-hackers по дате отправления: