Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: ecpg_createas.patch
Description: application/octet-stream (1.5 KB)

Responses

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group