Re: More CppAsString2() in psql's describe.c - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: More CppAsString2() in psql's describe.c
Date
Msg-id 917B4BE5-D2FA-4E0F-9E40-257920D594A4@yesql.se
Whole thread Raw
In response to Re: More CppAsString2() in psql's describe.c  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
> On 2 Dec 2024, at 08:37, Peter Eisentraut <peter@eisentraut.org> wrote:

> the current structure assumes that the C character literal syntax used by the PROKIND_* and other symbols happens to
bethe 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




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: altering a column's collation leaves an invalid foreign key
Next
From: Tom Lane
Date:
Subject: Re: More CppAsString2() in psql's describe.c