Re: char(0)

From: Susanne Ebrecht <susanne(at)2ndQuadrant(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: char(0)
Date: 2011-10-17 12:28:14
Message-ID: 4E9C1F5E.7000303@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 17.10.2011 10:30, Simon Riggs wrote:
> On Mon, Oct 17, 2011 at 8:31 AM, Susanne Ebrecht
> <susanne(at)2ndquadrant(dot)com> wrote:
>
>> PostgreSQL isn't supporting CHAR(0).
> What does the SQL Standard say?
>

Document: 02-Foundation

Section: 4.2.1 Introduction to character strings

Begin quoting
A character string is a sequence of characters. All the characters in a
character string are taken from a single
character set. A character string has a length, which is the number of
characters in the sequence. The length is
0 (zero) or a positive integer.
End quoting

--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com

In response to

Responses

  • Re: char(0) at 2011-10-17 13:44:18 from Boszormenyi Zoltan

Browse pgsql-bugs by date

  From Date Subject
Next Message Laerson Keler 2011-10-17 12:59:48 BUG #6257: Lock Sequence
Previous Message Thomas Kellerer 2011-10-17 08:53:30 Re: char(0)