Wiki : PostgreSQL server installation

Charles Haincque <[email protected]> Wed, 23 Oct 2024 17:30:09 +0200
Newsgroups gmane.os.netbsd.documentation
Message-ID <CAJPLUHRup0tbgKS7=95TMrthA1tHvhtveFG-XSepA0OCGT8zhQ@mail.gmail.com>
Hello,

I attempted to post a comment on the wiki page, but I do not have
access to do so.

I followed the instructions on the following page:
https://wiki.netbsd.org/pkgsrc/how_to_install_a_postgresql_server/

Here is the output from the commands specified in the "Starting the
Server" section:

# /etc/rc.d/pgsql initdb -E unicode
/etc/rc.d/pgsql: WARNING: $pgsql is not set properly - see rc.conf(5).
$pgsql is not enabled - see rc.conf(5).
Use the following if you wish to perform the operation:
  /etc/rc.d/pgsql oneinitdb

and:

/etc/rc.d/pgsql start
/etc/rc.d/pgsql: WARNING: $pgsql is not set properly - see rc.conf(5).
$pgsql is not enabled - see rc.conf(5).
Use the following if you wish to perform the operation:
  /etc/rc.d/pgsql onestart

Regards,
Charles