[ php-blog-Feature Requests-1394357 ] Select port for PostgreSQL connection
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #1394357, was opened at 2005-12-31 14:25
Message generated for change (Comment added) made by kink
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1394357&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Administrative functions
Group: Next Release
Status: Open
Priority: 3
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Select port for PostgreSQL connection
Initial Comment:
It would be good if you could choose the port the
PostgreSQL database listens to.
This feature is essential if you like to use a sql-
proxy which listens on a non-standard port (at least
different from the standard postgresql port 5432)
----------------------------------------------------------------------
Comment By: Thijs Kinkhorst (kink)
Date: 2006-11-22 20:59
Message:
Logged In: YES
user_id=285765
Originator: NO
I agree with this request.
The second thing you suggest is not possible. If you take a look at the
pg_connect function, you can see that you need to specify every attribute
separately:
$dbconn2 = pg_connect("host=localhost port=5432 dbname=mary");
I think it would be best to introduce an extra dbPort attribute, just like
you have dbHost now, and add that to the different db backends Serendipity
supports.
----------------------------------------------------------------------
Comment By: Garvin Hicking (garvinhicking)
Date: 2005-12-31 16:03
Message:
Logged In: YES
user_id=473563
I'm not that familiar with pgsql, but can't you specify that
in your php.ini or maybe by specifing the host like
"localhost:5344"?
Regards,
Garvin
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1394357&group_id=75065
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV