createdb
Specifies the hostname of the machine on which the
is running. If host begins with a slash, it is used
- as the directory for the Unix-domain socket.
+ as the directory for the Unix domain socket.
-p, --port port
- Specifies the Internet TCP/IP port or local Unix domain socket file
- extension on which the <application>postmaster>
+ Specifies the Internet TCP/IP port or the local Unix domain socket file
+ extension on which the <command>postmaster>
is listening for connections.
The options -D, -T, and
-E are converted into options for the underlying
SQL command
- endterm="SQL-CREATEDATABASE-title">, which see for more information
+ endterm="SQL-CREATEDATABASE-title">; see there for more information
about them.
-
-
Diagnostics
-
- If pgaccess fails to start up, with an error message roughly like this:
-
-
-Error in startup script: couldn't load file "libpgtcl.so": libpgtcl.so: cannot open shared object file: No such file or directory
- while executing
-"load ${libpgtclpath}[info sharedlibextension]"
- (procedure "main" line 8)
- invoked from within
-"main $argc $argv"
- (file "/usr/local/pgsql/share/pgaccess/main.tcl" line 249)
-
-
- then you need to configure your runtime linker to find the
- libpgtcl.so and libpq.so
- libraries, most likely by setting
- the LD_LIBRARY_PATH environment variable. Consult
- the
PostgreSQL installation instructions
- for more information.
-
-
-
Notes
The postgres executable is the actual
PostgreSQL server process that processes
- queries. The second form above is how
+ queries. It is normally not called directly; instead a
+ linkend="app-postmaster"> multi-user server is started.
+
+
+ The second form above is how
postgres is invoked by the
linkend="app-postmaster"> (only
conceptually, since both postmaster and
- -f [ s | i | m | n | h ]
+ -f { s | i | m | n | h }
Forbids the use of particular scan and join methods: