Re: what is wrong with this SQL?

From: Doug McNaught <doug(at)wireboard(dot)com>
To: kornale(at)zdnetmail(dot)com (Alex K(dot))
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: what is wrong with this SQL?
Date: 2001-09-27 17:48:59
Message-ID: m3snd8zfqs.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

kornale(at)zdnetmail(dot)com (Alex K.) writes:

> USR_LOGIN_USER_ID varchar2(16) ,
> USR_PASSWORD varchar2(16) ,

> when i am in psql and i do: \i createUsersTable.sql i get this error:
> psql:createUsersTable.sql:13: ERROR: parser: parse error at or near "("

My previous mail was wrong, its the "varchar2" that's messing things
up--PG has no such type. The error message isn't too helpful.

Change it to "text" or regular "varchar" and you should be OK.

-Doug
--
In a world of steel-eyed death, and men who are fighting to be warm,
Come in, she said, I'll give you shelter from the storm. -Dylan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2001-09-27 18:08:35 Re: How to make a REALLY FAST db server?
Previous Message Doug McNaught 2001-09-27 17:45:59 Re: what is wrong with this SQL?