Re: Variable substitution in psql backtick expansion

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Daniel Verite <daniel(at)manitou-mail(dot)org>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Variable substitution in psql backtick expansion
Date: 2017-04-02 19:57:41
Message-ID: alpine.DEB.2.20.1704022151080.9265@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> More to the point, we already have that. See c.h:
>
> #define CppAsString(identifier) #identifier
> #define CppAsString2(x) CppAsString(x)

Thanks for the pointer. I grepped for them without success. Here is a v4.

--
Fabien

Attachment Content-Type Size
psql-version-num-4.patch text/x-diff 3.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-04-02 20:00:22 Re: Undefined psql variables
Previous Message Tom Lane 2017-04-02 19:56:54 Re: Undefined psql variables