![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#3
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#4
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#5
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#6
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#7
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#8
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#9
| |||
| |||
|
|
Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? |
#10
| |||
| |||
|
|
Coniglio Sgabbiato <nobody (AT) nowhere (DOT) it> wrote: Hi all, I am new to Postgres and now I am doing some programming in pl/pgsql. At this moment I am wirting procedures with a text editor and pasting them on psql commandline via putty (with the annoyance that you cannot paste more than a certain amount of text, so I have to slice them). Since I use and enjoy Vim directly from the server vis ssh, I wish to know if there is a way to create/edit pl/pgsql procedures directly from Vim. Dou you have a tip? You can use vim and store your function into a regular file. After that, within psql, you can read that file with \i <your_file>. Other way, within psql, you can use \e to edit the current query buffer with your $EDITOR. Andreas |
![]() |
| Thread Tools | |
| Display Modes | |
| |