Tom Lane wrote:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > Tom Lane wrote:
> >> I saw that, but it seemed a non-problem to me: if the variables have
> >> not been exported then they won't affect the sort program anyway.
> > He probably had LANG, but not LC_ALL, already exported in his 
> > environment.
> Ah, right, that would explain it.
> > That's not possible, because LC_ALL overrides everything.
> I hadn't realized that, but you seem to be right.  Okay, setting
> LC_ALL correctly should be sufficient.

OK, new code is:

        export LC_ALL
        sort tags >/tmp/$$ && mv /tmp/$$ tags

  Bruce Momjian                        |
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to