Joel Burton <jburton(at)scw(dot)org> writes:> Is there a way to get what the default value for a field would be when a> new record is added?
pg_attrdef is it. Sorry it's not pretty enough for you ...
regards, tom lane