pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Lionel Elie Mamane <lionel@mamane.lu>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6216: Calling PQconnectdbParams from C++ with a char**
Date: Fri, 23 Sep 2011 14:24:26 +0800
Message-ID: <4E7C261A.3010908@ringerc.id.au> (raw)
In-Reply-To: <20110921082517.GA28080@capsaicin.mamane.lu>
References: <201109201605.p8KG5tku049175@wwwmaster.postgresql.org>
	<4E7921D3.7030209@ringerc.id.au>
	<20110921082517.GA28080@capsaicin.mamane.lu>

On 21/09/2011 4:25 PM, Lionel Elie Mamane wrote:
> I added my initial patch, and as far as I understand, I have to send
> the revised patch to the list before I can register it at the
> commitfest. So here is my revised patch, that uses "const char *const * "
> like elsewhere in the same file instead of "char const* const*".

Yep, I'm happy with that. It does what it says and no more.

I have *NOT* done any detailed testing, as I'm in the middle of moving 
house, but I find it hard to see how it can break anything that isn't 
its self incorrect. You can still pass a `char *' to a `const char * 
const' param, so it won't break any call sites.

--
Craig Ringer



view thread (7+ messages)  latest in thread

Message-ID: <4E7C261A.3010908@ringerc.id.au>
Permalink:  ../4E7C261A.3010908@ringerc.id.au/
Also on:    postgresql.org/message-id/4E7C261A.3010908@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ringerc@ringerc.id.au, lionel@mamane.lu
  Subject: Re: BUG #6216: Calling PQconnectdbParams from C++ with a char**
  In-Reply-To: <4E7C261A.3010908@ringerc.id.au>
  References: <201109201605.p8KG5tku049175@wwwmaster.postgresql.org> <4E7921D3.7030209@ringerc.id.au> <20110921082517.GA28080@capsaicin.mamane.lu> <4E7C261A.3010908@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox