diff --git a/src/protocol/child.c b/src/protocol/child.c index 07acfc6..c8af7f8 100644 --- a/src/protocol/child.c +++ b/src/protocol/child.c @@ -2317,6 +2317,20 @@ retry_startup: goto retry_startup; } + /* GSSAPI? */ + if (sp->major == 1234 && sp->minor == 5680) + { + ereport(DEBUG1, + (errmsg("selecting backend connection"), + errdetail("GSSAPI request from client"))); + + /* sorry, Pgpool-II does not support GSSAPI yet */ + pool_write_and_flush(frontend, "N", 1); + + pool_free_startup_packet(sp); + goto retry_startup; + } + frontend->protoVersion = sp->major; frontend->database = pstrdup(sp->database); frontend->username = pstrdup(sp->user);