Re: ecpg question - Mailing list pgsql-general

From Michael Meskes
Subject Re: ecpg question
Date
Msg-id 20031224221002.GB2243@1
Whole thread Raw
In response to ecpg question  (George Gensure <werkt@csh.rit.edu>)
Responses Re: ecpg question
List pgsql-general
On Tue, Dec 23, 2003 at 02:06:14AM -0500, George Gensure wrote:
> EXEC SQL SELECT * FROM foo() AS TBL( c int, i int );
>
> or any other query with multiple columns to a TBL description causes a
> segfault in ecpg.  It also concerns me that all other symbols are

I just fixed this. The reason was a usage of ',' instead of
make_str(",") in the cat_str call. Since the argument is free'd
afterwards it couldn't work.

Ecpg does not lowercase all symbols per default but only those that need
some special treatment like keywords. There's no logic to just lowercase
everything as this is not requiered IIRC.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: hardware requirements under Redhat
Next
From: "Roderick A. Anderson"
Date:
Subject: Re: Installing Postgres w/RH9