Tom Lane writes:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > I don't like the code in fe-connect.c one bit, it's way messed up.
>
> Yes. We've accepted several extremely questionable (not to mention
> poorly documented or completely undocumented) "features" in there
> recently. If I'd be
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> I'm going to disable the URL patch, since it doesn't seem to work and
> breaks legitimate uses of database names with funny characters. The
> service patch seemed kind of useful, but since it's not documented and I
> don't feel like finding out, I th
Peter Eisentraut <[EMAIL PROTECTED]> writes:
> I don't like the code in fe-connect.c one bit, it's way messed up.
Yes. We've accepted several extremely questionable (not to mention
poorly documented or completely undocumented) "features" in there
recently. If I'd been paying more attention I
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Am I handling this properly? I hate to be dragging around the unix
> > socket directory name in pghost for too long and hate to be propogating
> > the slash test throughout the code.
>
> It's probably cleanest to do that the way you are doing it.
Bruce Momjian <[EMAIL PROTECTED]> writes:
> Am I handling this properly? I hate to be dragging around the unix
> socket directory name in pghost for too long and hate to be propogating
> the slash test throughout the code.
It's probably cleanest to do that the way you are doing it. However,
one
Well, actually, unixsocket can be specified by PQconnectdb. Sounds like
it is a big mess. Care to tame it? I am heading to Japan tomorrow and
don't want to leave it 1/2 done.
> Bruce Momjian writes:
>
> > Am I handling this properly? I hate to be dragging around the unix
> > socket director
Bruce Momjian writes:
> Am I handling this properly? I hate to be dragging around the unix
> socket directory name in pghost for too long and hate to be propogating
> the slash test throughout the code.
ISTM that you could just do this in connectDBStart() where it actually
decides on AF_UNIX.
> Bruce Momjian writes:
>
> > Done. I did not change PQunixsocket or the unixsocket PQconnectdb
> > connection option. Should they be changed too?
>
> They should be removed because PQhost does this now.
I assume you mean PQunixsocket. As part of the database connection, if
pghost begins wit
Bruce Momjian writes:
> Done. I did not change PQunixsocket or the unixsocket PQconnectdb
> connection option. Should they be changed too?
They should be removed because PQhost does this now.
--
Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
> Bruce Momjian writes:
>
> > The 7.1 code will the socket location configurable.
>
> Btw., are you still about to change it to the directory rather than the
> file? I'd suggest that you change the GUC parameter to
> "unix_socket_directory", to be consistent in naming with related
> parameters.
Yes, I will make the change.
> Bruce Momjian writes:
>
> > The 7.1 code will the socket location configurable.
>
> Btw., are you still about to change it to the directory rather than the
> file? I'd suggest that you change the GUC parameter to
> "unix_socket_directory", to be consistent in nam
Nathan Myers <[EMAIL PROTECTED]> writes:
>> * Oliver Elphick <[EMAIL PROTECTED]> [001117 16:41] wrote:
could the socket location be made a configurable parameter
in 7.1?
> /tmp is a bad place for this stuff anyway.
There have been *very long* discussions of this issue in the past,
see
The 7.1 code will the socket location configurable.
> At present the Unix socket's location is hard-coded as /tmp.
>
> As a result of a bug report, I have moved it in the Debian package to
> /var/run/postgresql/. (The bug was that tmpreaper was deleting it and
> thus blocking new connections.)
On Fri, Nov 17, 2000 at 04:49:43PM -0800, Alfred Perlstein wrote:
> * Oliver Elphick <[EMAIL PROTECTED]> [001117 16:41] wrote:
> > At present the Unix socket's location is hard-coded as /tmp.
> >
> > As a result of a bug report, I have moved it in the Debian package to
> > /var/run/postgresql/.
* Oliver Elphick <[EMAIL PROTECTED]> [001117 16:41] wrote:
> At present the Unix socket's location is hard-coded as /tmp.
>
> As a result of a bug report, I have moved it in the Debian package to
> /var/run/postgresql/. (The bug was that tmpreaper was deleting it and
> thus blocking new connect
At present the Unix socket's location is hard-coded as /tmp.
As a result of a bug report, I have moved it in the Debian package to
/var/run/postgresql/. (The bug was that tmpreaper was deleting it and
thus blocking new connections.)
I suppose that we cannot assume that /var/run exists across a
16 matches
Mail list logo