Re: Quick patch: Display sequence owner

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Josh Williams <joshwilliams(at)ij(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Quick patch: Display sequence owner
Date: 2008-12-09 14:20:15
Message-ID: 20081209142015.GA4053@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-12-09 14:22:09 Re: WIP: default values for function parameters
Previous Message Magnus Hagander 2008-12-09 14:11:09 Re: new libpq SSL connection option