why fmtId isn't multibyte safe?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Tatsuo Ishii <ishii(at)postgresql(dot)org>
Subject: why fmtId isn't multibyte safe?
Date: 2010-01-04 12:40:54
Message-ID: 162867791001040440m619895a6rb3c32bfaf757318a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I am looking for some quoting implementation in PostgreSQL. I cannot
to understand, why we can to use multibyte unsafe functions
quote_identifier or fmtId, and we have to use multibyte safe functions
quote_literal (and similar). Can somebody explain it?

Thank you

Pavel Stehule

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-01-04 12:55:11 Re: Backup history file should be replicated in Streaming Replication?
Previous Message John Naylor 2010-01-04 10:59:27 Patch v3: Remove all declarations from pg_attribute.h, consolidate BKI scripts