KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> wrote:
> > creating template1 database in
> > /home/postgres/pg_releases/pgsql/src/test/regress/./tmp_check/data/base/1
> > ... TRAP: FailedAssertion("!(reln->md_fd[forkNum] == ((void *)0))",
> > File: "md.c", Line: 254)
> > child process was terminated by signal 6: Aborted
>
> I could not reproduce it.
I had the same trap before when I mistakenly used duplicated oids.
Don't you add a new catalog with existing oids?
src/include/catalog/duplicate_oids might be a help.
Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center