Re: More CppAsString2() in psql's describe.c

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: More CppAsString2() in psql's describe.c
Date: 2024-12-02 07:45:11
Message-ID: 917B4BE5-D2FA-4E0F-9E40-257920D594A4@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 2 Dec 2024, at 08:37, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:

> the current structure assumes that the C character literal syntax used by the PROKIND_* and other symbols happens to be the same as the SQL string literal syntax required in those queries, which is just an accident.)

I'm not sure I would call it an accident, rather there is no guarantee that it
will always be true.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-12-02 07:52:50 Re: More CppAsString2() in psql's describe.c
Previous Message Peter Eisentraut 2024-12-02 07:41:37 Re: altering a column's collation leaves an invalid foreign key