Hello.
I have problem with the table named 'user':
*
psycopg.ProgrammingError: ERROR: syntax error at or near "user" LINE 1:
INSERT INTO user (id, last_name, country_id, city, registrat... ^ INSERT
INTO user (id, last_name, country_id, city, registration_date, first_name,
phone, personal_info, profile_title, skype, birth_day, is_blocked, nickname,
login, yid, jid, password, middle_name, gender, region, msn, avatar, icq,
email) VALUES (1, '', NULL, '', '2007-06-26 06:34:47', '', '', '', '', '',
NULL, 'f', '', 'negus', '', '', 'swordfish', '', '', '', '', '', '', '
iwuv...@public.gmane.org')*
It's because this table name 'user' have to be quoted in the SQL query to
avoid conflicts.
How to do that with SQLObject?
Check SQLObject docs or google for it. There is a way, althought I don't
remember off the top of my head. But why using SQLObject when there is
SQLAlchemy? ;)