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

Commit27e8ef0

Browse files
committed
AcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably
my fault. Adding it fixes bogus message display when reading a blockcomment at the end of a script file.
1 parent934c213 commit27e8ef0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.76 2003/10/06 01:11:12 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.77 2003/11/12 22:53:16 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"common.h"
@@ -332,6 +332,7 @@ AcceptResult(const PGresult *result)
332332
{
333333
casePGRES_COMMAND_OK:
334334
casePGRES_TUPLES_OK:
335+
casePGRES_EMPTY_QUERY:
335336
casePGRES_COPY_IN:
336337
/* Fine, do nothing */
337338
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp