I'm trying to create a PostgreSQL database through PowerShell with collate option as C to address sorting order of fields with special characters using below command:
createdb -U postgres -h localhost -p 5432 -O apm apm -l 'C' -T template0
But seeing below error:
createdb: too many command-line arguments (first is "C")
Postgres version: 9.6.6
OS: Windows 10