Hi,

I found this information about legacy database and the id field name :
http://groups.google.com/group/web2py/browse_thread/thread/eed21229883b5a1a

That seems to work quite well except for one thing... Web2py seems to want a
different sequence name. By default PostgreSQL gives sequence name base on
the PK field and table name...

PostgreSQL sequence name = tablename_pkfieldname_seq

Web2py ask me for : PKFIELD_seq

Does I have to rename my sequence (that work so far on both side : Postgres
and Web2py) or it is a web2py problem... Not sure, maybe I can change the
way PostgreSQL give sequence, but I think it is correct, because it makes
sure that there is not two sequences of the same name in case PK name is use
twice in differents tables.

What to do?

Jonhy

Reply via email to