Search Postgresql Archives

Re: rules and command status question

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

 



Josh Harrison escribió:
> Hello,
> I have a question in the postgres document chapter 34. Rules and Command
> Status.
> The last paragraph of that page says that
> 
> "The programmer can ensure that any desired INSTEAD rule is the one that
> sets the command status in the second case, by giving it the alphabetically
> last rule name among the active rules, so that it gets applied last."
> 
> Can someone help me understand what this means. How can I change my INSERT
> ...INSTEAD rule so that query returns the number of rows inserted ( instead
> of 0 rows inserted).

You can't.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---------------------------(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