should encoding names be quoted in error messages? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject should encoding names be quoted in error messages?
Date
Msg-id 1334000865.17681.6.camel@vanquo.pezone.net
Whole thread Raw
List pgsql-hackers
Encoding names are currently sometimes quoted (encoding \"%s\"),
sometimes not (encoding %s).  Which one should we settle on?

In favor of quoting is that we do this for everything else.  But since
the possible encoding names are known in advance, we know we don't have
to do the quoting to avoid ambiguities.

Opinions?



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Another review of URI for libpq, v7 submission
Next
From: Tom Lane
Date:
Subject: Re: Revisiting extract(epoch from timestamp)