mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Clean up some messages and fix missing translation support. Option --log
renamed to --log-file for clarity.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.125 2005/10/02 23:50:10 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.126 2005/10/04 19:01:18 petere Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "describe.h"
|
||||
@ -1176,13 +1176,13 @@ describeOneTableDetails(const char *schemaname,
|
||||
{
|
||||
appendPQExpBuffer(&buf, ", ");
|
||||
appendPQExpBuffer(&buf, tmpbuf.data);
|
||||
|
||||
|
||||
count_footers -= 2;
|
||||
}
|
||||
else
|
||||
count_footers -= 1;
|
||||
termPQExpBuffer(&tmpbuf);
|
||||
|
||||
|
||||
footers[count_footers++] = pg_strdup(buf.data);
|
||||
}
|
||||
}
|
||||
@ -1365,15 +1365,15 @@ add_tablespace_footer(char relkind, Oid tablespace, char **footers,
|
||||
printfPQExpBuffer(&buf,
|
||||
newline?_("Tablespace: \"%s\""):_("tablespace \"%s\""),
|
||||
PQgetvalue(result1, 0, 0));
|
||||
|
||||
|
||||
footers[(*count)++] = pg_strdup(buf.data);
|
||||
}
|
||||
PQclear(result1);
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user