Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add .psqlrc (#2699)
p0nyccc9f08514ad
diff --git a/.psqlrc b/.psqlrcnew file mode 100644index 0000000000..ccc7b56fac--- /dev/null+++ b/.psqlrc@@ -0,0 +1,22 @@+\set QUIET 1++\set PROMPT1 '%M:%[%033[1;31m%]%>%[%033[0m%] %n@%/%R%#%x '++\set PROMPT2 '%M %n@%/%R %# '++\pset null '[null]'++\set COMP_KEYWORD_CASE upper++\timing++\set HISTSIZE 2000++\x auto++\set VERBOSITY verbose++\set QUIET 0++\echo 'Welcome to PostgreSQL in Bytebase Docker image! \n'+\echo 'Type \\q to exit. \n'diff --git a/Dockerfile b/Dockerfileindex 4c063f460e..91c9f221fa 100644--- a/Dockerfile+++ b/Dockerfile@@ -79,6 +79,7 @@ ENV OPENSSL_CONF /etc/ssl/# Copy utility scripts, we have# - Demo script to launch Bytebase in readonly demo modeCOPY ./scripts /usr/local/bin/+COPY ./.psqlrc /root/.psqlrc# We want to install postgresql-client-14# https://packages.debian.org/sid/amd64/postgresql-client-14/download