Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:> How can I know tables is inherited or no?
You have to look in pg_inherits. AFAIR psql has no \d command that willtell you anything about it.
regards, tom lane