Re: pgbench - allow backslash continuations in \set expressions

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Fabien COELHO" <coelho(at)cri(dot)ensmp(dot)fr>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Rafia Sabih" <rafia(dot)sabih(at)enterprisedb(dot)com>,"Robert Haas" <robertmhaas(at)gmail(dot)com>,"PostgreSQL Developers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench - allow backslash continuations in \set expressions
Date: 2016-12-01 09:16:26
Message-ID: 476bb27e-c114-4954-a125-8ae962465498@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fabien COELHO wrote:

> - if not, are possible corner case backward incompatibilities introduced
> by such feature ok?

In psql, if backslash followed by [CR]LF is interpreted as a
continuation symbol, commands like these seem problematic
on Windows since backslash is the directory separator:

\cd \
\cd c:\somepath\

Shell invocations also come to mind:
\! dir \

Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mithun Cy 2016-12-01 10:00:54 Re: Patch: Implement failover on libpq connect level.
Previous Message Dean Rasheed 2016-12-01 09:15:08 Re: Add support for restrictive RLS policies