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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

      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




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-2017 The PostgreSQL Global Development Group