Re: Quick patch: Display sequence owner
От | Alvaro Herrera |
---|---|
Тема | Re: Quick patch: Display sequence owner |
Дата | |
Msg-id | 20081209142015.GA4053@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Quick patch: Display sequence owner (Josh Williams <joshwilliams@ij.net>) |
Ответы |
Re: Quick patch: Display sequence owner
|
Список | pgsql-hackers |
Josh Williams wrote: > The patch adds a query against pg_depend, then fakes an extra column > "owned_by" in the output: Please send a context diff (diff -c) > Index: src/bin/psql/describe.c > =================================================================== > RCS file: /projects/cvsroot/pgsql/src/bin/psql/describe.c,v > retrieving revision 1.188 > diff -r1.188 describe.c > 917c917 > < seq_values = pg_malloc_zero((SEQ_NUM_COLS+1) * sizeof(*seq_values)); > --- > > seq_values = pg_malloc_zero((SEQ_NUM_COLS+2) * sizeof(*seq_values)); -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: