comment doesn't match code - Mailing list pgsql-hackers

From Robert Haas
Subject comment doesn't match code
Date
Msg-id CA+TgmoawJb7YKsoNTwr=uCDi9Cd=f4SFFs=YAVK1fY39Dh7Uyg@mail.gmail.com
Whole thread Raw
Responses Re: comment doesn't match code  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
/** ALTER TABLE INHERIT** Add a parent to the child's parents. This verifies that all the columns and* check
constraintsof the parent appear in the child and that they have the* same data types and expressions.*/
 
static void
ATPrepAddInherit(Relation child_rel)
{   if (child_rel->rd_rel->reloftype)       ereport(ERROR,               (errcode(ERRCODE_WRONG_OBJECT_TYPE),
    errmsg("cannot change inheritance of typed table")));
 
}

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Missing XLOG_DEBUG check in AdvanceXLInsertBuffer()?
Next
From: Kouhei Kaigai
Date:
Subject: Re: [idea] table partition + hash join