The normal operation of our servers is to have tcpip_sockets enabled, but occasionally I may need to shut down the server and restart it w/o tcpip sockets. Postmaster has the -i option to turn on tcpip connections, but it wasn't immediately clear how to easily or temporarily turn it off (when it's been enabled in postgresql.conf).
The normal operation of our servers is to have tcpip_sockets enabled,
but occasionally I may need to shut down the server and restart it
w/o tcpip sockets. Postmaster has the -i option to turn on tcpip
connections, but it wasn't immediately clear how to easily or
temporarily turn it off (when it's been enabled in postgresql.conf).

In fact, it wasn't clear to me until digging in to postmaster.c that
I could pass '-c tcpip_socket=false' or '--tcpip_socket=false'.
(And then of course when I looked more closely at the man page I
realized I'd missed the proper part of the documentation.) What I'd
been looking for is a flag that would have the opposite effect of
'-i', and it's conceivable that others will be looking for specific
flags to do the opposite of '-F' and '-S'.

I was preparing to add options to postmaster until I realized that
maybe the solution is just to add some documentation.

If you'd rather have 1 character options to accomplish this, I'd be
happy to do that-- adding those 9 lines of code is definitely within
my ability. :)  (Although, the "right" letter to be the opposite of -S
isn't clear to me, since -s is already taken.)

Ron Snyder.

arcivanov/postgres-xl,rubikloud/gpdb,jmcatamney/gpdb,CraigHarris/gpdb,cjcjameson/gpdb,lisakowen/gpdb,rvs/gpdb,Quikling/gpdb,Quikling/gpdb,cjcjameson/gpdb,tangp3/gpdb,Chibin/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,edespino/gpdb,janebeckman/gpdb,royc1/gpdb,xinzweb/gpdb,kaknikhil/gpdb,lintzc/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,snaga/postgres-xl,yazun/postgres-xl,0x0FFF/gpdb,pavanvd/postgres-xl,Quikling/gpdb,atris/gpdb,janebeckman/gpdb,ahachete/gpdb,arcivanov/postgres-xl,kmjungersen/PostgresXL,Postgres-XL/Postgres-XL,cjcjameson/gpdb,0x0FFF/gpdb,50wu/gpdb,zaksoup/gpdb,rubikloud/gpdb,tangp3/gpdb,ashwinstar/gpdb,adam8157/gpdb,Quikling/gpdb,rvs/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,pavanvd/postgres-xl,rvs/gpdb,chrishajas/gpdb,lintzc/gpdb,0x0FFF/gpdb,tangp3/gpdb,rubikloud/gpdb,chrishajas/gpdb,techdragon/Postgres-XL,Quikling/gpdb,xuegang/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,rvs/gpdb,CraigHarris/gpdb,lisakowen/gpdb,royc1/gpdb,edespino/gpdb,jmcatamney/gpdb,CraigHarris/gpdb,rvs/gpdb,CraigHarris/gpdb,Postgres-XL/Postgres-XL,foyzur/gpdb,kaknikhil/gpdb,Chibin/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,atris/gpdb,foyzur/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,xuegang/gpdb,xuegang/gpdb,Chibin/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,50wu/gpdb,lisakowen/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,zaksoup/gpdb,atris/gpdb,xuegang/gpdb,snaga/postgres-xl,postmind-net/postgres-xl,oberstet/postgres-xl,kaknikhil/gpdb,edespino/gpdb,lintzc/gpdb,rubikloud/gpdb,zaksoup/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,royc1/gpdb,greenplum-db/gpdb,edespino/gpdb,CraigHarris/gpdb,chrishajas/gpdb,zaksoup/gpdb,zeroae/postgres-xl,postmind-net/postgres-xl,xuegang/gpdb,xinzweb/gpdb,xuegang/gpdb,Quikling/gpdb,kmjungersen/PostgresXL,yuanzhao/gpdb,atris/gpdb,greenplum-db/gpdb,ovr/postgres-xl,postmind-net/postgres-xl,randomtask1155/gpdb,50wu/gpdb,lpetrov-pivotal/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,yuanzhao/gpdb,lisakowen/gpdb,atris/gpdb,edespino/gpdb,ashwinstar/gpdb,rubikloud/gpdb,xuegang/gpdb,chrishajas/gpdb,ovr/postgres-xl,janebeckman/gpdb,janebeckman/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,ahachete/gpdb,zaksoup/gpdb,zeroae/postgres-xl,randomtask1155/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,edespino/gpdb,janebeckman/gpdb,yuanzhao/gpdb,Chibin/gpdb,jmcatamney/gpdb,lisakowen/gpdb,foyzur/gpdb,chrishajas/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,yazun/postgres-xl,adam8157/gpdb,oberstet/postgres-xl,ahachete/gpdb,lintzc/gpdb,royc1/gpdb,jmcatamney/gpdb,lintzc/gpdb,Quikling/gpdb,royc1/gpdb,rubikloud/gpdb,cjcjameson/gpdb,atris/gpdb,xinzweb/gpdb,royc1/gpdb,zeroae/postgres-xl,techdragon/Postgres-XL,zaksoup/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,snaga/postgres-xl,lintzc/gpdb,greenplum-db/gpdb,janebeckman/gpdb,rubikloud/gpdb,rvs/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,cjcjameson/gpdb,yuanzhao/gpdb,lintzc/gpdb,edespino/gpdb,ashwinstar/gpdb,rvs/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,ahachete/gpdb,xuegang/gpdb,ahachete/gpdb,cjcjameson/gpdb,rubikloud/gpdb,jmcatamney/gpdb,edespino/gpdb,0x0FFF/gpdb,tpostgres-projects/tPostgres,kaknikhil/gpdb,chrishajas/gpdb,50wu/gpdb,0x0FFF/gpdb,atris/gpdb,edespino/gpdb,yazun/postgres-xl,lpetrov-pivotal/gpdb,rvs/gpdb,pavanvd/postgres-xl,ovr/postgres-xl,lisakowen/gpdb,Chibin/gpdb,postmind-net/postgres-xl,ahachete/gpdb,foyzur/gpdb,tangp3/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,royc1/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,CraigHarris/gpdb,arcivanov/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,foyzur/gpdb,chrishajas/gpdb,techdragon/Postgres-XL,xuegang/gpdb,Quikling/gpdb,rvs/gpdb,royc1/gpdb,arcivanov/postgres-xl,tangp3/gpdb,kmjungersen/PostgresXL,foyzur/gpdb,atris/gpdb,CraigHarris/gpdb,ashwinstar/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,ashwinstar/gpdb,Postgres-XL/Postgres-XL,kmjungersen/PostgresXL,oberstet/postgres-xl,0x0FFF/gpdb,randomtask1155/gpdb,oberstet/postgres-xl,ovr/postgres-xl,lpetrov-pivotal/gpdb,cjcjameson/gpdb,50wu/gpdb,adam8157/gpdb,kaknikhil/gpdb,lintzc/gpdb,jmcatamney/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,janebeckman/gpdb,adam8157/gpdb,janebeckman/gpdb,zaksoup/gpdb,zeroae/postgres-xl,randomtask1155/gpdb,snaga/postgres-xl,tpostgres-projects/tPostgres,tangp3/gpdb,yazun/postgres-xl,yazun/postgres-xl,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,edespino/gpdb,lisakowen/gpdb,chrishajas/gpdb,ahachete/gpdb,CraigHarris/gpdb,tangp3/gpdb,xinzweb/gpdb,50wu/gpdb,xinzweb/gpdb,cjcjameson/gpdb,janebeckman/gpdb,lintzc/gpdb,zaksoup/gpdb,foyzur/gpdb,Chibin/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,ovr/postgres-xl,tangp3/gpdb,xinzweb/gpdb,ahachete/gpdb,xinzweb/gpdb,postmind-net/postgres-xl,Chibin/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,zeroae/postgres-xl,kmjungersen/PostgresXL,jmcatamney/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,lpetrov-pivotal/gpdb,yuanzhao/gpdb,Chibin/gpdb,rvs/gpdb,foyzur/gpdb,Quikling/gpdb,jmcatamney/gpdb