RDS PostgreSQL

Template Database

2024-05-27 02:51:58

Application Scenarios

This section describes how to create a database from a template database.

Practice

The RDS-PostgreSQL database has template0 and template1 by default.

             When using template0, you can specify the character set and localize the collate property.

             When using template1 to create a database, you cannot specify a new character set and localize the collate property.

create database dbname with template template1;


0F8aBzzpDQ8d