Wikis - Page

(SMAX) Support Tip: How to get the database(PostgreSQL) collating sequence setting

1 Likes

In some scenarios, Customer finds that some tickets, like request, change, incident, are arranged in an unexpected sorted, and want to know the current arrangement sorting.

 

When user wants to know the database(PostgreSQL) collating sequence also called Sort order setting 

The step as follow:

Login Server by root or stdo.

Run the following query on PostgreSQL

 

SELECT datcollate AS collation

FROM pg_database

WHERE datname = current_database();

 

Then you will see the below result.

The sort in the example is:en_US.UTF-8

 

Labels:

SMA-X
Support Tips/Knowledge Docs
Comment List
Related
Recommended