Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hK9Do-00060T-Jk for pgsql-general@arkaria.postgresql.org; Fri, 26 Apr 2019 22:21:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hK9Dm-0004W6-99 for pgsql-general@arkaria.postgresql.org; Fri, 26 Apr 2019 22:21:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hK9Dl-0004Vz-SV for pgsql-general@lists.postgresql.org; Fri, 26 Apr 2019 22:21:30 +0000 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hK9Dh-0000ba-MU for pgsql-general@lists.postgresql.org; Fri, 26 Apr 2019 22:21:27 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 6FD424CDB2; Sat, 27 Apr 2019 00:21:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id F4niAlfx3PDV; Sat, 27 Apr 2019 00:21:01 +0200 (CEST) Message-ID: Subject: Re: 9.6.9 Default configuration for a default installation but different with-krb-srvnam From: Laurenz Albe To: Jean-Philippe Chenel Cc: pgsql-general@lists.postgresql.org Date: Sat, 27 Apr 2019 00:20:59 +0200 In-Reply-To: References: ,<6601b29f5f0eb3575ea02fe79e81c77010e20259.camel@cybertec.at> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2019-04-26 at 20:25 +0000, Jean-Philippe Chenel wrote: > > > 1. So my question is, how can I compile this version of postgresql (9.6.9) and have the same real things > > > of the default previously installed version, but with the --with-krb-srvnam=POSTGRES_DEV to change the > > > default user name? So one server will have the postgres user and the other one will have postgres_dev user. > > > > You can run > > > > pg_config --configure > > > > to see how PostgreSQL was configured. > > Do you know if it possible to run a query or something else because pg_config isn’t in the binaries. > I’ve saw it but is was of version 10 or 11, not the 9.6 You have to install the package that contains the headers and development tools doe that. Usually it is called *-dev or *-devel. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com