create database - Docs search results , p.4

20.11. Client Connection Defaults

database. If a nondefault tablespace is specified, the user must have CREATE privilege for it, or creation

5.9. Schemas

database you are connected to. So to create a table in the new schema, use: CREATE

Part III. Server Administration

Creating a Database Cluster 19.3. Starting the Database Server 19.4. Managing Kernel Resources 19.5. Shutting

psql

database roles. (Since the concepts of “ users ” and “ groups ” have been unified into “ roles ” , this command is now equivalent to \du .) By default, only user-created

pg_basebackup

database.) To create a backup of a local database where the tablespace in /opt/ts is relocated

20.5. Write Ahead Log

database will be thrown away and recreated, or for a read-only database clone which

GRANT

CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] } ON DATABASE database_name [, ...] TO role_specification [, ...] [ WITH GRANT

53.1. Overview

database creation and are thereafter database-specific. A few catalogs are physically shared across all databases

DROP DATABASE

DATABASE statement in the SQL standard. See Also CREATE DATABASE Prev   Up   Next DROP CONVERSION

53.8. pg_authid

create databases rolcanlogin bool Role can log in. That is, this role can be given

54.20. pg_roles

create databases rolcanlogin bool Role can log in. That is, this role can be given

54.33. pg_user

create databases usesuper bool User is a superuser userepl bool User can initiate streaming replication

1.4. Accessing a Database

Database # Once you have created a database, you can access it by: Running the PostgreSQL

CREATE SERVER

database. Creating a server requires USAGE privilege on the foreign-data wrapper being used. Parameters

55.2. Message Flow

CREATE DATABASE ) that cannot be executed inside a transaction block. If one of these is executed