pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedStorage and querying of filesystem paths
3+ messages / 2 participants
[nested] [flat]
* Storage and querying of filesystem paths
@ 2020-11-30 12:05 Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
2020-11-30 12:36 ` Re: Storage and querying of filesystem paths Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 3+ messages in thread
From: Laura Smith @ 2020-11-30 12:05 UTC (permalink / raw)
To: postgre <pgsql-general@lists.postgresql.org>
Hi,
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 ?
Laura
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Storage and querying of filesystem paths
2020-11-30 12:05 Storage and querying of filesystem paths Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
@ 2020-11-30 12:36 ` Laurenz Albe <laurenz.albe@cybertec.at>
2020-11-30 17:43 ` Re: Storage and querying of filesystem paths Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
0 siblings, 1 reply; 3+ messages in thread
From: Laurenz Albe @ 2020-11-30 12:36 UTC (permalink / raw)
To: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>; postgre <pgsql-general@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Storage and querying of filesystem paths
2020-11-30 12:05 Storage and querying of filesystem paths Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
2020-11-30 12:36 ` Re: Storage and querying of filesystem paths Laurenz Albe <laurenz.albe@cybertec.at>
@ 2020-11-30 17:43 ` Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
0 siblings, 0 replies; 3+ messages in thread
From: Laura Smith @ 2020-11-30 17:43 UTC (permalink / raw)
To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: postgre <pgsql-general@lists.postgresql.org>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, November 30, 2020 12:36 PM, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> 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
Thanks Laurenz. Will take a look at ltree
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-11-30 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 12:05 Storage and querying of filesystem paths Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
2020-11-30 12:36 ` Laurenz Albe <laurenz.albe@cybertec.at>
2020-11-30 17:43 ` Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
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