DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd May 2018
vtypal vtypal is offline
New User
 
Join Date: Jan 2018
Posts: 3
Arrow Postgresql 9.6.x on Openbsd 6.3 ?

Hello,

At the latest stable release Openbsd v.6.3, postgresql is upgraded on version v.10.
There is some known way to install the previous postgresql version 9.6.x instead of v.10 without downgrade to the previous openbsd stable release?

I didn't find flavours on databases/postgresql port to select specific postgresql version. There is a databases/postgresql-previous port but it seems to be design for pg_upgrade.

Thank you.
Reply With Quote
  #2   (View Single Post)  
Old 2nd May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,387
Default

On OpenBSD, only a single version of PostgreSQL is maintained in the Ports tree. With OpenBSD release 6.3, this is PostgreSQL 10.3. The prior release of OpenBSD, 6.2, is the one with PostgreSQL 9.6 in its Ports tree.
  • At OpenBSD 6.2-release this was PostgreSQL 9.6.5.
  • OpenBSD 6.2-stable has received multiple PostgreSQL updates - the last upgrade was to version 9.6.8.
There is no "downgrade" to older OpenBSD releases. Your choice, if you need PostgreSQL 9.6, is to either re-install the older release, or manually retrofit the 6.2-stable port to OpenBSD 6.3.
Reply With Quote
  #3   (View Single Post)  
Old 2nd May 2018
vtypal vtypal is offline
New User
 
Join Date: Jan 2018
Posts: 3
Default

Thank you jggimi

I could manage to reinstall the latest 6.2 postgres stable port. What i'm afraid of, is the postgresql 10.x dependenciy of other ports.For example libreoffice depends from

eb8470p# pkg_info -f libreoffice | grep '^@depend' | grep postgres
@depend databases/postgresql,-mainostgresql-client-*ostgresql-client-10.3

So, in order to avoid to replace the current stable 10.x postgres release, i should isolate the 9.6.8 to other directory.

Thank you again for the suggestion

Regards,
Reply With Quote
Reply

Tags
postgresql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PostgreSQL on ZFS hanzer FreeBSD Ports and Packages 0 28th October 2017 05:46 PM
Issue with PostgreSQL 9.6.2 and Perl on OpenBSD 6.1 ed.n1n2 OpenBSD Packages and Ports 7 31st August 2017 12:08 AM
Other PostgreSQL 9.5 released J65nko News 1 7th January 2016 09:10 PM
postgresql VS mysql .. when which is better ? daemonfowl General software and network 3 12th September 2012 05:30 AM
PostgreSql rc.d script fridder FreeBSD Ports and Packages 1 1st July 2008 01:12 AM


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick