How to create a new operator inpg for spec data type?

From: "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to create a new operator inpg for spec data type?
Date: 2023-02-01 05:40:46
Message-ID: 202302011340413081513@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I need to create a new operator like '<->' and its syntax is that text1 <-> text2,
for the usage like this: 'a' <-> 'b' = 'a1b1', so how could I realize this one?
Can you give me some exmaples.

--------------
jacktby(at)gmail(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Shelver 2023-02-01 06:19:54 Re: Best Open Source OS for Postgresql
Previous Message Joe Wildish 2023-01-31 18:10:59 Logical Replication - "invalid ordering of speculative insertion changes"