Aldrey Galindo <aldreygalindo@yahoo.com.br> writes:
> db=# create table teste (desc varchar(50));
> ERROR: parser: parse error at or near "desc" at
> character 21
DESC is a reserved keyword, per the SQL specification.
If you really really want to name your column or table "desc", you can
double-quote the word. But I'd suggest picking another name.
regards, tom lane