Re: Fix PL/Lua link in External Projects appendix

2020-10-19 Thread Magnus Hagander
On Fri, Oct 16, 2020 at 11:30 AM Daniel Gustafsson  wrote:

> > On 16 Oct 2020, at 11:26, Magnus Hagander  wrote:
> >
> > On Fri, Oct 16, 2020 at 10:32 AM Daniel Gustafsson  > wrote:
> > The PL/Lua repository we link to in the documentation has been updated
> to say
> > DEPRECATED, with a reference to a new repo within the same Github
> organization.
> > The attached patch updates the url in the postgres docs to point to the
> current
> > repo.
> >
> > Should the name of it perhaps also be updated to include the "ng" part?
>
> I don't think so, AFAICT it's only the repo which has been renamed and not
> the
> PL or the project.
>

Ah, OK, I think I misunderstood that part.

I've pushed the patch. Thanks!

-- 
 Magnus Hagander
 Me: https://www.hagander.net/ 
 Work: https://www.redpill-linpro.com/ 


https://www.postgresql.org/docs/current/functions-sequence.html

2020-10-19 Thread PG Doc comments form
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/functions-sequence.html
Description:

This page:
https://www.postgresql.org/docs/current/functions-sequence.html
doesn't seem to mention that there's a way to get the "cross session"
current value of a sequence:
https://stackoverflow.com/a/12482716/32453
Cheers!


Re: https://www.postgresql.org/docs/current/functions-sequence.html

2020-10-19 Thread David G. Johnston
On Mon, Oct 19, 2020 at 1:13 PM PG Doc comments form 
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/13/functions-sequence.html
> Description:
>
> This page:
> https://www.postgresql.org/docs/current/functions-sequence.html
> doesn't seem to mention that there's a way to get the "cross session"
> current value of a sequence:
> https://stackoverflow.com/a/12482716/32453
>
>
That page says "sequences are single row tables" which means you can query
them, it also links to CREATE SEQUENCE where "SELECT * FROM sequence_name"
is described explicitly, plus there is the implied existence of catalog
entries.  That seems sufficient given that such usage is not all that
useful and so less is more when it comes to pointing it out to users who
should just stick to the provided functions.

David J.