pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
create role syntax
2+ messages / 1 participants
[nested] [flat]

* create role syntax
@ 2008-07-10 08:30 Dev <dev_hyd2001@yahoo.com>
  2008-07-10 09:31 ` Re: create role syntax Dev <dev_hyd2001@yahoo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Dev @ 2008-07-10 08:30 UTC (permalink / raw)
  To: 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




      

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: create role syntax
  2008-07-10 08:30 create role syntax Dev <dev_hyd2001@yahoo.com>
@ 2008-07-10 09:31 ` Dev <dev_hyd2001@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Dev @ 2008-07-10 09:31 UTC (permalink / raw)
  To: pgsql-admin

Well! answering my own question using " works !

/Dev


--- On Thu, 7/10/08, Dev <dev_hyd2001@yahoo.com> wrote:
From: Dev <dev_hyd2001@yahoo.com>
Subject: [ADMIN] create role syntax
To: pgsql-admin@postgresql.org
Date: Thursday, July 10, 2008, 10:30 AM

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




      


      

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-07-10 09:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-07-10 08:30 create role syntax Dev <dev_hyd2001@yahoo.com>
2008-07-10 09:31 ` Dev <dev_hyd2001@yahoo.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox