Difference between revisions of "CREATE"
Jump to navigation
Jump to search
↑ https://www.postgresql.org/docs/15/ddl-schemas.html#DDL-SCHEMAS-PATTERNS
Line 1: | Line 1: | ||
− | * [[CREATE DATABASE]] | + | * <code>[[CREATE DATABASE]]</code> |
− | * [[CREATE USER]] | + | * <code>[[CREATE USER]]</code> |
− | * [[CREATE SCHEMA]] | + | * <code>[[CREATE SCHEMA]]</code> |
− | * [[CREATE TABLE]] | + | * <code>[[CREATE TABLE]]</code> |
− | * [[CREATE VIEW]] | + | * <code>[[CREATE VIEW]]</code> |
− | * [[CREATE EXTENSION]]: | + | * <code>[[CREATE EXTENSION]]: [[pg_stat_statements]], [[uuid-ossp]], [[timescaledb]]</code> |
Revision as of 11:54, 11 May 2023
CREATE DATABASE
CREATE USER
CREATE SCHEMA
CREATE TABLE
CREATE VIEW
CREATE EXTENSION: pg_stat_statements, uuid-ossp, timescaledb
News
- Oct 2022 PostgreSQL 15, revokes the CREATE permission from all users except a database owner from the public (or default) schema [1]
Related
See also
- PostgreSQL:
psql
,.psqlrc, .pgpass
,$HOME/.pg service.conf
,-U, -W, -d
, meta-commands:\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
,show users
,show
,su - postgres
,psql -c, \?, \connect, \conninfo
,--version, --help
, PL/pgSQL - SQL, NewSQL, RDMS: GraphQL (2015), SQLite,
select, insert
,select count
, Distributed SQL, TablePlus, Cache hit ratio,pg_stat_user_tables
,EXPLAIN
, Index (PostgreSQL), DDL, SQL/MED, Group by, List users, SQL Injection, SQLAlchemy,CREATE USER, CREATE ROLE, EXPLAIN, ALTER DATABASE, REVOKE, NOLOCK, NOWAIT, EXISTS
, Unique constraint,.sql
Advertising: