LH
какое у него значение по умолчанию?
Size: a a a
LH
YS
UPDATE events SET transactionid=@tids, value3=@val3, comment='_ATZ'||comment WHERE uid=@uid;
UPDATE transactions SET refillid=@rids WHERE uid=ANY(@tids)
LH
LH
LH
YS
LH
YS
YS
LH
LH
YS
LH
S
CREATE USER grafana WITH PASSWORD 'grafana';
CREATE DATABASE grafana;
GRANT ALL PRIVILEGES ON DATABASE grafana TO grafana;
\c grafana
DROP TABLE IF EXISTS test_grafana;
CREATE TABLE IF NOT EXISTS test_grafana(event_time TIMESTAMP, service_name VARCHAR(100), too_big_value FLOAT);
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init_schema.sql
CREATE ROLE
CREATE DATABASE
GRANT
You are now connected to database "grafana" as user "postgres".
psql:/docker-entrypoint-initdb.d/init_schema.sql:7: NOTICE: table "test_grafana" does not exist, skipping
DROP TABLE
CREATE TABLE
grafana=> \c
You are now connected to database "grafana" as user "grafana".
grafana=> SELECT count(*) FROM test_grafana;
ERROR: permission denied for table test_grafana
R
CREATE USER grafana WITH PASSWORD 'grafana';
CREATE DATABASE grafana;
GRANT ALL PRIVILEGES ON DATABASE grafana TO grafana;
\c grafana
DROP TABLE IF EXISTS test_grafana;
CREATE TABLE IF NOT EXISTS test_grafana(event_time TIMESTAMP, service_name VARCHAR(100), too_big_value FLOAT);
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init_schema.sql
CREATE ROLE
CREATE DATABASE
GRANT
You are now connected to database "grafana" as user "postgres".
psql:/docker-entrypoint-initdb.d/init_schema.sql:7: NOTICE: table "test_grafana" does not exist, skipping
DROP TABLE
CREATE TABLE
grafana=> \c
You are now connected to database "grafana" as user "grafana".
grafana=> SELECT count(*) FROM test_grafana;
ERROR: permission denied for table test_grafana
S
R
S
AB
T