8.0 ecpg crashes with "create table as" statement.

From: TANIDA Yutaka <tanida(at)sra(dot)co(dot)jp>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: 8.0 ecpg crashes with "create table as" statement.
Date: 2005-02-09 07:34:01
Message-ID: 20050209152955.B146.TANIDA@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

ecpg on 8.0.x crashes while compiling "create table as" statements. For
example,

#include <sqlca.h>
int main(){
EXEC SQL create table a as select 1;
exit(0);
}

Here's a patch attached.

--
TANIDA Yutaka <tanida(at)sra(dot)co(dot)jp>

Attachment Content-Type Size
ecpg_createas.patch application/octet-stream 1.5 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message rob 2005-02-09 07:59:35 Re: SELECT returning too many rows (?)
Previous Message Bruce Momjian 2005-02-09 03:35:34 Re: BUG #1464: Borland C++ problem