ecpg on 8.0.x crashes while compiling "create table as" statements. Forexample,
#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>