From: Koichi S. <koi...@gm...> - 2012-04-27 09:06:20
|
This is just a guess... I guess pg_ctl adds additional options when restart, regardless what is specified originally. I also think this is the same as vanilla PostgreSQL (we need to test though). In the case of duplicate options and conflicting options, later one is effective. In this case, because changing -X/-D at restart does not make sense and adding duplicate options to postgres should be skipped though. Should this fix be a part of 1.0? Any more ideas? ---------- Koichi Suzuki 2012年4月27日17:47 Hitoshi HEMMI <hem...@la...>: > Hi, > > This is yet another one. > > ============================================================================ > POSTGRES-XC BUG REPORT TEMPLATE > ============================================================================ > > Your name : Hitoshi Hemmi > Your email address : hem...@la... > > > System Configuration: > --------------------- > Architecture : x86_64 > > Operating System : CentOS 6.2 > > Postgres-XC version : Postgres-XC 1.0beta1 > > Compiler used : gcc 4.4.6 20110731 (Red Hat 4.4.6-3) > > > Description of problem > -------------------------------------- > We are inspecting HA functionality of pg-xc. > Below is a strange finding in the work. (Actually, we are not sure > whether this is a problem or not.) > > On the way of operations, we try to restart a datanode: > > $ pg_ctl restart -Z datanode -D /home/postgres/data/datanode > > After that, 'ps' command says that we are running > > /home/postgres/pgsql/bin/postgres -X -X -i -D /home/postgres/data/datanode > > (Please note that "-X" appear twice.) > > Before the "pg_ctl restart ...", we were running > > postgres -X -i -D /home/postgres/data/datanode > > > -------------------------------------- > Thanks. > > -- > Hitoshi HEMMI > NTT Open Source Software Center > hem...@la... > (Please note that my address has changed.) > Tel:(03)5860-5115 > Fax:(03)5463-5490 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-bugs mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-bugs |