Search Postgresql Archives

Re: print command in sproc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007/10/30, Jorge Godoy <jgodoy@xxxxxxxxx>:> Em Tuesday 23 October 2007 07:17:53 Goboxe escreveu:> > Hi,> >> > What is the equivalent MSSQL 'print' command in pg sproc?>> What does the MSSQL 'print' command "prints"?
It prints what you tell it to print :)
Goboxe: The key question is, what you need 'print' for?
For PL/PgSQL debugging, use RAISE NOTICE - or write your own logging functions
If you are using psql, and just want to emit some static text - use '\echo'
HTH.


-- Filip Rembiałkowski
---------------------------(end of broadcast)---------------------------TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux