Re: Underscores not visible in the output of SQL Query (SQLGrid)

From: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Underscores not visible in the output of SQL Query (SQLGrid)
Date: 2012-02-06 10:47:38
Message-ID: CA+RD+khXXKuO5vnKvU=qvR_446rruwhAA-LRPa9kkz7T1U91og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Feb 1, 2012 at 7:38 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Wed, Feb 1, 2012 at 1:12 PM, Sachin Srivastava
> <sachin(dot)srivastava(at)enterprisedb(dot)com> wrote:
> >
> > On Feb 1, 2012, at 4:39 PM, Dave Page wrote:
> >
> >> On Tue, Jan 31, 2012 at 9:42 AM, Sachin Srivastava
> >> <sachin(dot)srivastava(at)enterprisedb(dot)com> wrote:
> >>> Hi all,
> >>>
> >>> If you execute a query in the query browser and the result contains
> >>> underscores like "A_B", then the '_' is not visible in the result.
> >>>
> >>> Example query: SELECT relname FROM pg_class ORDER BY relname LIMIT 5;
> >>>
> >>> The following patch fixes it.
> >>
> >> Hi,
> >>
> >> I see them just fine on Mac. Is this platform or even font-specific?
> >
> > I have seen this on Windows 7 (32 bit) and Windows Server 2008 (64 bit),
> with default font, though I have verified it on CentOS 5 (32 bit) and the
> issues is not there. So i guess its a Windows specific issue.
>
> Hi
>
> Can you please test with non-standard font sizes, and adjust the patch
> accordingly so it only affect Windows if necessary.
>

I have tested with different fonts and the issue comes with Microsoft Sans
Serif, Courier New, Times New Roman (and some more) with size 9. If i
increase the font size to 10. It displays fine.

So can we treat it as non-issue?

>
> Thanks.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
Regards,
Sachin Srivastava
EnterpriseDB, India

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-02-06 10:49:06 Re: Underscores not visible in the output of SQL Query (SQLGrid)
Previous Message Dave Page 2012-02-03 07:56:03 Re: PATCH: Static build for pgAgent fails - if PostgreSQL built with ldap support