Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1iG4-0007Zc-Ch for pgsql-docs@arkaria.postgresql.org; Sun, 07 Jun 2015 21:37:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z1iG3-0007Qo-Lv for pgsql-docs@arkaria.postgresql.org; Sun, 07 Jun 2015 21:37:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z1iG3-0007Qi-48 for pgsql-docs@postgresql.org; Sun, 07 Jun 2015 21:37:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z1iFw-0005xR-AA for pgsql-docs@postgresql.org; Sun, 07 Jun 2015 21:37:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t57LbLsB023798; Sun, 7 Jun 2015 17:37:21 -0400 From: Tom Lane To: Danilo Fortunato cc: pgsql-docs@postgresql.org Subject: Re: What is the meaning of the N string operator ? In-reply-to: <5574AD22.8010508@gmail.com> References: <5574AD22.8010508@gmail.com> Comments: In-reply-to Danilo Fortunato message dated "Sun, 07 Jun 2015 22:44:18 +0200" Date: Sun, 07 Jun 2015 17:37:21 -0400 Message-ID: <23797.1433713041@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Danilo Fortunato writes: > Can anybody explain the meaning of the N string operator ? The SQL standard says that N'foo' is a literal of the data type NATIONAL CHARACTER. PG supports this syntax (and the type name) but treats it the same as plain character/varchar. > Is there a section in the PostgreSQL documentation that describes it ? I don't see it offhand. I think it's pretty much useless/deprecated anyway so I'm not sure it's worth documenting. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs