|
From: Peter C. <cz...@ba...> - 2011-03-02 08:08:06
|
Hello, On 02/19/2011 02:10 PM, mar...@mh... wrote: > I had to revisit this issue in a different context (libdbi-drivers Bug > #3163428). Now pgsql and mysql are supposed to deal with ports the > same way. If a string option is used to set the port, this port is > used. If no string option is set, but a numeric option is set, use > that. If neither is set, the port will be set to zero. This > essentially means that applications using libdbi are expected to > provide an appropriate port. There is nothing going to happen > automagically. If this behaviour is not desired, feel free to request > a change. As mentioned previously, we could provide the well-known > defaults of pgsql and mysql instead of zero. > > One of the main values of libdbi that it hides driver specific details from applications. So I was told by colleagues, that having default port numbers in libdbi would be very welcome. Bye, -- Peter Czanik (CzP) <cz...@ba...> BalaBit IT Security / syslog-ng upstream http://czanik.blogs.balabit.com/ |