Hi Tom,

since web2py allows you to define your id field you could try
something like

db.define_table('big',
  Field('id','double'), # or decimal
  Field('num','double')
)

but I am not sure if it will work in the long run (pun intended).
Massimo?.

Denes

On Oct 23, 10:37 pm, tom h <[email protected]> wrote:
> PS, I could change the default types in PostgreSQL adapter or whatever
> other adapter I'm using, to be BIGSERIAL and BIGINT for id and
> reference id as opposed to SERIAL and INTEGER.  But this is something
> I'd like to control on a table level, not on a database connection
> level.  I could extend the adapter to make my own and overwrite the
> type, but I really don't want to have to maintain two different
> database handles just for identity columns.

Reply via email to