| From: | Michal Kozusznik <kozusznik(dot)michal(at)ifortuna(dot)cz> |
|---|---|
| To: | "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org> |
| Subject: | MAC line ends strange issue |
| Date: | 2013-04-18 08:44:31 |
| Message-ID: | 516FB26F.8030003@ifortuna.cz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
Hello
Changing line ends cause replacing function delimiter tag ($BODY$ or
even $$) to single quote character.
How to reproduce:
Scenario 1
1. Make sure Line Ends are set to MAC (Query window, Edit > Line Ends > MAC)
2. Open some function in Editor (RMB > Scripts > Create Script)
3. Select whole source (CTRL+a) copy it to clip-board (CTRL+c or
CTRL+x), paste back (CTRL+v)
4. Send source to database
Scenario 2
1. Make sure Line Ends are NOT set to MAC
2. Open some function in Editor (RMB > Scripts > Create Script)
3. Change Line Ends to MAC (Query window, Edit > Line Ends > MAC)
4. Send the source do database
See pictures bellow:
original source:
Modified source:
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2013-04-18 13:01:50 | create database select wrong (longer) user name |
| Previous Message | Farley Carter | 2013-04-17 14:56:45 | Date column types |