Re: mapping object names to role IDs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: mapping object names to role IDs
Date
Msg-id 14842.1274628612@sss.pgh.pa.us
Whole thread Raw
In response to Re: mapping object names to role IDs  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: mapping object names to role IDs
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, May 23, 2010 at 11:10 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'm with Stephen on this one. �I agree that standardizing the function
>> names and behavior would be a good idea, but don't try to put them all
>> in one place.

> Some of the existing functions are in lsyscache.c, some are in files
> in the commands directory, and some are in files in the parser
> directory; also, even between commands and parser, not every object
> type has its own file.  It would be nice to bring some consistency to
> where the functions are located as well as what they do.  Any thoughts
> on how to achieve that?

I think both Stephen and I are saying we don't see merit in that.
Moving around pre-existing functions won't accomplish much except
causing include-list churn.  Let's just standardize the names/APIs
and be done.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Move 'long long' check to c.h
Next
From: Stephen Frost
Date:
Subject: Re: [PATCH] Move 'long long' check to c.h