mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Get rid of the last few uses of typeidTypeName() rather than
format_type_be() in error messages.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.13 2002/05/12 23:43:02 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.14 2002/05/17 22:35:12 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -548,7 +548,7 @@ MergeAttributes(List *schema, List *supers, bool istemp,
|
||||
elog(ERROR, "CREATE TABLE: inherited attribute \"%s\" type conflict (%s and %s)",
|
||||
attributeName,
|
||||
TypeNameToString(def->typename),
|
||||
typeidTypeName(attribute->atttypid));
|
||||
format_type_be(attribute->atttypid));
|
||||
/* Merge of NOT NULL constraints = OR 'em together */
|
||||
def->is_not_null |= attribute->attnotnull;
|
||||
/* Default and other constraints are handled below */
|
||||
|
Reference in New Issue
Block a user