| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Dave Page <dpage(at)pgadmin(dot)org> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Client application name |
| Date: | 2009-10-13 15:27:25 |
| Message-ID: | 20091013152725.GG4535@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Dave Page wrote:
> On Tue, Oct 13, 2009 at 4:06 PM, Alvaro Herrera
> <alvherre(at)commandprompt(dot)com> wrote:
> > - should we reject funny chars such as \n? (hopefully \0 won't be a
> > problem)
>
> Is there any need? I can't see that it would do any harm other than
> maybe messing up some query output - and the solution would be 'don't
> do that then' :-)
I worry about log_line_prefix expansion with an unexpected newline. I'm
not sure "don't do that" is a good enough answer because you might be
dealing with uncooperative application writers :-(
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2009-10-13 15:34:29 | Re: Client application name |
| Previous Message | Dave Page | 2009-10-13 15:20:18 | Re: Client application name |