I have a PostgreSQL
server running on beta and one running locally. On both, I have a table called profile
with a column named name
of type character varying (255)
. I have checked that the dbs have the same values.
The weird part is when I do a select on the profile
table with order by name asc
I am getting different results. So on my local db, profile with name (I)Contractor
is first and on beta profile with name 3B
is first.
So it seems on my local db (
comes before numeric characters and vice versa for beta. Any idea how this is happening? Would the sort rule be different for different versions of Postgresql?