mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Add // comments.
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user