With SQL Server, I can execute code ad hoc T-SQL code with full procedural logic through SQL Server Management Studio, or any other client. I\'ve begun working with PostgreSQL a
No, not yet. Version 9.0 (still alpha) will have this option (do), you a have to wait until it's released.