pgx_inference
fujitsu_enterprise_postgres · Fujitsu database-managed ONNX model inference
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102106 | pgx_inference | fujitsu_enterprise_postgres | 1.0 | RAG | Unknown |
PostgreSQL · 18
Usage
Sources:
pgx_inference 1.0 in Fujitsu Enterprise Postgres 18 manages ONNX text-embedding pipeline models and executes them through Triton on the database host. Models must satisfy the vendor’s input/output and operator requirements.
Core Workflow
Configure Triton, model paths, gRPC/TLS and worker capacity first. Add pgx_inference to shared_preload_libraries and restart. Enable the extension and start its load launcher as the extension owner:
Import a compatible model with the vendor pgx_aimodel_tool. For a model imported as sample-model-v1, request loading and inspect its status:
Loading is asynchronous. Once the model reports is_available = true, generate an embedding:
Operational Boundaries
Model import, loading, execution and schema access have separate privileges. Restrict Triton access with mTLS to enforce per-model access control. Backups must include large objects; unload models and confirm completion before deleting them. This feature requires the Fujitsu runtime.