Re: Path separator - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Path separator
Date
Msg-id 19262.1239129707@sss.pgh.pa.us
Whole thread Raw
In response to Re: Path separator  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Path separator  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>> Answering myself here: the filesize for the "frontend only" part is
>> about 2k on this system.

> Long meeting, time for coding.. :-) Here's a rough patch. Is this about
> what you had in mind?

Hm, this seems to make the namespace pollution problem worse not better,
because of de-staticizing so many functions.  I guess we could stick pg_
prefixes on all of them.  That's a bit ugly; anybody have a better idea?

It might be that it'd be better to push a couple more of the simple
path-munging functions (like join_path_components) over into the new
file, so as to have a more logical division of responsibilities.
In my mind the two key areas here are "path syntax knowledge" and
"extracting absolute paths from environmental information".  The second
part seems to be the one that doesn't belong on the frontend side.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: More message encoding woes
Next
From: Heikki Linnakangas
Date:
Subject: Re: More message encoding woes