Re: Inherits tables and current CVS

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Nick Barr <nick(dot)barr(at)webbased(dot)co(dot)uk>
Cc: pgsql-general-owner(at)postgresql(dot)org, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Inherits tables and current CVS
Date: 2003-06-26 17:41:41
Message-ID: 3EFB3055.4040109@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nick Barr wrote:
> Hi,
>
> Having read the list, and noticed the message about table inheritance I
> thought that I would see if I could come up with a simple solution, and
> have my first delve into the code for PostgreSQL.
>
> Attached is a diff against 7.3.3 source, of changes to describe.c for
> psql. This should print out a list of parent tables in a similar style
> to that of the index listing. I have done some testing on my side and it
> all seems fine, can some other people have a quick look? What do people
> think? Useful?
Cool!! Thank you. But your patch can't be applyed to current CVS:

% patch < ~/describe_inherits.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- describe.c Sat Dec 21 01:07:22 2002
|+++ describe_inherits.c Thu Jun 26 18:05:17 2003
--------------------------
Patching file describe.c using Plan A...
Hunk #1 succeeded at 928 (offset -13 lines).
Hunk #2 failed at 1021.
Hunk #3 succeeded at 1159 with fuzz 1 (offset 7 lines).
Hunk #4 succeeded at 1162 (offset -13 lines).
1 out of 4 hunks failed--saving rejects to describe.c.rej

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Gould 2003-06-26 17:43:44 Re: pg_dump "all tables" in 7.3.X
Previous Message Jason Earl 2003-06-26 17:37:44 Re: PlPython