Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTwW0-00086q-W9 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Apr 2021 00:57:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lTwVy-00020V-6F for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Apr 2021 00:57:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTwVx-00020M-RS for pgsql-bugs@lists.postgresql.org; Wed, 07 Apr 2021 00:57:50 +0000 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lTwVt-0003yO-3G for pgsql-bugs@lists.postgresql.org; Wed, 07 Apr 2021 00:57:48 +0000 Received: by mail-ot1-x32d.google.com with SMTP id h6-20020a0568300346b02901b71a850ab4so16458655ote.6 for ; Tue, 06 Apr 2021 17:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rice-edu.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=R0c6ehBeeNFzn7Fc+87E8vazm+CMV0egI2iFF9UYZXc=; b=eMM91mRx7rfS8hmhehHiRY64vZclOWmOg8ie408Ru2c3mIfsMEEMt4zuETBD1M62M1 Q4LfqqztyMk94VMVyMVweHszmsTHs56RfW76CA/lqwd8D+LIAScTJLoCZ+cc76nIuLoz fsQnUNTEbmhxukqAmQdUIVHXcRmMigh5eXoSx/odbaMPd5yX1g1Ivj88ZGaSCT74wylZ 8DvA002P1jqDlBwOvwcJwwrmNGw2ofH9a9wVZVK+6zoQXnLkOj16TVrDWC7VozWLS1gW qb3j58gqKeqWaDh5/bOtjbPjbw/7sTnTZ6gcTiGWQFpIc8MtDPn4uIPQpcrhjZpTt7Hk W0Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=R0c6ehBeeNFzn7Fc+87E8vazm+CMV0egI2iFF9UYZXc=; b=GrTZqc7IZcrIXiGKfbTVqtC8TGgTtJODR2U2wcxrOqPNMaywwW53bhc9UIbtERCXHk i95lyKKYGFx64omFvtJBsUdCUC8Q/+qWrqX24b9xNC5GR69+qazfVv62qmrSXjCwcvdZ 5qUklrB71+ZPBxdf1F/qqDV382qEYrMBzt7JVdRnFpO8hHZUUQZARCSj/Tsufurg1vWp vDrdWfipUW6X4WTOu4Fm/BRyDKF9GS3mxkUEHJGhXCIk3jTGnUnnbbPX9ncOWZktPOJe 7UoX3wJg23aYjyvwmEWKxZfdrOxCqNh2W2wkU1UDB3kkPdHBYXwlFvbs7HFlbGICkp6G 5M8g== X-Gm-Message-State: AOAM5305xr9kT+r2ism+8TobCjwXrPYrcSW7hhpOoRjzaXa5fUMeIq28 B/Cs/Di4cwxBVYBVtjCdH+RdvJ92/oYnTA== X-Google-Smtp-Source: ABdhPJzqZT5M8OEyffBq6xwH2zYh8U5b5QYBfyOaN2hErSa7Y9PRecFoBkJ3AuDcy5rx3fHvbvanxQ== X-Received: by 2002:a9d:7d13:: with SMTP id v19mr704106otn.370.1617757062185; Tue, 06 Apr 2021 17:57:42 -0700 (PDT) Received: from ?IPv6:2600:1702:f90:e020:a0bd:d1bf:5af8:850f? ([2600:1702:f90:e020:a0bd:d1bf:5af8:850f]) by smtp.gmail.com with ESMTPSA id n83sm3982229oif.18.2021.04.06.17.57.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Apr 2021 17:57:41 -0700 (PDT) To: pgsql-bugs@lists.postgresql.org From: Karl Burkett Subject: PG 13.2 working with postgresql-13-setup Message-ID: <2e09bc70-403a-8220-5767-6664dcca453f@rice.edu> Date: Tue, 6 Apr 2021 19:57:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------013BB6BBF15E7E0BABC54CBC" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------013BB6BBF15E7E0BABC54CBC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Afternoon,   Working through an install of pg 13.2 from repo pointed to by: https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm   When working through a set of instructions that suggest I use "postgresql-13-setup initdb" I find that the installation script fails.   There appear to be some problems in the script:   PGVERSION is set to 13 rather than 13.2   PGMAJORVERSION does  not peel off the minor version, needs to have sed something like:     sed 's/^\([0-9]*\)\.[0-9]*.*$/\1/'   With these two changes the script ran and appears to work.   If this is a duplicate, I'm sorry to have wasted your time. Thanks. |||||| --------------013BB6BBF15E7E0BABC54CBC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Afternoon,

  Working through an install of pg 13.2 from repo pointed to by:

https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

  When working through a set of instructions that suggest I use "postgresql-13-setup initdb" I find that the installation script fails.

  There appear to be some problems in the script:

  PGVERSION is set to 13 rather than 13.2

  PGMAJORVERSION does  not peel off the minor version, needs to have sed something like:

    sed 's/^\([0-9]*\)\.[0-9]*.*$/\1/'

  With these two changes the script ran and appears to work.

  If this is a duplicate, I'm sorry to have wasted your time.

Thanks. 

 

--------------013BB6BBF15E7E0BABC54CBC--