Re: [HACKERS] Updated TODO item - Mailing list pgsql-patches

From Gavin Sherry
Subject Re: [HACKERS] Updated TODO item
Date
Msg-id Pine.LNX.4.21.0201040217140.29031-101000@linuxworld.com.au
Whole thread Raw
Responses Re: [HACKERS] Updated TODO item  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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

pgsql-patches by date:

Previous
From: Jason Tishler
Date:
Subject: pg_regress.sh startup failure patch
Next
From: Tom Lane
Date:
Subject: Re: pg_regress.sh startup failure patch