pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Inability to init db Postgresql-9.1.1 on Ubuntu
4+ messages / 3 participants
[nested] [flat]

* Inability to init db Postgresql-9.1.1 on Ubuntu
@ 2018-06-29 18:46  Ekaterina Dimitrova <e.dimitrova@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Ekaterina Dimitrova @ 2018-06-29 18:46 UTC (permalink / raw)
  To: pgsql-bugs

Hi,

I have to make some experiments for which I explicitly need version 9.1.1
of PostgreSQL.

I have installed it from source using the official documentation but I am
not able to initialize the cluster after that.

When I run initdb, I receive the following error:
STATEMENT: REVOKE ALL on pg_authid FROM public;


I found out on your forums that normally this is a compiler error.

So I used:
CC="gcc-4.7" CFLAGS="-g -O0" ./configure -enable-debug -enable-depend
-prefix=$HOME/paqo -enable-cassert

But still I receive the  same error. I changed the compiler and then I hit
a strange error which is telling me that I have a missing "}" at my
system_view.sql file which is not correct.

I am trying the installation on 64 bit Ubuntu Desktop 16.04.4

Please advise. I am struggling on this since a couple of days and becomes a
little bit urgent already.

Thank you in advance!

Have a nice weekend,
Ekaterina

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Inability to init db Postgresql-9.1.1 on Ubuntu
@ 2018-06-29 19:15  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Ekaterina Dimitrova <e.dimitrova@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2018-06-29 19:15 UTC (permalink / raw)
  To: Ekaterina Dimitrova <e.dimitrova@gmail.com>; +Cc: pgsql-bugs

On 2018-Jun-29, Ekaterina Dimitrova wrote:

> I have to make some experiments for which I explicitly need version 9.1.1
> of PostgreSQL.
> 
> I have installed it from source using the official documentation but I am
> not able to initialize the cluster after that.
> 
> When I run initdb, I receive the following error:
> STATEMENT: REVOKE ALL on pg_authid FROM public;

You could try installing 9.1.<latest>, initdb with that, then revert
the package back to 9.1.1.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Inability to init db Postgresql-9.1.1 on Ubuntu
@ 2018-06-29 19:47  Ekaterina Dimitrova <e.dimitrova@gmail.com>
  parent: Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Ekaterina Dimitrova @ 2018-06-29 19:47 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: pgsql-bugs

Hi Alvaro,
Thank you for your response. I need to be able to work on and compile the
source code of 9.1.1

Do you have any other idea?

Thank you one more time.
Kate

2018-06-29 15:15 GMT-04:00 Alvaro Herrera <alvherre@2ndquadrant.com>:

> On 2018-Jun-29, Ekaterina Dimitrova wrote:
>
> > I have to make some experiments for which I explicitly need version 9.1.1
> > of PostgreSQL.
> >
> > I have installed it from source using the official documentation but I am
> > not able to initialize the cluster after that.
> >
> > When I run initdb, I receive the following error:
> > STATEMENT: REVOKE ALL on pg_authid FROM public;
>
> You could try installing 9.1.<latest>, initdb with that, then revert
> the package back to 9.1.1.
>
> --
> Álvaro Herrera                https://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Inability to init db Postgresql-9.1.1 on Ubuntu
@ 2018-07-02 04:10  Michael Paquier <michael@paquier.xyz>
  parent: Ekaterina Dimitrova <e.dimitrova@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Michael Paquier @ 2018-07-02 04:10 UTC (permalink / raw)
  To: Ekaterina Dimitrova <e.dimitrova@gmail.com>; +Cc: Alvaro Herrera <alvherre@2ndquadrant.com>; pgsql-bugs

On Fri, Jun 29, 2018 at 03:47:19PM -0400, Ekaterina Dimitrova wrote:
> Thank you for your response. I need to be able to work on and compile the
> source code of 9.1.1
> 
> Do you have any other idea?

And why not using a newer version?  9.1 has been EOL'd by community in
2016 with 9.1.24 being the latest one:
https://www.postgresql.org/docs/devel/static/release-9-1-24.html

If you still wish to stick with this version, you could at least try the
latest version in the released set..
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2018-07-02 04:10 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-06-29 18:46 Inability to init db Postgresql-9.1.1 on Ubuntu Ekaterina Dimitrova <e.dimitrova@gmail.com>
2018-06-29 19:15 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2018-06-29 19:47   ` Ekaterina Dimitrova <e.dimitrova@gmail.com>
2018-07-02 04:10     ` Michael Paquier <michael@paquier.xyz>

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