Re: PostGIS Integration

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: PostGIS Integration
Дата
Msg-id 40209DDC.2080306@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: PostGIS Integration  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PostGIS Integration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Those two cases are not hard, because in those scenarios the parser
> knows it is expecting a type specification.  The real problem is this
> syntax for typed literals:
>         typename 'string'
> which occurs in ordinary expressions.  So when you see "name(" you
> aren't real sure if you're seeing the start of a function call or the
> start of a typed-literal construct.  And it's very hard to postpone that
> decision until you see what comes after the right paren.

Just disallow that particular case for custom types :P

Will this work:  'string'::typename

Chris



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostGIS Integration
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostGIS Integration