[Tagging] Names localization
Emilie Laffray
emilie.laffray at gmail.com
Mon Apr 26 15:18:14 BST 2010
On 26 April 2010 15:12, John Smith <deltafoxtrot256 at gmail.com> wrote:
> Sorry I don't use pgsql much, I used ' instead of ", should be:
>
> (CASE WHEN "name:ru" IS NOT NULL THEN "name:ru" WHEN "name:en" IS NOT
> NULL THEN "name:en" ELSE name END) AS name
>
>
>
It is fine ;) Your query uses a simpler schema that the one I am using. The
case statement is an absolute classic for selecting things without doing an
proper code :)
Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20100426/101fb379/attachment.html>
More information about the Tagging
mailing list