Re: Postgres 7.3.5 and count('x') - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Postgres 7.3.5 and count('x')
Date
Msg-id 13470.1070724029@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres 7.3.5 and count('x')  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Postgres 7.3.5 and count('x')  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> What is COUNT('x') supposed to return?  1?  Is that legal SQL?

Why not?  Vanilla SQL would assume the string is CHAR type.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Postgres 7.3.5 and count('x')
Next
From: Bruce Momjian
Date:
Subject: Re: request for feedback - read-only GUC variables, pg_settings