Re: [web2py] Re: web2py / pydal returning id 1 in postgres

2015-11-26 Thread Johann Spies
What is the output of \d+ in psql? What does your model in web2py for that model look like? Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://

Re: [web2py] Re: web2py / pydal returning id 1 in postgres

2015-11-25 Thread Mark Graves
I tried both, unfortunately. Working on posting the code right now -Mark On Wed, Nov 25, 2015 at 12:41 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > very strange. Are you using psycopg2 or pg8000? I do not trust the latter. > > > On Tuesday, 24 November 2015 12:42:44 UTC-6, Mark

Re: [web2py] Re: web2py / pydal returning id 1 in postgres

2015-11-25 Thread Massimo Di Pierro
very strange. Are you using psycopg2 or pg8000? I do not trust the latter. On Tuesday, 24 November 2015 12:42:44 UTC-6, Mark Graves wrote: > > I'm using postgres, migrating from latin-1 mysql. > > Its a referenced table, and yes I definitely am calling db.commit() > > I will post the entire code t

Re: [web2py] Re: web2py / pydal returning id 1 in postgres

2015-11-24 Thread Mark Graves
I'm using postgres, migrating from latin-1 mysql. Its a referenced table, and yes I definitely am calling db.commit() I will post the entire code tonight. Also, I have ~11k legacy documents to upload to S3 which I wanted to make available via a uniform method. I was previously attempting to ins