func (pc PostgresConfig) ConnectionInfo() string {
	if pc.Password == "" {
		return fmt.Sprintf("host=%s port=%d user=%s dbname=%s "+
			"sslmode=disable", pc.Host, pc.Port, pc.User, pc.Name)
	}
	return fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s "+
		"sslmode=disable", pc.Host, pc.Port, pc.User, pc.Password, pc.Name)
}
// ConnectionInfo prints out the connection line used for PostgreSQL
ConnectionInfo prints out the connection line used for PostgreSQL
// ConnectionInfo prints out the connection line used for PostgreSQL
func (pc PostgresConfig) ConnectionInfo() string {
	if pc.Password == "" {
		return fmt.Sprintf("host=%s port=%d user=%s dbname=%s "+
			"sslmode=disable", pc.Host, pc.Port, pc.User, pc.Name)
	}
	return fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s "+
		"sslmode=disable", pc.Host, pc.Port, pc.User, pc.Password, pc.Name)
}
func ( pc PostgresConfig ) ConnectionInfo ( ) string { if pc . Password == " " { return fmt . Sprintf ( " " + " " , pc . Host , pc . Port , pc . User , pc . Name ) } return fmt . Sprintf ( " " + " " , pc . Host , pc . Port , pc . User , pc . Password , pc . Name ) }
ConnectionInfo prints out the connection line used for PostgreSQL
ConnectionInfo prints out the connection line used for PostgreSQL