Skip site navigation (1) Skip section navigation (2)

create role syntax

From: Dev <dev_hyd2001(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: create role syntax
Date: 2008-07-10 08:30:40
Message-ID: 816024.45647.qm@web53707.mail.re2.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hi,

      Is it possible to have numbers as role names? I tried doing something like 
create role 22221 login createdb

but I get a syntax error, however if I have an alphabet before the number it seems to work.

For example like 

create role x22221 login createdb


/Dev




      

Responses

pgsql-admin by date

Next:From: Suresh BorseDate: 2008-07-10 09:01:33
Subject: query optimization
Previous:From: Devrim GÜNDÜZDate: 2008-07-09 10:46:24
Subject: Re: Install another version on different directory andport (CentOS, Redhat)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group