From: | Ziga <ziga(at)ljudmila(dot)org> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Proposal to add a new URL data type. |
Date: | 2024-12-05 22:09:12 |
Message-ID: | 6a62369d-ac02-4269-9361-af6f0cdbaa72@ljudmila.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 05/12/2024 15:59, Peter Eisentraut wrote:
> On 05.12.24 15:01, Alexander Borisov wrote:
>> Postgres users often store URLs in the database. As an example, they
>> provide links to their pages on the web, analyze users posts and get
>> links for further storage and analysis. Naturally, there is a need to
>> compare, sort, build indexes, get statistics on individual parts of
>> the URL: hosts, protocols, path and so on.
>>
>> Adding a new URL type will standardize the work with URLs in Postgres
>> and provide simple tools for manipulating the new type.
>
> Have you seen this: https://github.com/petere/pguri ?
>
> The difference there is that it uses an external library for parsing
> the URLs, which makes the code much smaller. Overall, the
> functionality looks pretty similar to yours at first glance.
+1 for adding this to contrib
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-12-05 22:09:14 | Re: Assert failure on running a completed portal again |
Previous Message | Yugo Nagata | 2024-12-05 21:40:40 | Re: Assert failure on running a completed portal again |