mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
7882179994
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. |
||
---|---|---|
config | ||
contrib | ||
doc | ||
src | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
COPYRIGHT | ||
GNUmakefile.in | ||
HISTORY | ||
INSTALL | ||
Makefile | ||
README | ||
register.txt |
PostgreSQL Database Management System ===================================== This directory contains the source code distribution of the PostgreSQL database management system. PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions. This distribution also contains several language bindings, including C, C++, Perl, Python, and Tcl, as well as drivers for JDBC and ODBC. See the file INSTALL for instructions on how to build and install PostgreSQL. That file also lists supported operating systems and hardware platforms and contains information regarding any other software packages that are required to build or run the PostgreSQL system. Changes between all PostgreSQL releases are recorded in the file HISTORY. Copyright and license information can be found in the file COPYRIGHT. A comprehensive documentation set is included in this distribution; it can be read as described in the installation instructions. The latest version of this software may be obtained at ftp://ftp.postgresql.org/pub/. For more information look at our web site located at http://www.postgresql.org/.