[MacPorts] #54693: Postgres96 history saved with wrong version

MacPorts noreply at macports.org
Wed Aug 30 00:21:16 UTC 2017


#54693: Postgres96 history saved with wrong version
----------------------------------+----------------------------
  Reporter:  jenstroeger          |      Owner:  jyrkiwahlstedt
      Type:  enhancement          |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  postgresql96-server  |
----------------------------------+----------------------------
Changes (by ryandesign):

 * owner:   => jyrkiwahlstedt
 * priority:  Low => Normal
 * status:  new => assigned
 * port:   => postgresql96-server


Comment:

 The very first time you install any of the postgres''XY''-server ports,
 they create the postgres user account and set its home directory to a path
 that includes that postgres version number. For example, if
 postgres94-server was the first of those ports that you ever installed,
 the postgres user would have been created with its home directory set to
 /opt/local/var/db/postgresql94.

 I'm not sure what the correct solution is in MacPorts, but you may be able
 to work around the problem by editing the postgres user (with `dscl`) to
 change its NFSHomeDirectory to the one you want it to use (e.g. the one
 for postgresql96).

 This ticket might be considered a duplicate of #24180.

--
Ticket URL: <https://trac.macports.org/ticket/54693#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list