[pgsql-jp: 26553] Re: % で始まる文字の LIKE 検索

ISHIKAWA Toshiyuki tosiyuki @ gol.com
2002年 7月 1日 (月) 18:51:25 JST


JPUG 文書・書籍分科会のいしかわです。

On Sun, 30 Jun 2002 15:51:32 +0900
Hajime Lucky Okada <luckyo @ tpk.toppan.co.jp> wrote:

> 岡田です。 みなさまありがとうございます。

> 折角なので、本家のドキュメントを引っ張ってみました。
> http://www.postgresql.org/idocs/index.php?functions-matching.html
> 
> 「 To match a literal underscore or percent sign without matching other characters,
> the respective character in pattern must be preceded by the escape character.
> The default escape character is the backslash but a different one may be selected
> by using the ESCAPE clause. To match the escape character itself, write two escape
> characters. 」
> 
> 私の能力では、このまま読めばあの和訳そのものになりますね。
> % をエスケープするには、\ の一文字で十分と読め、まさか この \ までもエスケープ
> しなければならないと訳すのは、やはり超訳の部類に入るといっても仕方ないと考えます。

超訳ではないのですが、7.2.1 付属のドキュメントは 7.1.3 より手が加えられて
います。現在翻訳の査読中で近々リンクなど公開する予定ですが、取り敢えず、
http://www.postgresql.jp/document/pg721doc/user/functions-matching.html
を読んでみて下さい。



pgsql-jp メーリングリストの案内