pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to change database owner in PostgreSQL 7.4?
3+ messages / 2 participants
[nested] [flat]
* How to change database owner in PostgreSQL 7.4?
@ 2005-11-26 12:16 frank church <pgsql@adontendev.net>
0 siblings, 1 reply; 3+ messages in thread
From: frank church @ 2005-11-26 12:16 UTC (permalink / raw)
To: pgsql-sql
Hi guys,
What is the command change database owner in PostgreSQL 7.4?
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to change database owner in PostgreSQL 7.4?
@ 2005-11-26 12:25 Andreas Kretschmer <akretschmer@spamfence.net>
parent: frank church <pgsql@adontendev.net>
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Kretschmer @ 2005-11-26 12:25 UTC (permalink / raw)
To: pgsql-sql
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;
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°
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to change database owner in PostgreSQL 7.4?
@ 2005-11-29 10:43 frank church <pgsql@adontendev.net>
parent: Andreas Kretschmer <akretschmer@spamfence.net>
0 siblings, 0 replies; 3+ messages in thread
From: frank church @ 2005-11-29 10:43 UTC (permalink / raw)
To: 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.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-11-29 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26 12:16 How to change database owner in PostgreSQL 7.4? frank church <pgsql@adontendev.net>
2005-11-26 12:25 ` Andreas Kretschmer <akretschmer@spamfence.net>
2005-11-29 10:43 ` frank church <pgsql@adontendev.net>
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