Re: Review: Patch to compute Max LSN of Data Pages

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Robert Haas'" <robertmhaas(at)gmail(dot)com>
Cc: "'Andres Freund'" <andres(at)2ndquadrant(dot)com>, "'Josh Berkus'" <josh(at)agliodbs(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Review: Patch to compute Max LSN of Data Pages
Date: 2013-07-04 06:14:10
Message-ID: 005001ce787d$b4527130$1cf75390$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday, July 03, 2013 7:41 PM Robert Haas wrote:
> On Wed, Jul 3, 2013 at 9:51 AM, Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
> wrote:
> > amit(at)linux:~> md test
> > amit(at)linux:~> cd test
> > amit(at)linux:~/test> ln -s ~/test link_test
> > amit(at)linux:~/test> ls
> > link_test
> > amit(at)linux:~/test> cd link_test
> > amit(at)linux:~/test/link_test> ls
> > link_test
> > amit(at)linux:~/test/link_test> cd link_test
> > amit(at)linux:~/test/link_test/link_test> cd link_test
> > amit(at)linux:~/test/link_test/link_test/link_test> pwd
> > /home/amit/test/link_test/link_test/link_test
> > amit(at)linux:~/test/link_test/link_test/link_test>
>
> So what?

It can cause error "too many levels of symbolic links"

Point was that in case of symlinks we only want to allow PG_ paths, so that
such situation can never occur.
However I think this is not important to handle by this utility, so we can
remove such handling.

With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2013-07-04 06:38:23 Re: Support for REINDEX CONCURRENTLY
Previous Message Michael Paquier 2013-07-04 06:01:22 Mention in bgworker docs that db connection needs shmem access