Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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: where you might see 
this for the usual port:


And this for AppSocket AKA JetDirect:


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


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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group