Re: More guidance on ctid - Mailing list pgsql-docs

From Bernice Southey
Subject Re: More guidance on ctid
Date
Msg-id CAEDh4nwv22R3WBC-JW96YWfrvgA9UN=rDx11T4+zNrGVpXg5BQ@mail.gmail.com
Whole thread Raw
In response to Re: More guidance on ctid  (Bruce Momjian <bruce@momjian.us>)
Responses Re: More guidance on ctid
List pgsql-docs
Bruce Momjian <bruce@momjian.us> wrote:
> Uh, where did you see that?  I found the original thread and I don't see
> any mention of a warning, or not wanting a warning:
I meant about all the other stuff (order by and limit etc). At one
point the patch had more duplication across update and delete.

> I feel we need a warning specifically because people will find this
> query, particularly in the very visible UPDATE/DELETE man pages, and not
> realize ctid only has a few save use-cases.
Yes.
I only queried adding it to both because I remembered the original
thread. I agree the visibility of the duplicate warning is better.

[From the thread]
> > It is similar, but the idea here is to aid in discovery. A user might miss the
> > technique for update if it's only documented in delete, and even if they did see
> > it there, they might not realize that it works for both UPDATE and DELETE.
> > We could make reference links from one to the other, but that seems like extra
> > work for the reader.
> I don't agree with bloating the documentation with redundant examples just
> to save a user a click. I like the idea of a link



pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: More guidance on ctid
Next
From: Bruce Momjian
Date:
Subject: Re: More guidance on ctid