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 1nRWOe-0003vJ-NT for pgsql-general@arkaria.postgresql.org; Tue, 08 Mar 2022 09:44:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nRWOd-00077x-JI for pgsql-general@arkaria.postgresql.org; Tue, 08 Mar 2022 09:44:47 +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 1nRWOc-00077o-R2 for pgsql-general@lists.postgresql.org; Tue, 08 Mar 2022 09:44:47 +0000 Received: from mail-tycjpn01olkn2099.outbound.protection.outlook.com ([40.92.99.99] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRWOZ-00043i-N8 for pgsql-general@lists.postgresql.org; Tue, 08 Mar 2022 09:44:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gI52CpuraZQrcgoRJH/N9CwiT6/6eswZYZXWDxx00OL0pO5Mnyqwpvl6PCMDx7f4cbh3NjP3Uw3epaODiAeerFAMuwaMARxISDComtEaXGmePek0zO4B2+sO3tBHAFPSZ9WYmm/hG7fwnDZZcUGYcvYqiHhDH2320/yJycV2kXJH2+XIKJcx9c2ISyvhc+j3Uo9Tzc413j91W33HJ6oaXbqSXYv84T6ZVKpgRlHqKiN0SRFs7llZ/wOrdKkrQM8j7JWUgx0OscHMsyIsKz0Nx9C5Nn0cKA/O0ASk4wH1BDmTcbXPf9ZFrgDx1DUgi4k+7YguR0UZiVTL3K8C/2oOzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NDZaF0tE3oWjv807ojIcOkfqlo4C/L2O0A5Yj+0aDXA=; b=b/LkCHNfIe0WeA0zsqdjRn9WfZPrtv67HX5NUTRcZrLXlBBm2/qAcQWKEUbfr74yN4VL4PeeaU+Hm+QV+3fe0UF0O/ZrxkFc8wk9O7NShG9PKEJbZqLhINoH5TIVZIjttDS9Aj+7+iD+9I6464Cbah2uMRIyl99xBephXKyKzn5i65zv4TTGderk80NdgofyOX1u74rEeQwjRcA5Ek/X3OzwopvS80wrmit8Thkkt0aXp82NN/XLqyLlHWBuXsl64AqpWFJfYI9vj/LZVGCcXfeRUzgJZl+Uku/kYUDbUULhuEIz/4HDO3U9oSt9VfomlfCbGgHaBDrHhNQeKmem5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDZaF0tE3oWjv807ojIcOkfqlo4C/L2O0A5Yj+0aDXA=; b=es3saitbSb1UntADGgOrQ0FKNkekI0BzgnxiZE7/fmXIl3/GkLJ2w8931flDe68uFUGh4vxQkj7+N1VS24+fCA6TbwwoxuVYKwi6JPuJQsOEC/IvVzH5+mnBHVZtMtc8kWPfOwGKbofZ0+9Kclk/fKtGFf/Gm3Va1hWJmch9psZsmz+pMw6BzWzA3g9q0wq6GZyYfnNsEDkXWkBLVaGT8IObvyMUfKCrLoObswffsLwVltoupaGTG7+A6xiuCfoj9WaZNTTee4E6wok1+J7CpgS/jtp49TbxKlCKFRveIfEQ3JfLqHfd0dhSxg7SqUB8FTDNpNVf5h6zgTB+/MzssQ== Received: from TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM (2603:1096:402:32::7) by OS0P286MB0609.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:c9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar 2022 09:44:38 +0000 Received: from TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM ([fe80::7db8:e9dc:b835:19a9]) by TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM ([fe80::7db8:e9dc:b835:19a9%3]) with mapi id 15.20.5038.027; Tue, 8 Mar 2022 09:44:38 +0000 Date: Tue, 08 Mar 2022 17:44:30 +0800 From: BeginnerC Subject: A simple question: Why 'pg_ctl: command not found...' ? To: PostgreSQL General Message-ID: X-Mailer: geary/40.0 Content-Type: multipart/alternative; boundary="=-D/iRGKSwmdQJCCLk5zqo" X-TMN: [Qt5KacwTy1h2jC9PoIyqyiKTvX1Nh5ae] X-ClientProxiedBy: HK2PR02CA0151.apcprd02.prod.outlook.com (2603:1096:201:1f::11) To TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM (2603:1096:402:32::7) X-Microsoft-Original-Message-ID: <627F8R.JF730PCJ84A2@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07fc5704-626d-49df-87ec-08da00e842fc X-MS-TrafficTypeDiagnostic: OS0P286MB0609:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Tc5oofIfScdLifrmFnZFa/2/FjAVkBz08sJ7yWh8/Vztt2BFJKppnOedHcFHXExmJC1n1g0r70fmQdQpbVMl/rw4AgKzlWgog8bcmiQuogJKjxdb9npF6ISNYkTQ060yM34OK6QrtIv6H4WuidxGA8XPa2h4XZx+H1/OHtshsoNah8Q73cFhje8DVYpXOZD59L1leK852yjCbGu7zSBVdGYXRUujXSZYL/YvZowTwDJBU4N01y56BW5OXuUOY6Ek2qHVQC4hu5W8VlPjAc9LCq4O73CB3LEPnevrCh+FhXaQJ4gOkGV97c0LxZ8C8QcxvP/DyF5yHgljqQgMCpfQrstZX8bCSUvCmZPn6fVWtDKCBOAAG7ov73PV7+yJqnj9dLH5ahzzP73/Qg45ZRw1dLcthZw57NCQydsYv1rfNzemGmZ/VhuUn4iuhIMpM3ealOGnZlTvSQzO6qgTPCP0grtMHQleNrMfeKLCIRy2iRc/fHETBxsU0Gep66awkJYYCuC0ryRWUPCKc6yZ1+2oRzu2MdF2J35KVM8Wz/XaG6K5trXgudMDhgenB6n2c8ksIMj6oBLsTGCRaAFB53ATIA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?LsHQqgSdfFmQkUZsVWWdJR9jURHitRevO0OuuaxOS9UjPVQzs5Q7Oid4I3Di?= =?us-ascii?Q?iKwhbOHTq9tKB/l3R/LSCPSrF3Giu79aqTsr8B7CoNn1lIQSXdgtecR+brhQ?= =?us-ascii?Q?Xh4sPFtrmkVu/+0ZyybyxIL3sSs/2DF3OmrmOr2xiSLwAHYxTyr+ooZBYrGI?= =?us-ascii?Q?xXBkNVbY7PWfeZf9pLkiW/ZGxb7F8d0ok213F7ing5p/fJMtoglsBFzm9Sxn?= =?us-ascii?Q?EhB+/YlSK4TAZR7fLsZZkHklr521OwLppb9lCwf2C88gClKDa9qPQrA7floY?= =?us-ascii?Q?DJXUo3JDBBwlDo3Via9SogTJwi0VpB25I25mIIoq19u1CSEedEi19STGXHY0?= =?us-ascii?Q?TFilWYCeBXTVfa1RI9t1obes69zUIFeGGTTLxz3aabQCJmRcvTsKQufDnqu1?= =?us-ascii?Q?d7v4sdgdJJAzcSZY5aTuSedL6OnhkXFFlTYEC0ki4dH/a2UJNffQJZyoGNSj?= =?us-ascii?Q?PW+dCbh4mMbCXbM+H48m6nng8WxC8kt6rQWn/Ou478/vVNZYONbG7/QbiMXp?= =?us-ascii?Q?MIV5CdytIjcGq6P4IpSdpJUnUqK5LV39y/mGD/galu/oo92+RLET9msjajEC?= =?us-ascii?Q?v8YQ4PrT8Sd4yc6ilNUfLHxfu2kRAKGRrkv3LZoaHxi8w76Ne/M6IIM8Ck+e?= =?us-ascii?Q?GTqNUe0A3o/8RleBTc9fN9iF80bF+rK2jRtV7p22MqkF80T78hsclhpE02mH?= =?us-ascii?Q?xW0j5HQ5/RNABKi3aFvklEsq2XMoy/IvSA0lpgheQwh5wMb4lyowY+w9LzdU?= =?us-ascii?Q?stXyCuUN2lF50WKtM+ASZa4spub+FK3Oj42DYw3EGBSO9Bn+Qq6vE+OsO5Im?= =?us-ascii?Q?JRYYdhZfqP1P8HGnCNdKD2DOqJNhpsmnplnmOAt9oU+1ywYKGB97H2d8EToQ?= =?us-ascii?Q?CcCCWgts0ili2EzdEEIN2pEKYVq3iXKRKoOsEbPUcUtDe2d5J3lE0GMSQvBr?= =?us-ascii?Q?bmlB7vRrYOb5eSOXmnxhWw=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07fc5704-626d-49df-87ec-08da00e842fc X-MS-Exchange-CrossTenant-AuthSource: TYAP286MB0636.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:44:38.6679 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS0P286MB0609 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-D/iRGKSwmdQJCCLk5zqo Content-Type: text/plain; charset=us-ascii; format=flowed Hello everyone, When I start to learn the 'pg_ctl', the bash echo 'pg_ctl: command not found...' and then print 'Install package 'postgresql-server' to provide command 'pg_ctl'? [N/y]' I am confused because I had already install the PostgreSQL correctly just follow the postgres Document,to prove that,I use the psql to connect to the postgres and execute some sql statements (Just like 'CREATE TABLE', 'SELECT' and 'INSERT'),and these statements executed successfully. So how to solve this problem? Should I use the dnf to install the 'postgresql-server' or just add some path to the environment variable? My system is Fedora 35 and the PostgreSQL version is 14. Thanks in advance! --=-D/iRGKSwmdQJCCLk5zqo Content-Type: text/html; charset=us-ascii
Hello everyone,
When I start to learn the 'pg_ctl',
the bash echo 'pg_ctl: command not found...' and then print 'Install package 'postgresql-server' to provide command 'pg_ctl'? [N/y]'
I am confused because I had already install the PostgreSQL correctly just follow the postgres Document,to prove that,I use the psql to connect to the postgres and execute some sql statements (Just like 'CREATE TABLE', 'SELECT' and 'INSERT'),and these statements executed successfully.
So how to solve this problem? Should I use the dnf to install the 'postgresql-server' or just add some path to the environment variable?
My system is Fedora 35 and the PostgreSQL version is 14.
Thanks in advance!
--=-D/iRGKSwmdQJCCLk5zqo--