This is how we build dyntest:
/platdb/bin/ecpg -I /platdb/include -o dyntest74.c dyntest.pgc
cc -I/platdb/include -R/platdb/lib -L/platdb/lib -lecpg -o lucyDyntest74 dyntest74.c
The cc here is the Sun Workshop compiler.
Thanks.
Gan
At 10:03 pm +0100 2003/12/10, Michael Meskes wrote:
On Wed, Dec 10, 2003 at 01:50:39PM -0600, Seum-Lim Gan wrote:We compiled the dyntest.pgc (in src/interfaces/ecpg/test) and tried it out but it seems like it is not able to stop after reading the last record and keep going on forever. sqlcode return is always 0 and never get to 100 where it is supposed to. The dyntest.pgc has not changed from 7.3.4 to 7.4 and it used to work in 7.3.4.
Do you use any special options to ecpg?
I just tried with CVS HEAD and it runs without a problem. Albeit on an empty database just showing the system tables.
Anyone else having problems with this test case?
Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
-- +--------------------------------------------------------+ | Seum-Lim GAN email : [EMAIL PROTECTED] | | Lucent Technologies | | 2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 | | Naperville, IL 60566, USA. fax : (630)-713-7272 | | web : http://inuweb.ih.lucent.com/~slgan | +--------------------------------------------------------+
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])