Re: About the parameter of API: PQprepared

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: About the parameter of API: PQprepared
Дата
Msg-id 15159.1222435161@sss.pgh.pa.us
обсуждение исходный текст
Ответ на About the parameter of API: PQprepared  (iihero <iihero@gmail.com>)
Список pgsql-hackers
iihero <iihero@gmail.com> writes:
> In libpq, the definition is like:
> PGresult *
> PQprepare(PGconn *conn,
>     const char *stmtName, const char *query,
>     int nParams, const Oid *paramTypes)

> Could we remove the parameter "nParams"?

No.  We are not going to break every existing user of the function.
But you can already set it to zero if you don't feel like prespecifying
the parameter types.
        regards, tom lane


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: FSM, now without WAL-logging
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: FSM, now without WAL-logging