Re: Storage and querying of filesystem paths

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Laura Smith <n5d9xq3ti233xiyif2vp(at)protonmail(dot)ch>, postgre <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Storage and querying of filesystem paths
Date: 2020-11-30 12:36:34
Message-ID: 291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2020-11-30 at 12:05 +0000, Laura Smith wrote:
> How have others approached the problem of storing and querying filesystem paths ?
> I'm talking about *nix/*nux style paths, e.g. /home/foo/bar
> A text column with a GIN index is an obvious possibility, but I'm interested to hear what approach others have taken ?

I have not personally taken that approach, but you could give the
ltree extension a go.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thibaut Madelaine 2020-11-30 13:29:58 Re: Migration from SQL Server to PostgeSQL
Previous Message Laura Smith 2020-11-30 12:05:22 Storage and querying of filesystem paths