Re: CRLF - sqlpane vs Query window

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Michal Kozusznik <kozusznik(dot)michal(at)ifortuna(dot)cz>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: CRLF - sqlpane vs Query window
Date: 2012-12-24 15:30:03
Message-ID: 1356363003.2000.36.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Tue, 2012-10-16 at 15:23 +0200, Michal Kozusznik wrote:
> It's about copy&paste feature. If I copy DDL from pgadmin and paste to
> another program (for example notpad) result is differ depending on from
> which place I copied the source.
>
> How to reproduce:
> Windows7 64bit
>
> Attempt 1
> - select a table or function or whatever else in Object browser
> - select DDL in SQL pane and copy to clipboard (CTRL+c)
> - paste to notepad
> Result: text is unwrapped into single line (end of lines missing)
>
> Attempt 2
> - select a table or function or whatever else in Object browser
> - right click on this, select Scripts/Create script - Query window will open
> - select DDL from window and copy to clipboard (CTRL+c)
> - paste to notepad
> Result: text is pasted correctly
>

What are your setting for line ending style? (see query tool, edit menu,
"line ends" item) is it DOS, Unix, or Mac?

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Evan Martin 2012-12-25 07:38:02 Re: See full query text in Server Status window
Previous Message Guillaume Lelarge 2012-12-24 15:20:55 Re: setting "default privileges" only allows to choose "public"