On Sun, Feb 17, 2013 at 10:28 AM, Sergey Gigoyan
<sergey.gigoyan@gmail.com> wrote:
> Is it possible return table (result set) and integer value from postgresql
> function (For example I want return table and row counts in that table )?
It is. Use the row_number() window function. More information by the link below.
http://www.postgresql.org/docs/9.2/static/functions-window.html
--
Sergey Konoplev
Database and Software Architect
http://www.linkedin.com/in/grayhemp
Phones:
USA +1 415 867 9984
Russia, Moscow +7 901 903 0499
Russia, Krasnodar +7 988 888 1979
Skype: gray-hemp
Jabber: gray.ru@gmail.com