Dave Page wrote: > The problem that I found was that if you update the comment on an > operator (a trivial task in pgAdmin which is what I was coding at the > time) it updates the comment on the underlying function - not so good as > the new comment may no longer make sense when read from the perspective > of the function. Of course, if the function can be used by different > operators or even for other uses, then this situation is more likely to > occur. > > Defaulting to the functions comment sounds OK, but I think an update > should be stored against the operators oid, not the functions.
Yes, agreed. Operator-specific comments are better, if that is what is specirfied by the user. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html