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

From Pavel Stehule
Subject Re: POLA violation with \c service=
Date
Msg-id CAFj8pRBGqmCh8yFpDKXJgPdZYdaNc1YH44D0VOGnms5hqi9Z5Q@mail.gmail.com
Whole thread Raw
In response to Re: POLA violation with \c service=  (David Fetter <david@fetter.org>)
Responses Re: POLA violation with \c service=
List pgsql-hackers
Hi

I am happy with doc changes now.

When I test last patch, I found sigfault bug, because host = PQhost(o_conn); returns NULL. I fexed it - please, see patch 007

If you are agree with fix, I'll mark this patch as ready for commit.

Regards

Pavel

2015-02-19 23:33 GMT+01:00 David Fetter <david@fetter.org>:
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: Michael Paquier
Date:
Subject: Re: Strange assertion using VACOPT_FREEZE in vacuum.c
Next
From: Alfred Perlstein
Date:
Subject: Question about durability and postgresql.