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
with regards