Skip to content

Commit 7d8578a

Browse files
committed
Clarify some strings
1 parent ea182a9 commit 7d8578a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/bin/psql/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.133 2004/11/06 17:56:40 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.134 2004/11/09 14:39:43 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "command.h"
@@ -1145,7 +1145,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf)
11451145
ret = GetTempPath(MAXPGPATH, tmpdir);
11461146
if (ret == 0 || ret > MAXPGPATH)
11471147
{
1148-
psql_error("Can not locate temporary directory: %s",
1148+
psql_error("cannot locate temporary directory: %s",
11491149
!ret ? strerror(errno) : "");
11501150
return false;
11511151
}

src/bin/psql/describe.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
55
*
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 $
77
*/
88
#include "postgres_fe.h"
99
#include "describe.h"
@@ -1149,9 +1149,9 @@ describeOneTableDetails(const char *schemaname,
11491149
/* Label as primary key or unique (but not both) */
11501150
appendPQExpBuffer(&buf,
11511151
strcmp(PQgetvalue(result1, i, 1), "t") == 0
1152-
? _(" PRIMARY KEY,") :
1152+
? " PRIMARY KEY," :
11531153
(strcmp(PQgetvalue(result1, i, 2), "t") == 0
1154-
? _(" UNIQUE,")
1154+
? " UNIQUE,"
11551155
: ""));
11561156
/* Everything after "USING" is echoed verbatim */
11571157
indexdef = PQgetvalue(result1, i, 4);
@@ -1162,7 +1162,7 @@ describeOneTableDetails(const char *schemaname,
11621162
appendPQExpBuffer(&buf, " %s", indexdef);
11631163

11641164
if (strcmp(PQgetvalue(result1, i, 3), "t") == 0)
1165-
appendPQExpBuffer(&buf, _(" CLUSTER"));
1165+
appendPQExpBuffer(&buf, " CLUSTER");
11661166

11671167
footers[count_footers++] = pg_strdup(buf.data);
11681168
}
@@ -1388,7 +1388,7 @@ describeUsers(const char *pattern)
13881388
return false;
13891389

13901390
myopt.nullPrint = NULL;
1391-
myopt.title = _("List of database users");
1391+
myopt.title = _("List of users");
13921392

13931393
printQuery(res, &myopt, pset.queryFout);
13941394

@@ -1428,7 +1428,7 @@ describeGroups(const char *pattern)
14281428
return false;
14291429

14301430
myopt.nullPrint = NULL;
1431-
myopt.title = _("List of database groups");
1431+
myopt.title = _("List of groups");
14321432

14331433
printQuery(res, &myopt, pset.queryFout);
14341434

src/bin/psql/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.95 2004/10/12 21:54:44 petere Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.96 2004/11/09 14:39:44 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "common.h"
@@ -250,7 +250,7 @@ slashUsage(unsigned short int pager)
250250
fprintf(output, _("Copy, Large Object\n"));
251251
fprintf(output, _(" \\copy ... perform SQL COPY with data stream to the client host\n"));
252252
fprintf(output, _(" \\lo_export LOBOID FILE\n"
253-
" \\lo_import FILE [COMMENT] \n"
253+
" \\lo_import FILE [COMMENT]\n"
254254
" \\lo_list\n"
255255
" \\lo_unlink LOBOID large object operations\n"));
256256

0 commit comments

Comments
 (0)