Re: Commands/ directory reorganisation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John Gray <jgray(at)azuli(dot)co(dot)uk>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Commands/ directory reorganisation
Date: 2002-04-15 00:34:50
Message-ID: 200204150034.g3F0YoS29099@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> John Gray <jgray(at)azuli(dot)co(dot)uk> writes:
> > Patch attached in line with my previous statement on -hackers about
> > reorganisation of files in the commands directory. (Note that define.c
> > has been kept, holding some of the common support code for define
> > routines.)
>
> This patch looks reasonable to me, with one significant gripe and a
> couple of minor ones.
>
> The significant gripe is that I don't think domaincmds.c should exist;
> domains are not really different from types and so I think their
> commands should be in typecmds.c. Splitting into two files doesn't do
> much except eliminate the possibility of sharing code via "static"
> subroutines.
>
> I have one or two trivial coding-style issues too, like not wanting to
> see "extern" on routine definitions.
>
> If no one has any other objections, I'll fix the things that are
> bothering me and check it in.

Sounds good to me.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-04-15 01:23:21 Re: Commands/ directory reorganisation
Previous Message Tom Lane 2002-04-15 00:33:31 Re: Commands/ directory reorganisation