I’m slowly moving from MSSQL to PostgreSQL.
In MSSQL I could call editing of already saved procedure or function, and the administration shell (SQL Server Management Studio) showed me procedure’s text, so I did not have to store its source code somewhere in text file.
How to do the same with PostgreSQL the convenient way? I’m using pgAdmin III.
There’re 2 clients included in the official distributions of Postgres – the CLI one
psqland a GUI onepgAdmin. Both support what you want: forpsqlit’s\efand forpgAdmin– right-click on function, “Properties”, “Code” tab.