Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7260ad7

Browse files
committed
Fix for \d index display.
1 parent a1627a1 commit 7260ad7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/psql/psql.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.150 1998/08/04 18:29:41 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.151 1998/08/05 16:23:40 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -782,9 +782,9 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
782782
*/
783783

784784
if (nIndices == 1)
785-
fprintf(fout, "Indices: ");
785+
fprintf(fout, "Index: ");
786786
else
787-
fprintf(fout, "Index: ");
787+
fprintf(fout, "Indices: ");
788788

789789
/* next, print out the instances */
790790
for (i = 0; i < PQntuples(res); i++)

0 commit comments

Comments
 (0)