Hi
I want to use factor database library wih postgres but I have a
little problem with primary key names.
It looks like primary key must be "id".
When "create-table" is called, "create-function-sql" uses table name
and suffix it with _id_seq to give a name to currval
"select currval(''" 0% 0%
"_id_seq'')
If primary key is not "id" but "tablename_id", postgres creates
"tablename_tablename_id_seq" as curval.
"create-table" fails because it looks for a "tablename_id_seq" curval
which does not exist.
Would it be possible to modify "create-function-sql" in db.postgres
to handle pk name other than "id" ?
thanks
JF
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk