Re: ecpg question

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: George Gensure <werkt(at)csh(dot)rit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ecpg question
Date: 2003-12-24 22:10:02
Message-ID: 20031224221002.GB2243@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roderick A. Anderson 2003-12-24 22:48:19 Re: Installing Postgres w/RH9
Previous Message Jeffrey Pogodzinski 2003-12-24 21:51:55 Postgresql 7.4.1 Compile problem for SCO 5.0.5