pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feeddata_directory: remove from process view like ps
3+ messages / 2 participants
[nested] [flat]
* data_directory: remove from process view like ps
@ 2017-04-03 12:57 Poul Kristensen <bcc5226@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Poul Kristensen @ 2017-04-03 12:57 UTC (permalink / raw)
To: pgsql-admin
Hi!
One off my Postgres installations shows no data directory in the ps.
I think it is a good thing, but can't see any difference in the
postgresql.conf in the name data_directory in pg_settings when comparing to
other Postgres installations.
Thanks.
Poul
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: data_directory: remove from process view like ps
@ 2017-04-03 13:52 Tom Lane <tgl@sss.pgh.pa.us>
parent: Poul Kristensen <bcc5226@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2017-04-03 13:52 UTC (permalink / raw)
To: Poul Kristensen <bcc5226@gmail.com>; +Cc: pgsql-admin
Poul Kristensen <bcc5226@gmail.com> writes:
> One off my Postgres installations shows no data directory in the ps.
> I think it is a good thing, but can't see any difference in the
> postgresql.conf in the name data_directory in pg_settings when comparing to
> other Postgres installations.
Postgres itself wouldn't ever take any action to show (or hide) that
information in "ps" output. I suppose that some of your postmasters
were started with an explicit -D switch on their command line and
some were not, and that that is the cause of the difference you're
seeing.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: data_directory: remove from process view like ps
@ 2017-04-03 14:12 Poul Kristensen <bcc5226@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Poul Kristensen @ 2017-04-03 14:12 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-admin; aislanluiz@hotmail.com
Thanks.
Symbolic links are "poison" for Postgres backup/restore is my experience.
/Poul
2017-04-03 15:52 GMT+02:00 Tom Lane <tgl@sss.pgh.pa.us>:
> Poul Kristensen <bcc5226@gmail.com> writes:
> > One off my Postgres installations shows no data directory in the ps.
> > I think it is a good thing, but can't see any difference in the
> > postgresql.conf in the name data_directory in pg_settings when comparing
> to
> > other Postgres installations.
>
> Postgres itself wouldn't ever take any action to show (or hide) that
> information in "ps" output. I suppose that some of your postmasters
> were started with an explicit -D switch on their command line and
> some were not, and that that is the cause of the difference you're
> seeing.
>
> regards, tom lane
>
--
Med venlig hilsen / Best regards
Poul Kristensen
Linux-OS/Virtualizationexpert and Oracle DBA
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2017-04-03 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 12:57 data_directory: remove from process view like ps Poul Kristensen <bcc5226@gmail.com>
2017-04-03 13:52 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-04-03 14:12 ` Poul Kristensen <bcc5226@gmail.com>
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