[erlang-questions] timestamp for pgsql

Dave Rafkind <>
Wed Dec 5 04:08:20 CET 2007

In the current postgresql driver for erlang (I'm using the ejabberd-module
one because that's the one I got to work), how does one specify TIMESTAMP

ie if I do

pgsql:prepare(Db, my_insert, "insert into foo_table (timestamp_column)
values ($1)").

what should I put in the subsequent call to

pgsql:execute(Db, my_insert, [?????])

P.S. I think the Junglerl pgsql driver is broken for prepared statements.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071204/62e7639d/attachment.html>

More information about the erlang-questions mailing list