1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Remove typeTypeFlag(), which was not only unused but entirely redundant

with typeTypType().
This commit is contained in:
Tom Lane
2004-06-03 19:41:46 +00:00
parent 238dc4634f
commit 2a22750c96
2 changed files with 2 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.67 2004/05/30 23:40:35 neilc Exp $
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.68 2004/06/03 19:41:46 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -313,16 +313,6 @@ typeTypeName(Type t)
return pstrdup(NameStr(typ->typname));
}
/* given a type, return its typetype ('c' for 'c'atalog types) */
char
typeTypeFlag(Type t)
{
Form_pg_type typ;
typ = (Form_pg_type) GETSTRUCT(t);
return typ->typtype;
}
Oid
typeTypeRelid(Type typ)
{