Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> writes:
> Do you have an implementation in mind? I'm having trouble coming up with
> a way to do it cleanly.
A psql \set variable to choose the behavior seems like a reasonable
compromise. Perhaps it could list the \d commands that should include
system objects by default --- that would give considerable customization
flexibility.
regards, tom lane