I am trying to create the Postgres database using the terminal,
Normally we can create the database like
CREATE DATABASE mydatabase;
but I wanted to create with the database with a dot. like
CREATE DATABASE my.database;
I was trying to escape the characters. but it doesn't work
CREATE DATABASE my.\database;
CREATE DATABASE my\.database;
as an expected output, it should create the database named my.database
you should create the database using
create database "my.database";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With