| От | Tom Lane |
|---|---|
| Тема | Re: libpq-fe: PQgetvalue() ? |
| Дата | |
| Msg-id | 999.1164412323@sss.pgh.pa.us обсуждение |
| Ответ на | Re: libpq-fe: PQgetvalue() ? (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: libpq-fe: PQgetvalue() ?
|
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> This has been saved for the 8.3 release:
> Danny Milosavljevic wrote:
>> Shouldn't the return type of "PQgetvalue" be "const char*", then?
The pluses and minuses of const-ifying libpq's API have been discussed
before. If we were working in a green field we'd no doubt do it, but
I'm not sure that users would thank us for breaking their existing
working code. Adding a "const" to a function result value has direct
impact on calling applications...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера