Re: How to escape string in Postgres?

Igor Korot <ikorot01@gmail.com>

From: Igor Korot <ikorot01@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-03-29T07:21:26Z
Lists: pgsql-general
Hi, Lauren’s,

On Sat, Mar 28, 2026 at 11:56 PM Laurenz Albe <laurenz.albe@cybertec.at>
wrote:

> On Sat, 2026-03-28 at 23:08 -0700, Igor Korot wrote:
> > In MS SQL server one can write a query like so
> >
> > SELECT a, b, c FROM [catalog].[schema].[table];
> >
> > What do I use in Postgres instead of []?
>
> Normally, you read the documentation.


Agreed.
However trying to google on “Postgres escaping query” didnt produce any
links to the docs.

Thx.


>
> Yours,
> Laurenz Albe
>