Re: ecpg and C++

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ecpg and C++
Дата
Msg-id 20050823074847.GC8062@1
обсуждение исходный текст
Ответ на ecpg and C++  ("Peter L. Berghold" <Peter@berghold.net>)
Список pgsql-general
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@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

В списке pgsql-general по дате отправления:

Предыдущее
От: wolverine my
Дата:
Сообщение: Re: ERROR: database is being accessed by other users
Следующее
От: Jose Gonzalez Gomez
Дата:
Сообщение: [OT?] ETL tools