On Fri, Oct 27, 2017 at 10:18 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> Hi,
>
> On Fri, 2017-10-27 at 04:55 +0000, rhodesm4 wrote:
> > psql:users.sql:10: ERROR: syntax error at or near "USER"
> > LINE 1: CREATE TABLE USER(
>
> USER is a reserved keyword in PostgreSQL:
>
> https://www.postgresql.org/docs/current/static/sql-keywords-appendix.html
>
> You need to change the table name.
>
Or put double-quotes around the name: CREATE TABLE "USER"...
--
Alex