Re: Document target_role param of ALTER DEFAULT PRIVILEGES

2021-02-17 Thread Laurenz Albe
On Wed, 2021-02-17 at 15:08 -0500, Jordi GutiƩrrez Hermoso wrote: > I just had a confusing moment trying to figure out why my roles > weren't creating tables the way I was expecting them to. I didn't > understand what the `target_role` parameter did. No matter how I try > to read this page, I can't

Document target_role param of ALTER DEFAULT PRIVILEGES

2021-02-17 Thread Jordi GutiƩrrez Hermoso
I just had a confusing moment trying to figure out why my roles weren't creating tables the way I was expecting them to. I didn't understand what the `target_role` parameter did. No matter how I try to read this page, I can't see an explanation for that parameter: https://www.postgresql.org/docs/c

Re: Re: About the return states of SPI_execute for plpy.execute().status()

2021-02-17 Thread Tom Lane
"Euler Taveira" writes: > It is referring to the SPI_execute() return values [1] whose mapped integers > > are available in [2]. 11 refers to INSERT ... RETURNING. Maybe PL/Python > should > expose these SPI constants too (if it doesn't). I wouldn't be in too much of a hurry to do that,

Re: About the return states of SPI_execute for plpy.execute().status()

2021-02-17 Thread Euler Taveira
On Mon, Feb 15, 2021, at 12:25 PM, PG Doc comments form wrote: > Hello. I'm using Postgres 9.3.25. I know it's an unsupported version but the > documentation pages that I will mention stay the same between 9.3 and 13. You should upgrade as soon as possible. > In the docs for Database Access with P

Re: CREATE TABLE typo

2021-02-17 Thread Magnus Hagander
On Wed, Feb 17, 2021 at 12:58 PM Daniel Gustafsson wrote: > > Commit f2a69b352de introduced a small typo in the CREATE TABLE documentation, > fixed in the attached. Applied, thanks. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/

CREATE TABLE typo

2021-02-17 Thread Daniel Gustafsson
Commit f2a69b352de introduced a small typo in the CREATE TABLE documentation, fixed in the attached. -- Daniel Gustafsson https://vmware.com/ create_table_typo.diff Description: Binary data