Re: How to change database owner in PostgreSQL 7.4?

From: frank church <pgsql(at)adontendev(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to change database owner in PostgreSQL 7.4?
Date: 2005-11-29 10:43:13
Message-ID: 1133260993.438c30c107f70@webmail.adontendev.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Quoting Andreas Kretschmer <akretschmer(at)spamfence(dot)net>:

> frank church <pgsql(at)adontendev(dot)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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Leif B. Kristensen 2005-11-29 14:31:30 Strange bug
Previous Message Oliver Elphick 2005-11-29 10:33:08 Re: DEFAULT Constraint based on table type?