From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Raghu Bhai Chalasani <chalasar(at)wam(dot)umd(dot)edu> |
Cc: | <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: get Timestamp with PQgetvalue()... |
Date: | 2001-03-02 16:33:26 |
Message-ID: | Pine.LNX.4.30.0103021733100.775-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Raghu Bhai Chalasani writes:
> I am trying to get the Timestamp in const char * format with PQgetvalue
> but I am unsuccesful in doing that. When I did:
>
> string s = PQgetvalue(connection.result, 0,2);
> cout << "TimeStamp: " << s << endl;
char * s = PGgetvalue(...);
>
> I am getting some junk value. I have looked at all the manuals online and
> searched on internet but couldn't find anything. Can someone please shed
> some light on me about it? :-)
>
> Thanks,
> Raghu Chalasani
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Jesus Ruiz | 2001-03-02 16:44:22 | Problem compiling PERL |
Previous Message | Peter T Mount | 2001-03-02 15:11:46 | Re: large object descriptor |