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 1sFZlD-003cMD-0b for pgsql-docs@arkaria.postgresql.org; Fri, 07 Jun 2024 13:36:04 +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 1sFZlB-00C5jr-0C for pgsql-docs@arkaria.postgresql.org; Fri, 07 Jun 2024 13:36:01 +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 1sFZlA-00C5hV-FI for pgsql-docs@lists.postgresql.org; Fri, 07 Jun 2024 13:36:01 +0000 Received: from mout-u-204.mailbox.org ([2001:67c:2050:101:465::204]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFZl7-000AJ9-Sa for pgsql-docs@lists.postgresql.org; Fri, 07 Jun 2024 13:36:00 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4VwhzT70h6z9svv; Fri, 7 Jun 2024 15:35:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1717767350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kXBUVQC1KIlRHXfpsQPCkV3h9uKYh7bfBkDxeQ/mjCA=; b=sC2r0Co/68iQYhr9Hl/YLxbnAwIM7pM5J1uxH2Vl8jodP6jG31TMkrFh3NrKZVWXmtvAze UwZPUHZIA/A/sXHI5TLSq55ir5ZXbuGD54F04h7yI59QzO3iBxch9JHLM+r1/GzQ9nsH/8 jRNImJeMLj6l7Dte/dgL7d8ab2cW5j8zMPmA2oSXDGuP5xEtJhQa4JkAdzz2bKay30GiK1 e9LKt31FoZPO2jXkEHWv4nEiEytZmRQzR0kzG0Zc9zYPmKioTBUaG11lGsk3Ef2W7zW+sC nr7BTeP9BkETf2HY8AbutHow4GSCAOx/Ko95Wg0l0z9d1flaIhHkJtZZRAHGSg== Date: Fri, 7 Jun 2024 15:35:47 +0200 From: Erik Wienhold To: Florian Koch Cc: pgsql-docs@lists.postgresql.org Subject: Re: I get ERROR: column "table_name" does not exist Message-ID: References: <171753061515.2021730.14624637049210791754@wrigleys.postgresql.org> <26d7c4dd-2809-426a-acb4-bbd2828fba93@ewie.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4VwhzT70h6z9svv List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-06-07 14:24 +0200, Florian Koch wrote: > I made a gist with the error. > https://gist.github.com/floratmin/a4b404f0fd66b03a0428c07686b71410 The problem is the semicolon after PG_DATATYPE_NAME, causing the TABLE_NAME line to be a separate statement: > exception_datatype := PG_DATATYPE_NAME; > exception_table := TABLE_NAME; -- Erik