Skip to content

Instantly share code, notes, and snippets.

@greggy
Created July 2, 2012 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greggy/3033293 to your computer and use it in GitHub Desktop.
Save greggy/3033293 to your computer and use it in GitHub Desktop.
> pgsql:equery(C2, "INSERT INTO app_test (test1, test2, test3) VALUES ($1, $2, $3) RETURNING id", ["TEST1", 127, pgsql_binary:encode(timestamptz, {{2012,7,2},{17,12,10}})]).
** exception exit: {noproc,{gen_fsm,sync_send_event,
[<0.3800.0>,
{parse,[],
"INSERT INTO app_test (test1, test2, test3) VALUES ($1, $2, $3) RETURNING id",
[]},
infinity]}}
in function gen_fsm:sync_send_event/3 (gen_fsm.erl, line 214)
in call from pgsql:equery/3 (src/pgsql.erl, line 44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment