Re: How to add a new operator for parser?

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: How to add a new operator for parser?
Дата
Msg-id 20230806072523.y72qer5rnkhcydou@jrouhaud
обсуждение исходный текст
Ответ на Re: How to add a new operator for parser?  (jacktby jacktby <jacktby@gmail.com>)
Список pgsql-hackers
On Sun, Aug 06, 2023 at 01:37:42PM +0800, jacktby jacktby wrote:
>
> I need to build a new datatype. It can contains different datatypes, like
> ‘(1,’a’,2.0)’,it’s a (interger,string,float) tuple type

Is there any reason why you can't simply rely on the record datatype?

> and Then I need to
> add operator for it. How should I do?

If using record datatype you would only need to add a new operator.



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

Предыдущее
От: jacktby jacktby
Дата:
Сообщение: Re: How to add a new operator for parser?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Improve join_search_one_level readibilty (one line change)