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 1rMsfm-007NlV-Cl for pgsql-general@arkaria.postgresql.org; Mon, 08 Jan 2024 16:40:23 +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 1rMsfl-006Cnx-CT for pgsql-general@arkaria.postgresql.org; Mon, 08 Jan 2024 16:40:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMsfk-006Cno-Gz for pgsql-general@lists.postgresql.org; Mon, 08 Jan 2024 16:40:21 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rMsfh-000VHP-8r for pgsql-general@lists.postgresql.org; Mon, 08 Jan 2024 16:40:19 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 26F035C02D8; Mon, 8 Jan 2024 11:40:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 08 Jan 2024 11:40:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1704732016; x=1704818416; bh=140D7YC/HtHrNZyngI2Ec0XQsR9XLBYK1hLzUMeYY7s=; b= OABEYAIsyGjrULwokVZesH2yr09kPkvbpsbPH3QcQeJBk3P0shQ2YMN5KY0VAHer w7aIPWdI0p7dfApgqA/XIsBx3l5kvvK2x4ARh+n0TTxH7POBoOICv+YZQxeVAmsS /Vu25S8Zb6FVfZFt/UMu2PsPerG+PNnNsjiTVVkRfr84cZndEpcG4axg/8yMGwYG iqaJSp3YSYAvkOlPW1gkoZywoRGn4te6cdJobuarxHpOtRY0jKC4HWOdy4/d8Cwg loz4ug3CzynUAiTqVVeRVfJrVSCm6fZgEkTYfepRt8cqWKgrs/1k/ueFVmI9QyzR Fho8i6cY/PDqv0JaoZq/jA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704732016; x= 1704818416; bh=140D7YC/HtHrNZyngI2Ec0XQsR9XLBYK1hLzUMeYY7s=; b=f HmJPvsCSlFIE+70l9Qw3iUWtokweKDapSvfG4CrjHnXIJxcKLWUfqYcD/iiPnJen IwtWEE8ZEdsDIWVM+ViOMLueULP0Ixk+ezaQdWsAjQRn+sBS71KjgtTXk79C3ohC AsqTM0oe012TI7WRDW2Ok65DsXq961TZBQQguerZ9IQZaDHJrAa6OCm/u3vqf6Op eWN4mmcr1Q9E3bt5UM07rs6iksNns9KGe/wq1JGyyTZoSyThjh/Gbz6+rIKXrgFC kLRjsmnP1BrkUeBCFHws5nJRZcwSetDTowoJvK4jZNN4nCdNQSp+17PAGBmKD2Q6 WTcL3Gq6xJPrFX47JXtVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehjedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepffelgeeife fgveduhedthfekuedtffejveegffegjeevtdehgfduieetfeehjeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 8 Jan 2024 11:40:15 -0500 (EST) Message-ID: <5991da49-11ba-4b0a-8ed8-a7bc59ea0405@aklaver.com> Date: Mon, 8 Jan 2024 08:40:14 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to \ef a function ? Content-Language: en-US To: David Gauthier , pgsql-general@lists.postgresql.org References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/8/24 08:26, David Gauthier wrote: > atletx7-reg017:/home/dgauthie[ 120 ] --> dvdbdev > Pager usage is off. > psql (11.5, server 11.3) > Type "help" for help. > > dvdb=# \df opid.bef_ins_axi_reqs_set_trig; >                                  List of functions >  Schema |           Name            | Result data type | Argument data > types | Type > --------+---------------------------+------------------+---------------------+------ >  opid   | bef_ins_axi_reqs_set_trig | trigger          | >       | func > (1 row) > > dvdb=# \ef opid.bef_ins_axi_reqs_set_trig; > ERROR:  function "opid.bef_ins_axi_reqs_set_trig;" does not exist Lose the ';'. It should be: \ef opid.bef_ins_axi_reqs_set_trig > dvdb=# \ef opid.bef_ins_axi_reqs_set_trig(); > ERROR:  expected a right parenthesis > dvdb=# > > So the function exists with \df but not \ef ? > I get the need to identify the argument list (in case there's >1 with > same name, diff arg list), but '()' doesn't work.  Does this have to do > with the returned trigger type ? > -- Adrian Klaver adrian.klaver@aklaver.com