dbTalk Databases Forums  

[BUGS] BUG Postgresql 7.4.6 : usecreatedb flag

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG Postgresql 7.4.6 : usecreatedb flag in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stephane Raimbault
 
Posts: n/a

Default [BUGS] BUG Postgresql 7.4.6 : usecreatedb flag - 12-24-2004 , 07:50 AM






Hi,

This bug (I suppose it's a bug) is very simple.
Fedora Core 3/postgresql-7.4.6-1.FC3.2

su - postgres
createuser pguser
Answer yes and no so pguser can create db but can't create new user

psql template1
template1=# select * from pg_shadow;
usename | usesysid | usecreatedb | usesuper | usecatupd | passwd |
valuntil | useconfig
----------+----------+-------------+----------+-----------+--------
+----------+-----------
postgres | 1 | t | t | t | |
Quote:
pguser | 100 | f | f | f | |

(2 lignes)

The flag in usecreatedb's column is false instead of true !

Regards,

Stephane

PS : same behaviour with FC2/postgresql-7.4.6-1.FC2.2.



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG Postgresql 7.4.6 : usecreatedb flag - 12-24-2004 , 08:30 AM






Stephane Raimbault <stephane.raimbault (AT) syneo (DOT) fr> writes:
Quote:
This bug (I suppose it's a bug) is very simple.
Fedora Core 3/postgresql-7.4.6-1.FC3.2

su - postgres
createuser pguser
Answer yes and no so pguser can create db but can't create new user
...
The flag in usecreatedb's column is false instead of true !
Works as expected for me.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.