Thanks for reposting this. Now fixed in trunk.

Any chance you can help me run the tests:
http://groups.google.com/group/web2py/msg/ae7816407ab3c1ba

for the older version and the newer version?

On Sep 2, 1:30 pm, Carlos <[email protected]> wrote:
> Hi,
>
> DAL is broken for postgresql (9.0 on win7) immediately after applying the
> following changeset:
>
>    # (d637c1e36408) possible fix to lack of conformality in PGSQL
>
> Error at insert:
>
>    sequence item 1: expected string, psycopg2._psycopg.QuotedString found
>
> Traceback:
>
>   File "C:\web2py\gluon\dal.py", line 4858, in insert
>     return self._db._adapter.insert(self,self._listify(fields))
>   File "C:\web2py\gluon\dal.py", line 880, in insert
>     query = self._insert(table,fields)
>   File "C:\web2py\gluon\dal.py", line 876, in _insert
>     values = ','.join(self.expand(v,f.type) for f,v in fields)
> TypeError: sequence item 1: expected string, psycopg2._psycopg.QuotedString
> found
>
> Thanks,
>
>    Carlos

Reply via email to