Looks nice.  Should we put your code in contrib/ or put the URL on our
web site?


> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hello Bruce:
> 
> I'm the main author of UESQLC, an embedded SQL compiler that, (now) can generate
> code for ODBC, Oracle OCI and PostgreSQL LIBPQ interfaces. It parses SQL92, and
> generates the code for the target selected (one of the three main targets
> supported) using a SGML based target code description. I have attached an
> example of C++ with embedded SQL (UESQL). It is under the GPL and this is the
> URL:
> 
> http://uesqlc.dedalo-ing.com/
> 
> I hope that this program could help you.
> 
> Greets.
> Rafa.
> - -- 
> +----------
> | Rafael Jesus Alcantara Perez. P.O. Box 1199, 29080 Malaga, SPAIN.
> | Email: mailto:rafa@dedalo-ing.com
> | PGP public key: http://www.dedalo-ing.com/~rafa/public-key.asc
> +---------------------
> "For every complex problem there is a solution that is concise, clear, simple, and wrong."
> (H. L. Mencken)
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3i
> Charset: noconv
> 
> iQEVAwUBOK59o9qA/MQ7nrK9AQFlAAf8D1KP0xUOWV5uOOG671QBhJsyimO+mevC
> Dw1m/7+EgfOnlgYtIKtB/AQIy1vayVFASnP9fD/udKTXYWWYXFaEGUScHwJpJZj0
> 2TgAZdhjGwaUPnjpizQM6By8bs0bI7s0ZgL8SQw38k0YOZPC+4xCg7UvQsDieR+5
> 5lDZgbgF4Mdls79R6bSBUHZp0lLZkdvsL5V8OsstFY4CI+BXyo1C1RtYpipN7w+N
> dlLCblw7rGz6ohS7BtUU8GkJzGrznDaHz9dmm/7IVRwa8ovUnBVxlRlZCKY5SnGJ
> 6N7xj9HT1QiNsNqpzE8KZFDrUsI290K4Gc55GKhGg8VCes1Z+FIjBg==
> =rDh5
> -----END PGP SIGNATURE-----
Content-Description: UESQL in C++

[Attachment, skipping...]


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Sat, 19 Feb 2000 07:01:55 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: UESQLC
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Looks nice.  Should we put your code in contrib/ or put the URL on our
> web site?

The GPL license would pose a problem for including it in our
distribution, I think (GPL vs BSD and all that) --- but no reason
not to link to it from our web pages...

			regards, tom lane

Sat, 19 Feb 2000 11:55:22 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Re: UESQLC 
On Sat, Feb 19, 2000 at 11:55:22AM -0500, Tom Lane wrote:
> The GPL license would pose a problem for including it in our
> distribution, I think (GPL vs BSD and all that) --- but no reason
> not to link to it from our web pages...

I accidently deleted the original mail before reading it. Could someone
please give me the link. What exactly is UESQLC?

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!

Sun, 20 Feb 2000 11:03:52 +0100
Michael Meskes <meskes@postgresql.org>
Re: [HACKERS] Re: UESQLC

On Sat, 19 Feb 2000, Tom Lane wrote:

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Looks nice.  Should we put your code in contrib/ or put the URL on our
> > web site?
> 
> The GPL license would pose a problem for including it in our
> distribution, I think (GPL vs BSD and all that) --- but no reason
> not to link to it from our web pages...
> 

In the current contrib are any matters with GPL
(from Massimo Dal Zotto).

						Karel


Mon, 21 Feb 2000 10:54:31 +0100 (CET)
Karel Zak - Zakkr <zakkr@zf.jcu.cz>
Re: [HACKERS] Re: UESQLC 
On Sat, Feb 19, 2000 at 12:17:16PM +0100, Rafael Jesus Alcantara Perez wrote:
> I'm the main author of UESQLC, an embedded SQL compiler that, (now) can g=
> ...
> example of C++ with embedded SQL (UESQL). It is under the GPL and this is=

As you might imagine I'm interested in this. After all I maintain ECPG the
embedded SQL preprocessor for C distributed with PostgreSQL. So I tried
looking into your source, but I cannot get mpcl to compile:

dia2dfaml.cc: In function oid _CheckIntegrity()':
dia2dfaml.cc:180: using `typename' outside of template
dia2dfaml.cc: In function oid
_ParseUmlClass(mpcl::TRegularExpressionMatcher &, const string &)':
dia2dfaml.cc:421: using `typename' outside of template
dia2dfaml.cc: In function oid _ResolveStates()':
dia2dfaml.cc:467: using `typename' outside of template
dia2dfaml.cc:468: using `typename' outside of template
dia2dfaml.cc: In function oid _WriteActions()':
dia2dfaml.cc:502: using `typename' outside of template
dia2dfaml.cc: In function oid _WriteDfaml(const string &)':
dia2dfaml.cc:520: using `typename' outside of template
dia2dfaml.cc: In function oid _WriteTransitions(const string &)':
dia2dfaml.cc:592: using `typename' outside of template
make[3]: *** [dia2dfaml.o] Error 1

I hvae not found the time to dig into it myself.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!

Tue, 22 Feb 2000 11:10:52 +0100
Michael Meskes <meskes@postgresql.org>
Re: UESQLC