Re: Open 7.3 items
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: "Marc G. Fournier" <scrappy@hub.org>
Cc: Ron Snyder <snyder@roguewave.com>, Neil Conway <nconway@klamath.dyndns.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2002-08-01T04:09:46Z
Lists: pgsql-hackers
Marc G. Fournier wrote: > Okay, final request .. how hard would it be to pre-pend the current > database name if GUC value is on? ie. if I'm in db1 and run CREATE USER, > it will add db1. to the username if I hadn't already? Sounds to me it > would be simple to do, and it would "fix" the point I made about being > able to have a db "owner" account with create user privileges (ie. if I'm > in db1 and run CREATE USER db2.bruce, it should reject that unless I've > got create database prileges *and* create user) ... OK, let me get the easy part working first. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026