Sha256: ac1924e6379862618ac82a01442081901e15266bfc472cfdb8a0e217a7d9e2fd

Contents?: true

Size: 1.15 KB

Versions: 12

Compression:

Stored size: 1.15 KB

Contents

/*-------------------------------------------------------------------------
 *
 * pgpool_adm.h
 *
 *
 * Copyright (c) 2002-2011, PostgreSQL Global Development Group
 *
 * Author: Jehan-Guillaume (ioguix) de Rorthais <jgdr@dalibo.com>
 *
 * IDENTIFICATION
 *	  contrib/pgpool_adm/pgpool_adm.h
 *
 *-------------------------------------------------------------------------
 */

#ifndef PGPOOL_ADM_H
#define PGPOOL_ADM_H

PG_MODULE_MAGIC;

typedef struct {
    char * host;
	int16 timeout;
	int16 port;
	char * user;
	char * pass;
} pcpConninfo;

void init_pcp_conninfo(pcpConninfo * pcp_conninfo);
void check_pcp_conninfo_props(pcpConninfo * pcp_conninfo);
int pcp_connect_conninfo(pcpConninfo * pcp_conninfo);
pcpConninfo get_pcp_conninfo_from_foreign_server(char * name);

Datum _pcp_node_info(PG_FUNCTION_ARGS);
Datum _pcp_pool_status(PG_FUNCTION_ARGS);
Datum _pcp_node_count(PG_FUNCTION_ARGS);
Datum _pcp_attach_node(PG_FUNCTION_ARGS);
Datum _pcp_detach_node(PG_FUNCTION_ARGS);

PG_FUNCTION_INFO_V1(_pcp_node_info);
PG_FUNCTION_INFO_V1(_pcp_pool_status);
PG_FUNCTION_INFO_V1(_pcp_node_count);
PG_FUNCTION_INFO_V1(_pcp_attach_node);
PG_FUNCTION_INFO_V1(_pcp_detach_node);

#endif

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
prestogres-0.4.8 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.7 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.6 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.5 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.4 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.3 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.2 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.1 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.4.0 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.3.0 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.2.0 pgpool2/pgpool_adm/pgpool_adm.h
prestogres-0.1.0 pgpool2/pgpool_adm/pgpool_adm.h