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 1p4d6f-00050z-EY for pgsql-docs@arkaria.postgresql.org; Mon, 12 Dec 2022 07:20:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p4d6e-0005ne-9j for pgsql-docs@arkaria.postgresql.org; Mon, 12 Dec 2022 07:20:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4d6d-0005nP-TS for pgsql-docs@lists.postgresql.org; Mon, 12 Dec 2022 07:20:08 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p4d6b-0001qP-FB for pgsql-docs@lists.postgresql.org; Mon, 12 Dec 2022 07:20:06 +0000 Received: by mail-ej1-x635.google.com with SMTP id ud5so25625709ejc.4 for ; Sun, 11 Dec 2022 23:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=GV9iVjM3DYW5QFUnqVwPQcDn4OTjzQoeY0Pu6pqac1Q=; b=8IxsnvsNa9lTlzboghsyGObfYj9KU5rvugwuxAEwy6MBTNLBVO5tbbj41fFgTehTpV 5xwr+Q1lXCyrtp1pZCX3bfHw6tcBlCc39S2ByC+cdS1uPVKxjn6iXnpM/7zylgw33ufC 6sSltivqbtibESDcJL3LBGz818zZYWqBEfhafqfqqpe/2bo/UGDe0UWEp878En5IbQuR GdJXE/GjXZLs7ZoEUkeqUeK4L1iARMXDp5QwxPlQfw3rzk8IB1lNbMXwKBLniKKSKoQE omVk2mocJ8lfLNTE11ec83846alDtHiM4Ddmg7Kfpj6D0hv3rlrOPdMr1207xAf9f2Lg 2K7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GV9iVjM3DYW5QFUnqVwPQcDn4OTjzQoeY0Pu6pqac1Q=; b=bMY8awlgNgg+m8f6gGw8sqUnyOOB1uvvzxcrRVVxPBXYENW9HSkw41FA/8yu+tPAFG 3NKtPOLY30l1Zj5hv7VvcwfrjCgamvztCAhriq44gScktuIOcgLgMf2KSWOzCkF2VwsN sXRarBjPd952cqqp+Z0+4358/ULCwM+LwrJjs8mqHbwOuelwwgqS5pMfas4bNYdeylpy J2OeG8AucvVAN460GZsqF6/x+Q+g9vJIyxfaZCG1/XDwktM7MSZs577Z/GxG8+gajxYq ZEOFq1+rwdhNPsqj2p4hZ0/4AlCA+4L8mKmfQi3k2FLNWksdNp7+lTMHhQkzYISU06/X 79yA== X-Gm-Message-State: ANoB5pm6QIgxGdAXYx1SPTN5/pW416qO0goeUdMT0U7dXvb/RutKZmfi O+ILjLOc0UPsM7+7XBAaPfPCw33XYclPUPRH X-Google-Smtp-Source: AA0mqf5C0mGFQZB1xGNJ8il9Tkk8/IqyyigzIpinX0NBzBVWYZNbnzwhyzKcK3pg+Ma8fkaePLsn2A== X-Received: by 2002:a17:906:1984:b0:7c0:8c83:79b8 with SMTP id g4-20020a170906198400b007c08c8379b8mr12834114ejd.53.1670829603998; Sun, 11 Dec 2022 23:20:03 -0800 (PST) Received: from localhost.localdomain (178-190-183-7.adsl.highway.telekom.at. [178.190.183.7]) by smtp.gmail.com with ESMTPSA id bq19-20020a170906d0d300b007bf5250b515sm2929576ejb.29.2022.12.11.23.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Dec 2022 23:20:03 -0800 (PST) Message-ID: <29785cbd957449e98c03a77b6b9fb41970a4f1ca.camel@cybertec.at> Subject: Re: Getting started From: Laurenz Albe To: xinyyc+postgres@gmail.com, pgsql-docs@lists.postgresql.org Date: Mon, 12 Dec 2022 08:20:03 +0100 In-Reply-To: <167069800755.1903.2797040477164919245@wrigleys.postgresql.org> References: <167069800755.1903.2797040477164919245@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, 2022-12-10 at 18:46 +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/15/user-manag.html > Description: > > https://www.postgresql.org/docs/current/tutorial-createdb.html > > The "getting started" page skips right from the installing to already having > started the program, but on linux machines, you cannot start psql without > inputting a special command, "sudo -u postgres psql".  Typing psql will make > the program tell you that your username doesn't exist, and you can't create > a username for psql without starting psql first.  I had to search somewhere > else to learn that I had to start psql with that special command.  Yes, the "initdb" step is missing. If we had that, it would be clear that the rest of the chapter assumes that you are running shell commands with an operating system user whose name is identical to the bootstrap superuser. Yours, Laurenz Albe