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