Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rYGq7-00F92n-Ha for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Feb 2024 02:42:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rYGq5-005Gnw-Ux for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Feb 2024 02:42:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rYGq5-005Gnn-6u for pgsql-hackers@lists.postgresql.org; Fri, 09 Feb 2024 02:42:05 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rYGpy-005oZD-FZ for pgsql-hackers@postgresql.org; Fri, 09 Feb 2024 02:42:04 +0000 Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-7c029beb8efso12823039f.0 for ; Thu, 08 Feb 2024 18:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707446517; x=1708051317; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uvLNZJrpBDgmXRDjscb9LdgM4C1hLcp0ggHf3bq4mpY=; b=fbyqH090vdO4g1Chc+OlZzxjI/v/X7CuMcGdNTBBSOByEbpD7LPebucjDdKLNjv3oA NMa5RHth0dHChrHiqV/S9+F/1z4NdT78t8DgFYaKHdNb6k+fod20KuqAZjb8fR+u+xfh 3OAs88T0gnq582xvxGouhmpTpTm71AES3sEVghgxMTBtKC0RARgLnjsEZDE414M4FDvl gFB1AhcQpFsgTrWv6AkOBO2Ine0bx4ek2nggZaUFksjnT+LTOIELJfNwY1ZUECIQ0lIi VB/ScL3AvWtIKP5M24U71bC6zS59b9QJjiEPUp/v8xG56Pc42btq9KDSDOxtYM/tixGH b0dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707446517; x=1708051317; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uvLNZJrpBDgmXRDjscb9LdgM4C1hLcp0ggHf3bq4mpY=; b=hDSYr/glz6K0KXBQCkAFPeW8SkklZvFtq8G1oV+j6YpyotmgtJtHxZQ1GpFRiJxerp S3VRa2QxxRyYP+qKBAFuinAQwdhxWZn+iGESov7G19Gefky46NvWGVmqkcvK+QPRCrnK PfZAbgrxpxeO4WMbmChswN9CBSsOo1GuauxE8pObstGrMs1tg89ODL6MXqjxqHv+TBYc zT1tp2+zD9kTCw2mne/Y7n8Og4DqiDN0GYwNYeXIpy3jAEGXFO7q+WFkmp02JbRM5l4n M87KD46uGOtcEn4HYjgvQ3lSdKaydiTnsdN0ClhKxkP95Ocinjonm153fluywk6TWUdi 3JoA== X-Gm-Message-State: AOJu0YzYRQAt/+85ZpuWIf4mRuCsUdgT1DqAYBKnN3B5mDghdqgMdF8G bEsFSZnT/0hwulSq/G4p1CGXO28Jvf8mga65I9MY/TtFwKf2XK+e X-Google-Smtp-Source: AGHT+IHweD1OdPEhMiusblAbo4flGh/J3g/yP25upCRZCdjbjFBuRUC/4W2NBvs4Sj1ptdbUOUq9eA== X-Received: by 2002:a05:6602:2f0a:b0:7c0:218b:b832 with SMTP id q10-20020a0566022f0a00b007c0218bb832mr472032iow.5.1707446517102; Thu, 08 Feb 2024 18:41:57 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVJouRkc+3bJA0EikAbJxygTyAhRTGLpHjRmX1WU1MQm8FIgrrTVF6rvdmBCcNsh+j85wybRQq11OiiNQri3n1XGX7ljCbqkXpfotl0//DJuxoW/BeXT3mHGF436gVtpTCyIjGUg826UVmySj0Jbq46kfDwZxby Received: from nathanxps13 (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id s6-20020a5eaa06000000b007c408da2497sm177279ioe.7.2024.02.08.18.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 18:41:56 -0800 (PST) Date: Thu, 8 Feb 2024 20:41:55 -0600 From: Nathan Bossart To: Maiquel Grassi Cc: Jim Jones , Erik Wienhold , Pavel Luzanov , "pgsql-hackers@postgresql.org" Subject: Re: Psql meta-command conninfo+ Message-ID: <20240209024155.GA659389@nathanxps13> References: <852cabef-f596-4826-9a54-d3f75d9a6cc8@postgrespro.ru> <47dcfd6f-d1d8-4a13-9bc5-b43ee9bd534f@uni-muenster.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sorry if this has been brought up, but I noticed that some of the information is listed below the result set: postgres=# \conninfo+ Current Connection Information -[ RECORD 1 ]------+--------- Database | postgres Authenticated User | nathan System User | Current User | nathan Session User | nathan Session PID | 659410 Server Version | 17devel Server Address | ::1 Server Port | 5432 Client Address | ::1 Client Port | 59886 Socket Directory | Host | ::1 SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off) Shouldn't we move this information into the result set? Separately, does the server version really belong here? I'm not sure I would consider that to be connection information. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com