Unix Technical Forum

Re: CVS Commit by andreas: Unix Domain Socket additional stuff switch to

This is a discussion on Re: CVS Commit by andreas: Unix Domain Socket additional stuff switch to within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto gadmin-hackers-owner@postgresql.org] On Behalf Of > cvs@developer.pgadmin.org > Sent: 18 April 2005 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:38 PM
Dave Page
 
Posts: n/a
Default Re: CVS Commit by andreas: Unix Domain Socket additional stuff switch to



> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> cvs@developer.pgadmin.org
> Sent: 18 April 2005 15:39
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] CVS Commit by andreas: Unix Domain
> Socket additional stuff switch to
>
> Log Message:
> -----------
> Unix Domain Socket additional stuff


Err, would you mind unbreaking this please? I can no longer change the
port number for the socket (libpq uses it to form part of the filename),
and the trailing / that is added to the end of the path now results in
libpq trying to connect to paths such as /tmp//.s.PGSQL.5432, which
although it works, is not technically correct iirc.

Heavy night on the beer last night? :-)

/D

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 05:38 PM
Andreas Pflug
 
Posts: n/a
Default Re: CVS Commit by andreas: Unix Domain Socket additional

Dave Page wrote:
>
> Err, would you mind unbreaking this please? I can no longer change the
> port number for the socket (libpq uses it to form part of the filename),


Uh, I wasn't aware of that. Hm, whatever this is good for...

> and the trailing / that is added to the end of the path now


This is your libpq's fault, I can't see any code to add a trailing /.
Your DEFAULT_PGSOCKET_DIR is probably "/tmp/".

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com