Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

postgres change deafult encode

postgres@yourserver:~$ psql


UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';
DROP DATABASE template1;
CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UTF8';
UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1';
c template1;
VACUUM FREEZE;
Comment

PREVIOUS NEXT
Code Example
Shell :: strstr bash 
Shell :: svn info git equivalent 
Shell :: linux find type of desktop 
Shell :: python-minimal has no installation candidate 
Shell :: how to run orange3 on linux 
Shell :: isntall figma on fedroa 
Shell :: commands for ssh 
Shell :: install next-auth 
Shell :: build .so file 
Shell :: run ssh and immediately execute command 
Shell :: ubuntu teeworlds 
Shell :: first time linux 
Shell :: mkdir: cannot create directory ‘/shared’: Permission denied capistrano 
Shell :: copy a file from local machine to docker container 
Shell :: conda install cffi 
Shell :: ubuntu networkManager change dns 
Shell :: hardhat required npm packages install 
Shell :: get all installed application in windiws in C# 
Shell :: neovim nvim plugins 
Shell :: install Dagger 2 in Android studio 
Shell :: add suid bit 
Shell :: linux install toilet 
Shell :: powershell add to path 
Shell :: vim delete duplicate lines 
Shell :: git colorize log 
Shell :: ssh to a machine and run a command 
Shell :: install wsl kali linux large full 
Shell :: how to merge child branch to master branch in git 
Shell :: docker run opendistro elasticsearch 
Shell :: How do I create a next application 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =