Re: Notes on implementing URI syntax for libpq
From:
Greg Smith <greg(at)2ndQuadrant(dot)com>
To:
pgsql-hackers(at)postgresql(dot)org
Subject:
Re: Notes on implementing URI syntax for libpq
Date:
2011-11-28 08:08:42
Message-ID:
4ED3418A.2010601@2ndQuadrant.com (view raw or flat )
Thread:
2011-11-21 18:35:16 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-23 08:37:30 from Michael Meskes <meskes(at)postgresql(dot)org>
2011-11-23 11:04:47 from Florian Weimer <fweimer(at)bfk(dot)de>
2011-11-24 06:57:36 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 11:57:17 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-11-24 12:33:41 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 13:35:36 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-11-24 13:50:47 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 13:59:08 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-11-24 14:02:04 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-26 19:46:32 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-29 19:53:44 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 13:52:03 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-11-26 20:07:21 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-29 20:02:37 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-12-05 09:56:19 from Daniel Farina <daniel(at)heroku(dot)com>
2011-12-09 11:03:32 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-12-09 15:56:15 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-12-09 21:04:26 from Daniel Farina <daniel(at)heroku(dot)com>
2011-12-09 21:25:08 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 06:59:56 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 07:19:02 from Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
2011-11-24 07:24:42 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 07:41:08 from Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
2011-11-24 07:40:42 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2011-11-24 08:22:21 from Alexey Klyukin <alexk(at)commandprompt(dot)com>
2011-11-24 14:40:00 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 15:02:13 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-11-24 15:22:06 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 08:58:57 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 13:21:49 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-11-24 13:43:11 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 20:05:09 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2011-11-26 19:36:22 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 14:01:58 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-11-24 14:31:29 from Florian Weimer <fweimer(at)bfk(dot)de>
2011-11-24 14:41:45 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-11-24 14:50:45 from Florian Weimer <fweimer(at)bfk(dot)de>
2011-11-24 14:48:20 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-28 08:08:42 from Greg Smith <greg(at)2ndQuadrant(dot)com>
2011-11-28 10:55:36 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 13:54:24 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2011-11-24 14:02:38 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-11-24 14:44:39 from Alexander Shulgin <ash(at)commandprompt(dot)com>
2011-11-24 20:01:20 from Peter Eisentraut <peter_e(at)gmx(dot)net>
Lists:
pgsql-hackers
On 11/24/2011 05:21 AM, Alvaro Herrera wrote:
> A coworker also suggested using a different designator:
>
> postgresqli:///path/to/socket:5433/database
> postgresqli://:5433/database
This is not unprecedented. An example is how CUPS handles this problem
when connecting printers using URIs:
http://www.cups.org/documentation.php/network.html where you might see
this for the usual port:
lpd://ip-address-or-hostname/queue
And this for AppSocket AKA JetDirect:
socket://ip-address-or-hostname
I am certainly not going to defend printing setup with CUPS as a model
worth emulating, just noting the similarity here. I think we'll save
miles of user headaches if there's only one designator.
In response to
Responses
pgsql-hackers by date
Next :From: Greg SmithDate: 2011-11-28 08:53:01
Subject : Re: Displaying accumulated autovacuum cost
Previous :From : Greg SmithDate : 2011-11-28 07:54:38
Subject : Re: Patch: add timing of buffer I/O requests