File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.143 2010/01/02 16:58:11 momjian Exp $
10
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.144 2010/03/08 10:01:12 mha Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -426,6 +426,12 @@ pg_GSS_startup(PGconn *conn)
426
426
int maxlen ;
427
427
gss_buffer_desc temp_gbuf ;
428
428
429
+ if (!conn -> pghost )
430
+ {
431
+ printfPQExpBuffer (& conn -> errorMessage , libpq_gettext ("host name must be specified\n" ));
432
+ return STATUS_ERROR ;
433
+ }
434
+
429
435
if (conn -> gctx )
430
436
{
431
437
printfPQExpBuffer (& conn -> errorMessage ,
You can’t perform that action at this time.
0 commit comments