postgresql_16:5.3.14.2 CONNECT
PostgreSQL 16 > Client Interfaces > ECPG — Embedded SQL in C > Embedded SQL Commands > CONNECT
establish a database connection
CONNECT TO connection_target [ AS connection_name ] [ USER connection_user ] CONNECT TO DEFAULT CONNECT connection_user DATABASE connection_target
CONNECT TO connection_target [ AS connection_name ] [ USER connection_user ] CONNECT TO DEFAULT CONNECT connection_user DATABASE connection_target
Subsections
- postgresql_16:5.3.14.2.1 Description
- postgresql_16:5.3.14.2.2 Parameters
- postgresql_16:5.3.14.2.3 Examples
- postgresql_16:5.3.14.2.4 Compatibility
- postgresql_16:5.3.14.2.5 See Also