> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of Devrim GUNDUZ
> Sent: 13 June 2005 12:31
> To: pgsql-hackers(at)postgresql(dot)org
> Subject: [HACKERS] Usernames with hyphens
>
> template1=# CREATE USER hyphen-test;
> ERROR: syntax error at or near "-" at character 18
> LINE 1: CREATE USER hyphen-test;
>
Hi Devrim,
Try:
CREATE USER "hyphen-test";
Regards, Dave