Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf523f9

Browse files
committed
Add comment about literal strings in our syntax not being translated in
psql.
1 parente39a3df commitbf523f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/describe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
1010
*
11-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.178 2008/07/1422:51:48 momjian Exp $
11+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.179 2008/07/1423:13:04 momjian Exp $
1212
*/
1313
#include"postgres_fe.h"
1414

@@ -1007,6 +1007,7 @@ describeOneTableDetails(const char *schemaname,
10071007
if (verbose)
10081008
{
10091009
char*storage=PQgetvalue(res,i,5);
1010+
/* these strings are literal in our syntax, so not translated. */
10101011
printTableAddCell(&cont, (storage[0]=='p' ?"plain" :
10111012
(storage[0]=='m' ?"main" :
10121013
(storage[0]=='x' ?"extended" :

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp