Re: [HACKERS] Updated TODO item

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Updated TODO item
Date: 2002-01-03 15:27:03
Message-ID: Pine.LNX.4.21.0201040217140.29031-101000@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, 3 Jan 2002, Bruce Momjian wrote:

> TODO: I have added a syntax suggested by someone on IRC:
>
> * Make it easier to create a database owned by someone who can't createdb,
> perhaps CREATE DATABASE dbname WITH USER = "user"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Attached is a patch which implements this. Passes regression:

======================
All 79 tests passed.
======================

This required the modification of the CreatedbStmt data structure. I've
ensured that all functions which interact with CreatedbStmt have been
modified.

Gavin

Attachment Content-Type Size
createdb_with_user.patch.gz application/x-gzip 1.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2002-01-03 15:44:50 Re: SET DATESTYLE to time_t style for client libraries?
Previous Message Tom Lane 2002-01-03 15:20:49 Re: LWLock contention: I think I understand the problem

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-01-03 15:28:05 Re: pg_regress.sh startup failure patch
Previous Message Jason Tishler 2002-01-03 11:55:54 pg_regress.sh startup failure patch