Re: furiously yours

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rony Khoury <rkrk(at)hotmail(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: furiously yours
Date: 2001-06-09 23:09:22
Message-ID: Pine.LNX.4.30.0106100108070.778-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Rony Khoury writes:

> for(i=0;i<3;i++) {
> for (j=0;j<3;j++) {
> if (strcmp(tparr[i],tparr[j]) == -1) {
> sprintf(tpstring,"%s",tparr[i]);
> sprintf(tparr[i],"%s",tparr[j]);
> sprintf(tparr[j],"%s",tpstring);
> }
> }
> }

You need to use strcoll() to get locale-dependent sorting. -- Or not, if
you don't.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2001-06-09 23:10:19 Re: furiously yours
Previous Message Tom Lane 2001-06-09 22:21:05 Re: furiously yours