PGFS SQL in Pipelines

Note

This feature is available in EDB Postgres AI - AI Accelerator Pipelines. We recommend that you use the PGFS functions to configure a storage location.

Using PGFS with SQL

Using the CREATE SERVER command

You can use the CREATE SERVER command to create a server object that connects to the storage location. You can then create a foreign table that's associated with the server.

This example creates a server object that connects to an S3-compatible bucket:

CREATE SERVER my_server FOREIGN DATA WRAPPER pgfs OPTIONS (url 's3://my_bucket');

Options and credentials

You can pass options and credentials to the storage locations. The options and credentials are specific to the type of storage location you're using.

Local file storage

How to use Pipelines PGFS with local file storage.

S3 storage

PGFS options and credentials with S3-compatible storage.


Could this page be better? Report a problem or suggest an addition!