Re: [HACKERS] a question about exec_simple_query()

2008-06-09 Thread Tom Lane
"=?GB2312?Q?=CD=F4=E7=F9?=" <[EMAIL PROTECTED]> writes: > In other words, what's the benifit we use a portal to run a > simple query? er, because it doesn't work otherwise? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.

[HACKERS] a question about exec_simple_query()

2008-06-09 Thread 汪琦
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