pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Igor Korot <ikorot01@gmail.com>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Installing PostgreSQL on Oracle Solaris
Date: Sat, 23 Mar 2019 09:03:10 -0700
Message-ID: <79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com> (raw)
In-Reply-To: <31985.1553355758@sss.pgh.pa.us>
References: <CA+FnnTxh8N2xW-r+OdCNYMo8GF-GhwYk=gvPNy2d8TWDx997mw@mail.gmail.com>
	<5a15ce31-3dcb-5efe-cabc-43363603d27f@aklaver.com>
	<f388f415-7d79-a1c0-8ba1-622be21b71a5@gmail.com>
	<CA+FnnTyODnTYE9rob5hoTOEYgZmo3=Y+S3kHnPTSnPVpSTfL8Q@mail.gmail.com>
	<31985.1553355758@sss.pgh.pa.us>

On 3/23/19 8:42 AM, Tom Lane wrote:
> Igor Korot <ikorot01@gmail.com> writes:
>>>>> igor@solaris:/usr$ sudo bunzip2 < postgresql-9.6.1-S11.i386-64.tar.bz2
>>>>> | tar xpf -
> 
>> On Sat, Mar 23, 2019 at 9:25 AM Ron <ronljohnsonjr@gmail.com> wrote:
>>> Off hand I would say the user you are running as does not have the permissions to unpack the tarball in the location you have selected.
> 
>> You mean even running as "sudo"?
> 
> In the above, the "sudo" raises the permissions of the bunzip2 program
> (quite uselessly, AFAICS), while doing nothing for the tar program in
> the other pipe step.  Put the "sudo" in the other pipe step.
> 
> (This is assuming that unpacking straight into /usr is actually what
> you want to do.  I share the doubts of the other responders about
> that being a wise procedure.)

It is what the README says:

https://www.postgresql.org/ftp/binary/v9.6.1/solaris/solaris11/i386/

"The files will be installed in directories under
'postgres/9.6-pgdg', so if you install under /usr they will be at
locations similar to any PostgreSQL in Solaris."

> 
> 			regards, tom lane
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (13+ messages)

Message-ID: <79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com>
Permalink:  ../79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com/
Also on:    postgresql.org/message-id/79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, ikorot01@gmail.com, ronljohnsonjr@gmail.com
  Subject: Re: Installing PostgreSQL on Oracle Solaris
  In-Reply-To: <79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com>
  References: <CA+FnnTxh8N2xW-r+OdCNYMo8GF-GhwYk=gvPNy2d8TWDx997mw@mail.gmail.com> <5a15ce31-3dcb-5efe-cabc-43363603d27f@aklaver.com> <f388f415-7d79-a1c0-8ba1-622be21b71a5@gmail.com> <CA+FnnTyODnTYE9rob5hoTOEYgZmo3=Y+S3kHnPTSnPVpSTfL8Q@mail.gmail.com> <31985.1553355758@sss.pgh.pa.us> <79dd79af-84cc-0e50-75d8-8e449bf0e18c@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox