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 1ue8tK-005YFx-Tl for pgsql-docs@arkaria.postgresql.org; Tue, 22 Jul 2025 09:02:31 +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 1ue8tK-0066cS-14 for pgsql-docs@arkaria.postgresql.org; Tue, 22 Jul 2025 09:02:30 +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 1ue8tJ-0066cJ-Ol for pgsql-docs@lists.postgresql.org; Tue, 22 Jul 2025 09:02:30 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ue8tI-000AnH-0v for pgsql-docs@lists.postgresql.org; Tue, 22 Jul 2025 09:02:29 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-ae401ebcbc4so877312166b.1 for ; Tue, 22 Jul 2025 02:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1753174945; x=1753779745; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=VCFmnSjOGo+QrB42KeJgZ6CJQl/56JeX2hOATtbDXp0=; b=MRJT/lofuezF+qYrSIq6z1sV5eswjPBuowub5fRbE5q2U3wkdeuHKZU7lBXJ4khl6p dQ4YlCBrL4GG7yhIQ3ZeRLq+dWrl0uFLYtN9P8OXr38EEUvW0wGwyUqra8BGliZjKM01 Zlg8W5Jd6W0BxaUQJG9ltQz7Wu0i94xbuRqXZhXZYNIQpa14a2spukbEJi2ietb1/v+l qHraivo/TOJRV1r9cgFg5iW6OvAZdHOFGIu0FxW/j9+2HnozryU9PV/71sZ+8Befm2Ns Km2vUr2jigvMa3eCKjZh4MLyPbYc95TtNDNWKhNOCzbfNjRC+l3cYx+IIJ11ZXp3NOTm vXjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753174945; x=1753779745; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VCFmnSjOGo+QrB42KeJgZ6CJQl/56JeX2hOATtbDXp0=; b=EFrGn6fZtLJTe67jUA91kr05a85lV3xLadIf5NZhVkFMETpD54Eju/yKoMAfNz0dFT f5xLtYMzNluo5TvncmM8GNZ+X8gMCY9K0mO+ClCYo9epNWjbboyluu2PHub5NnuFcgM4 Cbfg+yS7FRPiL5tdt3hp9vBqmRlXbZ+a5+S2fKIFcHl7CjgwS//E+8J0oMBAZ6t/GkD5 vDEhFofSvQ/tCgK53OT9g6zB6UqTaof9oK1ajHBaokcI4hmUHxVuoSSv8lVhe6zpGI83 knTvmbLgJTMLJPOivp54I0DccnajPoNRHElRKCfokeqsYkgOSynLWOb2M6nkVP1bjv01 VgyQ== X-Forwarded-Encrypted: i=1; AJvYcCVdS9wXTMnS+ney3HneXk+nN1+SNxxmQIsH6eHfHLe2+6OVcatvYvyAvUcJxs7p7Os5qKgMJTRj8pe0@lists.postgresql.org X-Gm-Message-State: AOJu0Yx/jeYIcLRK1TI8CYHzMwW3bMzRc2bffXBJVIpQ42sbZHG0WkWP nY+90AFYOaXndGhI5rmsRqfgPLKdXzpIscO3MyUsLCg/P0yDq8zpMR8pUfMUeX5MEDU= X-Gm-Gg: ASbGncuHqnwIVQ5mx7ir4k1XOX4tz8KljG4hDxrO5FQ9AO5eb84OQ4E6JGaUxpA1pzR /B7dDaHsrTa4blVSAlJWnQgA/8Jtq5aa+ncdKbOJT7ZYQ8K00lyTuH46MZCmkRGBH0YjYdr4iwj HKIBhFWGAITEXyuyZbU/Yo9bmoPSRGhPT+g/R7dPTroJ8iHPNvZhZ4yTC4ofCqmRnLRXzV0iM0I sHKic8/sYmFeJpftMTZM1A0zB8omGq1c7748PKUZ9azLdmaXlKu/IaxJz8qVJsbCwManyjAd0fN J8gaJohKddi96VHmOEvQPkbUBUuq/A+L5mad0Ej+YqknEU/s+M8tErOgmX+vV58eIzOCLSsht/x 3qewsh5/36DOVjVQVYF1lJ8ag0aXb3aXTW6jlSvvtacU9BBpZD0c= X-Google-Smtp-Source: AGHT+IF9pn1xhRqncXZkJuybbSH+3s0rizMk7PhQyOHehzPqMYzpr+tVFLTniVVKNv+es/8XRunz1g== X-Received: by 2002:a17:907:c29:b0:ae3:6bb4:2741 with SMTP id a640c23a62f3a-aec6a5fa557mr1671151266b.38.1753174945388; Tue, 22 Jul 2025 02:02:25 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([88.116.133.170]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aec6de207fdsm822114766b.25.2025.07.22.02.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jul 2025 02:02:24 -0700 (PDT) Message-ID: Subject: Re: Description of disallowed characters in quoted identifiers is incomplete From: Laurenz Albe To: psimbo@gmail.com, pgsql-docs@lists.postgresql.org Date: Tue, 22 Jul 2025 11:02:24 +0200 In-Reply-To: <175312790281.787.11714206460573047530@wrigleys.postgresql.org> References: <175312790281.787.11714206460573047530@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-07-21 at 19:58 +0000, PG Doc comments form wrote: > Page: https://www.postgresql.org/docs/17/sql-syntax-lexical.html > Description: >=20 > Section 4.1.1 of the documentation claims that "Quoted identifiers can > contain any character, except the character with code zero." However > according to line 105 in src/test/isolation/specscanner.l in the PostgreS= QL > source code, new line characters are also disallowed. psql (18beta2) Type "help" for help. test=3D> CREATE TABLE "new line" (); CREATE TABLE test=3D> \dt new* List of tables Schema =E2=94=82 Name =E2=94=82 Type =E2=94=82 Owner =20 =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=AA=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=AA=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=AA=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90 laurenz =E2=94=82 new =E2=86=B5=E2=94=82 table =E2=94=82 laurenz =E2=94=82 line =E2=94=82 =E2=94=82=20 laurenz =E2=94=82 newtab =E2=94=82 table =E2=94=82 laurenz (2 rows) Yours, Laurenz Albe