Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 849208 Details for
Bug 1052063
revamp postgresql-setup a little
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add $PGSETUP_INITDB_OPTIONS
0002-postgresql-setup-add-PGSETUP_INITDB_OPTIONS.patch (text/plain), 1.56 KB, created by
Pavel Raiskup
on 2014-01-13 09:09:33 UTC
(
hide
)
Description:
add $PGSETUP_INITDB_OPTIONS
Filename:
MIME Type:
Creator:
Pavel Raiskup
Created:
2014-01-13 09:09:33 UTC
Size:
1.56 KB
patch
obsolete
>From 2f213ebd1d3b8120b0d132902a5064ef2d1548a4 Mon Sep 17 00:00:00 2001 >From: Pavel Raiskup <praiskup@redhat.com> >Date: Thu, 9 Jan 2014 09:45:02 +0100 >Subject: [PATCH 2/5] postgresql-setup: add $PGSETUP_INITDB_OPTIONS > >Users may now specify by this variable parameters passed to initdb >run. See `man initdb(1)`. This may help if user gets stacked >with bug #1007802. > >Related: #1007802 >Version: 9.3.2-4 >--- > postgresql-setup | 6 ++++-- > postgresql.spec | 1 + > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/postgresql-setup b/postgresql-setup >index 8fd509b..1348e1c 100644 >--- a/postgresql-setup >+++ b/postgresql-setup >@@ -80,8 +80,10 @@ perform_initdb(){ > fi > > # Initialize the database >- $SU -l postgres -c "$PGENGINE/initdb --pgdata='$PGDATA' --auth='ident'" \ >- >> "$PGLOG" 2>&1 < /dev/null >+ initdbcmd="$PGENGINE/initdb --pgdata='$PGDATA' --auth='ident'" >+ initdbcmd+=" $PGSETUP_INITDB_OPTIONS" >+ >+ $SU -l postgres -c "$initdbcmd" >> "$PGLOG" 2>&1 < /dev/null > > # Create directory for postmaster log files > mkdir "$PGDATA/pg_log" >diff --git a/postgresql.spec b/postgresql.spec >index 39db8b5..370411c 100644 >--- a/postgresql.spec >+++ b/postgresql.spec >@@ -1125,6 +1125,7 @@ fi > %changelog > * Mon Jan 13 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-4 > - postgresql-setup(upgrade): don't stop old server when it can not be started >+- postgresql-setup(initdb, upgrade): add $PGSETUP_INITDB_OPTIONS > > * Fri Jan 10 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-3 > - build with -O3 on ppc64 (private #1051075) >-- >1.8.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1052063
:
849207
| 849208 |
849209
|
849210
|
849211