pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
To: postgre <pgsql-general@lists.postgresql.org>
Subject: Re: Storage and querying of filesystem paths
Date: Mon, 30 Nov 2020 13:36:34 +0100
Message-ID: <291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at> (raw)
In-Reply-To: <8tVrsHsAWSD22jnyKoaokZfRmhHCjmL1gIa_8Ezxu7rCvyYWOj2g2LJF86lesm3a38dwdzbejpE5VtnO2TV4RdJaqa0uk55viQLERCEtG-Y=@protonmail.ch>
References: <8tVrsHsAWSD22jnyKoaokZfRmhHCjmL1gIa_8Ezxu7rCvyYWOj2g2LJF86lesm3a38dwdzbejpE5VtnO2TV4RdJaqa0uk55viQLERCEtG-Y=@protonmail.ch>

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






view thread (3+ messages)  latest in thread

Message-ID: <291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at>
Permalink:  ../291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at/
Also on:    postgresql.org/message-id/291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, n5d9xq3ti233xiyif2vp@protonmail.ch
  Subject: Re: Storage and querying of filesystem paths
  In-Reply-To: <291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at>
  References: <8tVrsHsAWSD22jnyKoaokZfRmhHCjmL1gIa_8Ezxu7rCvyYWOj2g2LJF86lesm3a38dwdzbejpE5VtnO2TV4RdJaqa0uk55viQLERCEtG-Y=@protonmail.ch> <291fe29186546258c6ae807a7efb20b3edda8a2c.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox