libpq: make PGresult* "const" in PQcmdStatus()/PQcmdTuples()?

Поиск
Список
Период
Сортировка
От Jeroen Vermeulen
Тема libpq: make PGresult* "const" in PQcmdStatus()/PQcmdTuples()?
Дата
Msg-id CA+zULE6XGuMU8ND38ABLxgBTN-YFzcnq+MCVb6Tyxgg6ZxYFXw@mail.gmail.com
обсуждение исходный текст
Ответы Re: libpq: make PGresult* "const" in PQcmdStatus()/PQcmdTuples()?
Список pgsql-interfaces
Any objections to changing these two libpq functions' PGresult* parameters to be const?

So "char * PQcmdStatus(PGresult *)" would become "char *PQcmdStatus(const PGresult *)", and "char *PQcmdTuples(PGresult *)" would become "char *PQcmdTuples(const PGresult *)".


Jeroen


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