Re: v.1.6.2: issue with truncated column comments.

From: Dave Page <dpage(at)postgresql(dot)org>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: v.1.6.2: issue with truncated column comments.
Date: 2007-01-09 09:47:02
Message-ID: 45A36496.6000002@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Erwin Brandstetter wrote:
> Hi developers! Hi Dave!
>
> Testing pgAdmin III v1.6.2 rev: 5837, client Win XP. Host Debian Sarge,
> PG 8.1.4.
>
> While having a look at the new release, I think I found an issue with
> truncated column comments. It seemed quite random at first, I guess I
> have figured it out, though:
>
> If the comment includes a windows-style linebreak (CR+LF), the appended
> dots end up in a new line. The generated script is not executable
> without syntax error.
> Does not happen with Linx-style linebreak (LF). Not tested with
> Max-style (CR).
> Show-case appended.
> Sorry I did not report earlier, I did not have access to a windows build
> before release, though.

A while after that original fix, I did a similar one for some other
properties in which I wrote a function to do the job, which did check
for \r\n before assuming \n. I thought I updated the comment code to use
it as well but clearly I forgot :-(

Should be OK now though.

> On a sidenote: appending ' ..' (a blank and 2 or 3 dots) might look
> cleaner than '...' (3 dots, no blank).

I prefer '...' to be honest.

Regards, Dave.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andy Shellam (Mailing Lists) 2007-01-09 09:59:07 Re: v.1.6.2: issue with truncated column comments.
Previous Message Dave Page 2007-01-09 09:20:20 Re: SQL Window's Title