Re: two issues with v12 beta3
От | Devrim Gündüz |
---|---|
Тема | Re: two issues with v12 beta3 |
Дата | |
Msg-id | 792dc4cba07e5be6495415b128720cb63f5e0645.camel@gunduz.org обсуждение исходный текст |
Ответ на | two issues with v12 beta3 (Justin Pryzby <pryzby@telsasoft.com>) |
Ответы |
Re: two issues with v12 beta3
|
Список | pgsql-pkg-yum |
Hi Justin, On Thu, 2019-08-22 at 07:46 -0500, Justin Pryzby wrote: > One of our customers is shutting down, so I took the opportunity to upgrade > their DB to v12b3. > > I found 2 issues: > > The initscript and refuses to start for beta versions. > > [pryzbyj@telsasoft ~]$ sudo /etc/init.d/postgresql-12 start > > > > An old version of the database format was found. > > You need to upgrade the data format before using PostgreSQL. > > See (Your System's documentation directory)/postgresql-12beta2/README.rpm- > > dist for more information. > > Due to: > ++ cat /var/lib/pgsql/12/data/PG_VERSION > + '[' x12 '!=' x12beta2 ']' > > # PGMAJORVERSION is major version, e.g., 10 (this should match PG_VERSION) > PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\)\.[0-9]*$/\1/'` > > I guess it should s/beta[0-9]*$//, or (I suggested in the past): > PGMAJORVERSION=${PGVERSION%%.*} Fixed. Thanks for the report. > > Also, for centos6, v12b2 is available but not 12b3?? *sigh* . It was an issue with CentOS 6 sync scripts. Sorry. So, I used this chance to rebuild beta3 with the fix above. They will be available in next 30 mins. Thanks again. Regards, -- Devrim Gündüz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения
В списке pgsql-pkg-yum по дате отправления: