From: Lu, Dan <Dan.Lu@sig.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Browne <cbbrowne@gmail.com>
Cc: Francisco Olarte <folarte@peoplecall.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Postgres 10.7 Systemd Startup Issue
Date: Mon, 14 Oct 2019 16:23:22 +0000
Message-ID: <787ded14e7e84194a5780f2dc3bad725@sig.com> (raw)
References: <9568960c5376459183243e2bc4db6c14@msx.bala.susq.com>
<CA+bJJbxuWr52YYa++tjpL6LUrGXkWeWaa9FOYQORcEOP=m-Rfw@mail.gmail.com>
<5771.1559866748@sss.pgh.pa.us>
<CAFNqd5UY+AYGEN9WPksPoozgEzrcUAzm1OdVMYpj_Td2WWyPdw@mail.gmail.com>
<d988e6ef234949f79de1c48a569263ec@msx.bala.susq.com>
<6333.1559916216@sss.pgh.pa.us>
Greeting,
I have a follow-up question regarding PostgreSQL configure option.
Example:
./configure --prefix=/hostname/pg/PostgreSQL-11.5 --with-systemd --with-openssl
Above example I configure PG with 2 options:
1. with-systemd
2. with-openssl
Is there a catalog view that I can query to see what options were used to configure the PG instance? We will be taking over administration of existing PG instance, but we would need to know what configuration option was used during build.
Your feedback and help is much appreciated.
Dan
-----Original Message-----
From: Lu, Dan
Sent: Friday, June 07, 2019 3:22 PM
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: 'Christopher Browne' <cbbrowne@gmail.com>; 'Francisco Olarte' <folarte@peoplecall.com>; Kelly, Kevin <Kevin.Kelly@msx.bala.susq.com>; 'pgsql-general@postgresql.org' <pgsql-general@postgresql.org>
Subject: RE: Postgres 10.7 Systemd Startup Issue
Hello All,
I ended up removing all configuration. Re-unzip the binary tar files we downloaded. Re-configure with the option "--with-systemd" and now it is working.
We really appreciate all your help!
Dan
-----Original Message-----
From: Lu, Dan
Sent: Friday, June 07, 2019 10:11 AM
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: Christopher Browne <cbbrowne@gmail.com>; Francisco Olarte <folarte@peoplecall.com>; Kelly, Kevin <Kevin.Kelly@msx.bala.susq.com>; pgsql-general@postgresql.org
Subject: RE: Postgres 10.7 Systemd Startup Issue
I apologize, it was a copy/paste error. I did include the option "--with-systemd".
This is our first install of postgresql. I am in the process of getting standard in place for future deployment. We don't have any large footprint of postgresql here. We run mostly Oracle, SQL Server and MySQL in production so far.
Dan
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, June 07, 2019 10:04 AM
To: Lu, Dan <Dan.Lu@msx.bala.susq.com>
Cc: Christopher Browne <cbbrowne@gmail.com>; Francisco Olarte <folarte@peoplecall.com>; Kelly, Kevin <Kevin.Kelly@msx.bala.susq.com>; pgsql-general@postgresql.org
Subject: Re: Postgres 10.7 Systemd Startup Issue
"Lu, Dan" <Dan.Lu@sig.com> writes:
> Even with the added option “—with-systemd”, it is not working still.
Hmmm ....
> To outline what I did.
> 2) Configure PostgreSQL to new location mkdir
> /hostname/pg/PostgreSQL-10.7_2 ./configure
> --prefix=/hostname/pg/PostgreSQL-10.7_2
Is it just a copy-and-paste mistake that you don't actually have a --with-systemd option here?
Also, it seems fairly unusual for anyone to build a production installation with absolutely no configuration options --- it'd work, but you'd get a really plain-vanilla server. You might consider reviewing
https://www.postgresql.org/docs/10/install-procedure.html
to see what other things might make sense to turn on.
regards, tom lane
________________________________
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
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: Dan.Lu@sig.com, tgl@sss.pgh.pa.us, cbbrowne@gmail.com, folarte@peoplecall.com
Subject: Re: Postgres 10.7 Systemd Startup Issue
In-Reply-To: <787ded14e7e84194a5780f2dc3bad725@sig.com>
References: <9568960c5376459183243e2bc4db6c14@msx.bala.susq.com> <CA+bJJbxuWr52YYa++tjpL6LUrGXkWeWaa9FOYQORcEOP=m-Rfw@mail.gmail.com> <5771.1559866748@sss.pgh.pa.us> <CAFNqd5UY+AYGEN9WPksPoozgEzrcUAzm1OdVMYpj_Td2WWyPdw@mail.gmail.com> <d988e6ef234949f79de1c48a569263ec@msx.bala.susq.com> <6333.1559916216@sss.pgh.pa.us> <787ded14e7e84194a5780f2dc3bad725@sig.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