a question about exec_simple_query()

Поиск
Список
Период
Сортировка
От 汪琦
Тема a question about exec_simple_query()
Дата
Msg-id 484DEA19.04359E.25430@m5-81.163.com
обсуждение исходный текст
Ответы Re: a question about exec_simple_query()
Список pgsql-hackers
Hi, everyone:
    In functin exec_simple_query(), why we run a simple query wrapped in a portal.
    For instance:
    version 8.3.0 ,postgres.c, Line 908
    /*     * Create unnamed portal to run the query or queries in. If there     * already is one, silently drop it.
*/   portal = CreatePortal("", true, true);
 
    ......
        In other words, what's the benifit we use a portal to run a simple query?

    Thanks for your help!  :)





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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Core team statement on replication in PostgreSQL
Следующее
От: "Koichi Suzuki"
Дата:
Сообщение: Re: Core team statement on replication in PostgreSQL