Using a Custom Protocol

This version of the Pivotal Greenplum documentation is no longer actively maintained. Click here to view the most up-to-date version of the Greenplum 4.x documentation.

Using a Custom Protocol

A custom protocol allows you to connect Greenplum Database to a data source that cannot be accessed with the file://, gpfdist://, or gphdfs:// protocols.

Creating a custom protocol requires that you implement a set of C functions with specified interfaces, declare the functions in Greenplum Database, and then use the CREATE TRUSTED PROTOCOL command to enable the protocol in the database.

See Example Custom Data Access Protocol for an example.