dbTalk Databases Forums  

[BUGS] Inconsistent description of "postmaster.opts"

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Inconsistent description of "postmaster.opts" in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Qingqing Zhou
 
Posts: n/a

Default [BUGS] Inconsistent description of "postmaster.opts" - 10-27-2005 , 02:39 AM






--- Sample output ---
$/bin/data#more postmaster.opts
*/bin/postgres -D data
$/bin/data#cd ..
$/bin#pg_ctl -Ddata start
postmaster starting
$/bin#LOG: database system was shut down at 2005-10-27 03:17:17 EDT
LOG: checkpoint record is at 0/33AE4C
LOG: redo record is at 0/33AE4C; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 570; next OID: 16385
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146, limited by database
"postgres"a
$/bin#pg_ctl -Ddata stop
waiting for postmaster to shut down...LOG: received smart shutdown request
LOG: shutting down
..LOG: database system is shut down
done
postmaster stopped
$/bin#cd data
$/bin/data#more postmaster.opts
*/bin/postgres -D data
$/bin/data#

--- PG manual ---
http://www.postgresql.org/docs/8.0/static/storage.html
postmaster.opts | A file recording the command-line options the postmaster
was last started with

So two inconsistences:
(1) not necessarily postmaster;
(2) if I starup postmaster by pg_ctl, then the information is not recorded
here.

Am I misunderstand something obviously?

Regards,
Qingqing



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Inconsistent description of "postmaster.opts" - 10-27-2005 , 08:50 AM






"Qingqing Zhou" <zhouqq (AT) cs (DOT) toronto.edu> writes:
Quote:
--- PG manual ---
http://www.postgresql.org/docs/8.0/static/storage.html
postmaster.opts | A file recording the command-line options the postmaster
was last started with

So two inconsistences:
(1) not necessarily postmaster;
(2) if I starup postmaster by pg_ctl, then the information is not recorded
here.

Am I misunderstand something obviously?
Apparently, because your example fails to demonstrate either of the
claims you make. AFAICS pg_ctl started the postmaster with exactly
the argument that the file says.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.