3
3
*
4
4
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
5
5
*
6
- * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.109 2004/11/05 19:16:21 tgl Exp $
6
+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.110 2004/11/09 14:39:43 petere Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
#include "describe.h"
@@ -1149,9 +1149,9 @@ describeOneTableDetails(const char *schemaname,
1149
1149
/* Label as primary key or unique (but not both) */
1150
1150
appendPQExpBuffer (& buf ,
1151
1151
strcmp (PQgetvalue (result1 , i , 1 ), "t" ) == 0
1152
- ? _ ( " PRIMARY KEY," ) :
1152
+ ? " PRIMARY KEY," :
1153
1153
(strcmp (PQgetvalue (result1 , i , 2 ), "t" ) == 0
1154
- ? _ ( " UNIQUE," )
1154
+ ? " UNIQUE,"
1155
1155
: "" ));
1156
1156
/* Everything after "USING" is echoed verbatim */
1157
1157
indexdef = PQgetvalue (result1 , i , 4 );
@@ -1162,7 +1162,7 @@ describeOneTableDetails(const char *schemaname,
1162
1162
appendPQExpBuffer (& buf , " %s" , indexdef );
1163
1163
1164
1164
if (strcmp (PQgetvalue (result1 , i , 3 ), "t" ) == 0 )
1165
- appendPQExpBuffer (& buf , _ ( " CLUSTER" ) );
1165
+ appendPQExpBuffer (& buf , " CLUSTER" );
1166
1166
1167
1167
footers [count_footers ++ ] = pg_strdup (buf .data );
1168
1168
}
@@ -1388,7 +1388,7 @@ describeUsers(const char *pattern)
1388
1388
return false;
1389
1389
1390
1390
myopt .nullPrint = NULL ;
1391
- myopt .title = _ ("List of database users" );
1391
+ myopt .title = _ ("List of users" );
1392
1392
1393
1393
printQuery (res , & myopt , pset .queryFout );
1394
1394
@@ -1428,7 +1428,7 @@ describeGroups(const char *pattern)
1428
1428
return false;
1429
1429
1430
1430
myopt .nullPrint = NULL ;
1431
- myopt .title = _ ("List of database groups" );
1431
+ myopt .title = _ ("List of groups" );
1432
1432
1433
1433
printQuery (res , & myopt , pset .queryFout );
1434
1434
0 commit comments