Robert Haas wrote:
> I'm actually no big advocate of the \d commands. They're basically
> magical queries that you can't easily see or edit - I've more than
> once wished for a WHERE clause (\df WHERE "Result data type" =
> 'internal' or what have you.
>
You *can* easily see them, at least. Run "psql -E" or inside psql do
"\set ECHO_HIDDEN"
cheers
andrew