pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: frank church <pgsql@adontendev.net>
To: pgsql-sql@postgresql.org
Subject: Re: How to change database owner in PostgreSQL 7.4?
Date: Tue, 29 Nov 2005 10:43:13 +0000
Message-ID: <1133260993.438c30c107f70@webmail.adontendev.net> (raw)
In-Reply-To: <20051126122549.GA3312@kaufbach.delug.de>
References: <1133007407.4388522f8e8c4@webmail.adontendev.net>
	<20051126122549.GA3312@kaufbach.delug.de>

Quoting Andreas Kretschmer <akretschmer@spamfence.net>:

> frank church <pgsql@adontendev.net> schrieb:
>
> > Hi guys,
> >
> > What is the command change database owner in PostgreSQL 7.4?
>
> ALTER DATABASE foo OWNER TO blob;

I tried that and it didn't work. That command appears to be available only in
8.0. Is there  a way of updating the system tables to change it?


> In general: start psql and type  '\h alter database', and, more general,
> '\h' and '\?'
>
>
> HTH, Andreas
> --
> Really, I'm not out to destroy Microsoft. That will just be a completely
> unintentional side effect. (Linus Torvalds)
> Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




view thread (3+ messages)

Message-ID: <1133260993.438c30c107f70@webmail.adontendev.net>
Permalink:  ../1133260993.438c30c107f70@webmail.adontendev.net/
Also on:    postgresql.org/message-id/1133260993.438c30c107f70@webmail.adontendev.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pgsql@adontendev.net
  Subject: Re: How to change database owner in PostgreSQL 7.4?
  In-Reply-To: <1133260993.438c30c107f70@webmail.adontendev.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox