[ecpg & void type] problem

From: john moyard <j(dot)moyard(at)voila(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: [ecpg & void type] problem
Date: 2015-12-24 14:35:50
Message-ID: 1845824453.23471450967750503.JavaMail.www@wwinf7143
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

I am trying to compile my first .pgc file in way to btain a C source file.

This pgc file contains data type 'void' in some function prototypes.
An example could be "void dataconnection () {}"

At the compilation step thanks to ecpg command, I obtain the following message :
ERROR: unrecognized data type name "void"
I use a commande like "ecpg -c -o test.c test.pgc"

I am not able to find a solution, could you please help me?

Regards

___________________________________________________________
Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr http://shopping.voila.fr/

Browse pgsql-novice by date

  From Date Subject
Next Message kurt 2015-12-31 20:30:22 Centos Hot-Standby, different Startup behavior between systemctl & pg_ctl start.
Previous Message Andreas Kretschmer 2015-12-05 21:38:20 Re: function returns no results