From: | Andreas Joseph Krogh <andreas(at)visena(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Execute commands in single-user mode |
Date: | 2016-01-10 15:45:29 |
Message-ID: | VisenaEmail.54.626d7478da5f946c.1522c36401f@tc7-visena |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
På søndag 10. januar 2016 kl. 16:40:23, skrev Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
<mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>:
Andreas Joseph Krogh <andreas(at)visena(dot)com> writes:
> I'm planning to move all my pg_largeobject tables to separate tablespaces
and
> to be able to do that I need to shuddown PG and start in single-user mode,
like
> this:
> postgres --single -O -D $PGDATA $DB_NAME
> Then I have to execute the command:
> alter table pg_largeobject set tablespace some_tablespace;
Why do you think you need single-user mode for that?
Because of this?
ERROR: permission denied: "pg_largeobject" is a system catalog
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas(at)visena(dot)com <mailto:andreas(at)visena(dot)com>
www.visena.com <https://www.visena.com>
<https://www.visena.com>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-01-10 15:53:54 | Re: Execute commands in single-user mode |
Previous Message | Tom Lane | 2016-01-10 15:40:23 | Re: Execute commands in single-user mode |