Only the owner of the table can grant the table access rights to the user.
When executed with the -s option, the superuser privilege is granted to the new user.
Connect to database as administrator user in psql, select pg_start_backup ('label');
After that, make a physical copy of the database cluster with the tar command.
In order to execute the COPY statement, the database administrator authority is required.
Holds various information about objects in the database.
It is defined as a view in the schema named information.
Content is equivalent to system catalog.
It can refer to the table test, but it can not update it.
When you create a new database with CREATE DATABASE, unless specified in the option, template0 is used as a template database.
To create a new template database called template2, add the TEMPLATE option when executing the CREATE DATABASE command.
By default, no users can connect to the template database template0.
Only one database cluster can be created on one server.
Different versions of PostgreSQL server can be used for each database in the database cluster.
1 | 2
© EDUCO (General Incorporated Association Educo) all rights reserved.