From 927d61eeff78363ea3938c818d07e511ebaf75cf Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 10 Jun 2012 15:20:04 -0400 Subject: Run pgindent on 9.2 source tree in preparation for first 9.3 commit-fest. --- src/interfaces/libpq/fe-protocol2.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/interfaces/libpq/fe-protocol2.c') diff --git a/src/interfaces/libpq/fe-protocol2.c b/src/interfaces/libpq/fe-protocol2.c index 43f9954dd1c..8dbd6b69823 100644 --- a/src/interfaces/libpq/fe-protocol2.c +++ b/src/interfaces/libpq/fe-protocol2.c @@ -773,10 +773,11 @@ getRowDescriptions(PGconn *conn) goto set_error_result; advance_and_error: + /* - * Discard the failed message. Unfortunately we don't know for sure - * where the end is, so just throw away everything in the input buffer. - * This is not very desirable but it's the best we can do in protocol v2. + * Discard the failed message. Unfortunately we don't know for sure where + * the end is, so just throw away everything in the input buffer. This is + * not very desirable but it's the best we can do in protocol v2. */ conn->inStart = conn->inEnd; @@ -829,6 +830,7 @@ getAnotherTuple(PGconn *conn, bool binary) int nfields = result->numAttributes; const char *errmsg; PGdataValue *rowbuf; + /* the backend sends us a bitmap of which attributes are null */ char std_bitmap[64]; /* used unless it doesn't fit */ char *bitmap = std_bitmap; @@ -962,10 +964,11 @@ getAnotherTuple(PGconn *conn, bool binary) goto set_error_result; advance_and_error: + /* - * Discard the failed message. Unfortunately we don't know for sure - * where the end is, so just throw away everything in the input buffer. - * This is not very desirable but it's the best we can do in protocol v2. + * Discard the failed message. Unfortunately we don't know for sure where + * the end is, so just throw away everything in the input buffer. This is + * not very desirable but it's the best we can do in protocol v2. */ conn->inStart = conn->inEnd; -- cgit v1.2.3