pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dev <dev_hyd2001@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: create role syntax
Date: Thu, 10 Jul 2008 02:31:09 -0700 (PDT)
Message-ID: <576938.93261.qm@web53703.mail.re2.yahoo.com> (raw)
In-Reply-To: <816024.45647.qm@web53707.mail.re2.yahoo.com>

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




      


      

view thread (2+ messages)

Message-ID: <576938.93261.qm@web53703.mail.re2.yahoo.com>
Permalink:  ../576938.93261.qm@web53703.mail.re2.yahoo.com/
Also on:    postgresql.org/message-id/576938.93261.qm@web53703.mail.re2.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dev_hyd2001@yahoo.com
  Subject: Re: create role syntax
  In-Reply-To: <576938.93261.qm@web53703.mail.re2.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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