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

Commit3d62fbc

Browse files
committed
squished \dS+ bug pointed out by Mike Mascari
1 parentbfabd4f commit3d62fbc

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎src/bin/psql/command.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.30 2000/04/1615:46:40 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.31 2000/04/1620:04:50 petere Exp $
77
*/
88
#include"postgres.h"
99
#include"command.h"
@@ -306,9 +306,6 @@ exec_command(const char *cmd,
306306
case'i':
307307
case's':
308308
case'S':
309-
if (cmd[1]=='S'&&cmd[2]=='\0')
310-
success=listTables("Stvs",NULL,show_verbose);
311-
else
312309
success=listTables(&cmd[1],name,show_verbose);
313310
break;
314311
default:

‎src/bin/psql/describe.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.20 2000/04/1615:46:40 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.21 2000/04/1620:04:51 petere Exp $
77
*/
88
#include"postgres.h"
99
#include"describe.h"
@@ -973,6 +973,10 @@ listTables(const char *infotype, const char *name, bool desc)
973973
PGresult*res;
974974
printQueryOptmyopt=pset.popt;
975975

976+
if (showSystem&& !(showSeq||showIndices||showViews||showTables))
977+
showTables=showViews=showSeq= true;
978+
979+
976980
buf[0]='\0';
977981

978982
/* tables */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp