Thomas,
> What do you think about it? Do you think it makes sense to implement
> this security feature in PostgreSQL as well? If not why not? Does
> PostgreSQL have another solution or plan to solve the SQL injection
> problem?
Have you seen Meredith's libdejector?
http://sourceforge.net/projects/libdejector
--Josh Berkus