Re: PQexec() with multiple sql statements.

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Yasuo Ohgaki <yasuo_ohgaki(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PQexec() with multiple sql statements.
Date: 2001-04-09 04:48:19
Message-ID: 3AD13F13.F2868F40@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yasuo Ohgaki wrote:
>
> Hello all,
>
> I'm would like to know how PQexec() treats query passed as its parameter.
> (PostgreSQL 7.0.3/Linux)
>

Queries in a multiple query are parsed and analyzed
at once before the execution. INSERT after CREATE
TABLE in a multiple query is impossible in 7.0.3.
Probably this is fixed in 7.1.

regards,
Hiroshi Inoue

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Jorgensen 2001-04-09 05:13:59 PostgreSQL on Windows (again)
Previous Message Hiroshi Inoue 2001-04-09 04:47:03 Re: PQexec() with multiple sql statements.