Re: PostgresSQL 7.1.3 not parsing SELECT portion of SQL correctly
От | Bruce Momjian |
---|---|
Тема | Re: PostgresSQL 7.1.3 not parsing SELECT portion of SQL correctly |
Дата | |
Msg-id | 200202220356.g1M3uwB13356@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: PostgresSQL 7.1.3 not parsing SELECT portion of SQL correctly (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-bugs |
Is this a TODO item? Seems so. Comments? --------------------------------------------------------------------------- Tom Lane wrote: > "Mark Jeacocke" <mbj@ezytools.com> writes: > > select DISTINCT TABLEID, '' AS ALIAS from TABLE; :FAILS > > We get this type of complaint regularly. Perhaps DISTINCT should > resolve unknown-type inputs to "text", much as we do with CASE > and UNION constructs when we see an untyped literal. Thoughts? > > regards, tom lane > > PS: in the meantime, Mark, try casting the literal to text. > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-bugs по дате отправления: