Search Postgresql Archives

Re: ecpg and C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 28, 2005 at 05:07:04PM -0400, Peter L. Berghold wrote:
> If I wanted to embed SQL code in a C++ file is there a way to use ecpg
> to generate the proper C++ files?

Sorry for the late answer, but I have been on vacation and some business
trips, so I'm just catching up on my mail backlog. 

What exactly do you want to get and do not? ecpg is supposed to be a C
precompiler, but it should at least accept most C++ stuff as well. That
of course means that it is output as read, so remains C++.

The internal code produced remains C of course unless you implement a
different output engine.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@xxxxxxxxxx
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux