Skip to main content
replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig RingerCraig Ringer pointed out in a comment, it might be easier and, more importantly, has a lasting effect if you change these parameters using ALTER SYSTEM.

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a lasting effect if you change these parameters using ALTER SYSTEM.

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a lasting effect if you change these parameters using ALTER SYSTEM.

edited body
Source Link
András Váczi
  • 31.6k
  • 13
  • 101
  • 149

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a ladtinglasting effect if you change these parameters using ALTER SYSTEM.

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a ladting effect if you change these parameters using ALTER SYSTEM.

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a lasting effect if you change these parameters using ALTER SYSTEM.

added 308 characters in body
Source Link
András Váczi
  • 31.6k
  • 13
  • 101
  • 149

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a ladting effect if you change these parameters using ALTER SYSTEM.

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

Reading the documentation page for pg_ctl carefully shows you what happens with the stuff you pass to it using -o:

-o options

Specifies options to be passed directly to the postgres command; multiple option invocations are appended.

So you can, for example, do the following:

pg_ctl -D {your data directory} -o "-c listen_addresses='*'" start

where the whole double-quoted expression is passed to postgres (for details, see its own documentation).

As Craig Ringer pointed out in a comment, it might be easier and, more importantly, has a ladting effect if you change these parameters using ALTER SYSTEM.

Source Link
András Váczi
  • 31.6k
  • 13
  • 101
  • 149
Loading