Installation
How to install and set up Swig
Installation
Prerequisites
- Go 1.23 or later
- PostgreSQL 15 or later
Installation
Database Setup
Swig requires a PostgreSQL database to store job information. It will automatically create the necessary swig_jobs
table if it doesn't already exist.
The table schema is as follows. You typically do not need to interact with this table directly.
Choose Your Driver
Swig supports two PostgreSQL driver implementations:
Benefits:
- Better performance
- Native LISTEN/NOTIFY support
- Real-time job notifications
Next Steps
- Configuration - Learn how to configure Swig for your needs
- Examples - See practical examples of using Swig
- API Reference - Detailed API documentation