Re: POLA violation with \c service= - Mailing list pgsql-hackers

From David Fetter
Subject Re: POLA violation with \c service=
Date
Msg-id 20150219223328.GD8831@fetter.org
Whole thread Raw
In response to Re: POLA violation with \c service=  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: POLA violation with \c service=  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Thu, Feb 19, 2015 at 09:32:29PM +0100, Pavel Stehule wrote:
> 2015-02-19 19:51 GMT+01:00 David Fetter <david@fetter.org>:
>
> > On Sun, Feb 01, 2015 at 08:38:24AM +0100, Pavel Stehule wrote:
> >
> > I'm not sure how best to illustrate those.  Are you thinking of one
> > example each for the URI and conninfo cases?
> >
>
> some like
>
> "most common form is:
>
> "\c mydb"
>
> but you can use any connection format described
> (libpq-connect.html#LIBPQ-PARAMKEYWORDS) like
>
> "\c postgresql://tom@localhost/mydb?application_name=myapp"

Examples added.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Ants Aasma
Date:
Subject: Re: Allow "snapshot too old" error, to prevent bloat
Next
From: Adam Brightwell
Date:
Subject: Re: CATUPDATE confusion?