[postmodern-devel] table name problem

Nicolas Martyanoff khaelin at gmail.com
Tue Feb 15 07:38:24 UTC 2011


Hi,

When trying to reproduce my encoding bug, I found a problem when a field
is named "t".

CREATE TABLE test (t TEXT NOT NULL);

(postmodern:execute (:insert-into 'test :set 't "utf8 é"))

Database error 42601: syntax error at or near "true"
Query: INSERT INTO test (true) VALUES (E'utf8 é')
   [Condition of type   CL-POSTGRES-ERROR:SYNTAX-ERROR-OR-ACCESS-VIOLATION]

Regards,

-- 
Nicolas Martyanoff
   http://codemore.org
   khaelin at gmail.com




More information about the postmodern-devel mailing list