mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Fix up some misusage of appendStringInfo() and friends
Change to appendStringInfoChar() or appendStringInfoString() where those can be used. Author: David Rowley <david.rowley@2ndquadrant.com> Reviewed-by: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
This commit is contained in:
@ -3458,8 +3458,8 @@ map_sql_type_to_xmlschema_type(Oid typeoid, int typmod)
|
||||
case BPCHAROID:
|
||||
case VARCHAROID:
|
||||
case TEXTOID:
|
||||
appendStringInfo(&result,
|
||||
" <xsd:restriction base=\"xsd:string\">\n");
|
||||
appendStringInfoString(&result,
|
||||
" <xsd:restriction base=\"xsd:string\">\n");
|
||||
if (typmod != -1)
|
||||
appendStringInfo(&result,
|
||||
" <xsd:maxLength value=\"%d\"/>\n",
|
||||
|
Reference in New Issue
Block a user