public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Edwin UY <[email protected]>
Cc: [email protected]
Subject: Re: Is there a way to check if objects are created with quotes or not?
Date: Tue, 21 Jan 2025 19:52:29 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+wokJ_v+60LbcBcbQmxxLQKZucAedokjrmJ5QMTevyO5q78Kg@mail.gmail.com>
References: <CA+wokJ_v+60LbcBcbQmxxLQKZucAedokjrmJ5QMTevyO5q78Kg@mail.gmail.com>

Edwin UY <[email protected]> writes:
> I am just now finding out that I sometimes I have to enclosed tables in
> quotes, that is a name named table1 need to be quoted as 'table1' otherwise
> it gives error.

"table1" shouldn't need quotes.  The rules for that are here:

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

			regards, tom lane





reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Is there a way to check if objects are created with quotes or not?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox