Re: How to change database owner in PostgreSQL 7.4? - Mailing list pgsql-sql

From frank church
Subject Re: How to change database owner in PostgreSQL 7.4?
Date
Msg-id 1133260993.438c30c107f70@webmail.adontendev.net
Whole thread Raw
In response to Re: How to change database owner in PostgreSQL 7.4?  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-sql
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.



pgsql-sql by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: DEFAULT Constraint based on table type?
Next
From: "Leif B. Kristensen"
Date:
Subject: Strange bug