diff options
| author | Bruce Momjian | 1997-09-05 00:09:47 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1997-09-05 00:09:47 +0000 |
| commit | 868d708188edf188ef3a5254298c24857a255093 (patch) | |
| tree | d1d4b12435b0032bba0dbced6e791169fb8f4718 /src/interfaces | |
| parent | b45311e016ce95f2177bbe5e87f1f4564ec99219 (diff) | |
Add // comments.
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/libpq/fe-connect.c | 26 | ||||
| -rw-r--r-- | src/interfaces/libpq/fe-exec.c | 12 |
2 files changed, 19 insertions, 19 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 3c5abd9c8ff..cb9b10d8704 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.37 1997/06/06 01:42:02 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.38 1997/09/05 00:09:43 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -423,14 +423,14 @@ connectDB(PGconn *conn) int portno; /* - // - // Initialize the startup packet. - // - // This data structure is used for the seq-packet protocol. It - // describes the frontend-backend connection. - // - // - */ + * + * Initialize the startup packet. + * + * This data structure is used for the seq-packet protocol. It + * describes the frontend-backend connection. + * + * + */ strncpy(startup.user,conn->pguser,sizeof(startup.user)); strncpy(startup.database,conn->dbName,sizeof(startup.database)); strncpy(startup.tty,conn->pgtty,sizeof(startup.tty)); @@ -442,10 +442,10 @@ connectDB(PGconn *conn) startup.execFile[0]='\0'; /* not used */ /* - // - // Open a connection to postmaster/backend. - // - */ + * + * Open a connection to postmaster/backend. + * + */ port = (Port *) malloc(sizeof(Port)); memset((char *) port, 0, sizeof(Port)); diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 97543a05d15..771e8c66e2b 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.34 1997/08/27 09:05:23 vadim Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.35 1997/09/05 00:09:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -436,11 +436,11 @@ process_response_from_backend(FILE *pfin, FILE *pfout, FILE *pfdebug, done = true; } else { /* - // since backend may produce more than one result for some - // commands need to poll until clear - // send an empty query down, and keep reading out of the pipe - // until an 'I' is received. - */ + * since backend may produce more than one result for some + * commands need to poll until clear + * send an empty query down, and keep reading out of the pipe + * until an 'I' is received. + */ pqPuts("Q ", pfout, pfdebug); /* send an empty query */ /* * Increment a flag and process messages in the usual way because |
