RE: [QUESTIONS] The Complete and Ccomprehensive list of Newbie qu estion
Jackson, DeJuan <djackson@cpsgroup.com>
From: "Jackson, DeJuan" <djackson@cpsgroup.com>
To: PostgreSQL Hackers Mailing List <pgsql-hackers@hub.org>
Cc: PostgreSQL Questions Mailing List <pgsql-questions@postgreSQL.org>
Date: 1998-03-17T01:41:38Z
Lists: pgsql-hackers
Is this possible? Or is it already being done? <a lot snipped> > > > How do you assign function to your objects? <snip> > I don't know if tying functions to classes has been added > to the TO-DO list. You may want to post to the hacker list and > suggest > it. > Access to the function would then be gained by calling them through the class. (i.e. select EMP.totalPeople();, or update CORPEMP set CORPEMP.totals = DIVEMP.totalPeople();) Just an OO thought. (*ahhhh* It's that concurrency/data-hiding/coupling thing again.) Then one could disallow select/update on a table but all execute on specific functions. I do realize that this can be accomplished through triggers, but this has other potentials...