Skip site navigation (1) Skip section navigation (2)

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


Attachment: createdb_with_user.patch.gz
Description: application/x-gzip (1.6 KB)

In response to


pgsql-hackers by date

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

pgsql-patches by date

Next:From: Tom LaneDate: 2002-01-03 15:28:05
Subject: Re: startup failure patch
Previous:From: Jason TishlerDate: 2002-01-03 11:55:54
Subject: startup failure patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group