Re: Review: Patch to compute Max LSN of Data Pages - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Review: Patch to compute Max LSN of Data Pages
Date
Msg-id 005001ce787d$b4527130$1cf75390$@kapila@huawei.com
Whole thread Raw
In response to Re: Review: Patch to compute Max LSN of Data Pages  (Robert Haas <robertmhaas@gmail.com>)
List 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.kapila@huawei.com>
> wrote:
> > amit@linux:~> md test
> > amit@linux:~> cd test
> > amit@linux:~/test> ln -s ~/test link_test
> > amit@linux:~/test> ls
> > link_test
> > amit@linux:~/test> cd link_test
> > amit@linux:~/test/link_test> ls
> > link_test
> > amit@linux:~/test/link_test> cd link_test
> > amit@linux:~/test/link_test/link_test> cd link_test
> > amit@linux:~/test/link_test/link_test/link_test> pwd
> > /home/amit/test/link_test/link_test/link_test
> > amit@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.




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Mention in bgworker docs that db connection needs shmem access
Next
From: Michael Paquier
Date:
Subject: Re: Support for REINDEX CONCURRENTLY