I have database created with Collation type 'C' with UTF8 characterset. If I create any table or index under same database will it be having the Collation 'C' or I need to explicitly define at the time on table or index creation.
How we can extract the details of collate for table and indexes in postgresql 11
database create with collate 'C' also created table and idexes without explicitly collate type.
CREATE DATABASE testdb
WITH
OWNER = postgres
ENCODING = 'UTF8'
LC_COLLATE = 'C'
LC_CTYPE = 'en_US.UTF-8'
TABLESPACE = testts
CONNECTION LIMIT = -1
TEMPLATE = template0;
create table test1c (id integer, content varchar(10));
create index idx_test on test1c(content);
Need information about collate on table and index level.