* by PostgreSQL
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.424 2005/12/03 21:06:18 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.425 2006/01/06 19:08:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* ordinary type because that would bring the table up into the
* datatype part of the dump order.)
*/
- if (OidIsValid(tinfo[i].typrelid) && tinfo[i].typrelkind != 'c')
+ if (OidIsValid(tinfo[i].typrelid) &&
+ tinfo[i].typrelkind != RELKIND_COMPOSITE_TYPE)
tinfo[i].dobj.objType = DO_TABLE_TYPE;
/*
/* skip complex types, except for standalone composite types */
/* (note: this test should now be unnecessary) */
- if (OidIsValid(tinfo->typrelid) && tinfo->typrelkind != 'c')
+ if (OidIsValid(tinfo->typrelid) &&
+ tinfo->typrelkind != RELKIND_COMPOSITE_TYPE)
return;
/* skip undefined placeholder types */