Re: pgAdmin III commit: Revert the previous change that introduced sysSetti

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin III commit: Revert the previous change that introduced sysSetti
Дата
Msg-id AANLkTi=5gdSe3+2s-6xVDzUpM5c4+OBS7MFdc6B_hx=R@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin III commit: Revert the previous change that introduced sysSetti  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список pgadmin-hackers
On Sat, Feb 19, 2011 at 2:45 AM, Peter Geoghegan
<peter.geoghegan86@gmail.com> wrote:
> Attached patch makes changes described to write() variants. What do you think?
>
> I conducted a little test to verify that I correctly changed all call
> sites - implicit casts can be tricky. Once I had finished changing the
> function names and their call sites, I provided an overload of write
> with const wxChar*, complete with implementation/definition. I then
> provided just a declaration of all the old overloads of write(). I
> wanted to see if I got any linker errors. The idea of the wxChar*
> variant (the one with the implementation) is to prevent any
> write(const wxString&, const wxChar*) calls from calling my
> write(bool) declaration, as they prefer that to write(const wxString&,
> const wxString&) . Anyway, none of the old declarations were called,
> and I saw no linker errors.
>
> --
> Regards,
> Peter Geoghegan
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Replace the various sysSettings::Write overloads wi
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin III commit: Revert the previous change that introduced sysSetti