Re: Fwd: not able to give usage access to public schema

2020-06-12 Thread Adrian Klaver
On 6/12/20 3:56 PM, sekhar chandra wrote: I am not able to give usage permission to public schema. below are the steps. Logged in as super user created a new user as user1 grant usage on public to user1 Either the above is a cut and paste error or you got an error: grant usage on public to

Re: Returning SELECTed rows immediately instead of all at the end?

2020-06-12 Thread Tom Lane
Ron writes: > I'm running amcheck on a set of indices (test machine, not prod) and want to > track the progress.  Is there a SELECT clause that makes rows display as > they are created, or do I have to explicitly call bt_index_check() from a > shell script or SQL function in order to see the

Re: Returning SELECTed rows immediately instead of all at the end?

2020-06-12 Thread David G. Johnston
On Friday, June 12, 2020, Ron wrote: > > I'm running amcheck on a set of indices (test machine, not prod) and want > to track the progress. Is there a SELECT clause that makes rows display as > they are created, No > or do I have to explicitly call bt_index_check() from a shell script or >

Returning SELECTed rows immediately instead of all at the end?

2020-06-12 Thread Ron
I'm running amcheck on a set of indices (test machine, not prod) and want to track the progress.  Is there a SELECT clause that makes rows display as they are created, or do I have to explicitly call bt_index_check() from a shell script or SQL function in order to see the output as each

Fwd: not able to give usage access to public schema

2020-06-12 Thread sekhar chandra
I am not able to give usage permission to public schema. below are the steps. Logged in as super user created a new user as user1 grant usage on public to user1 command completed successfully , but verification statement showing he doesnt have usage permission. SELECT rolname,

Re: Changing from security definer to security invoker without dropping ?

2020-06-12 Thread raf
Laura Smith wrote: > ‐‐‐ Original Message ‐‐‐ > On Thursday, 11 June 2020 08:39, Pavel Stehule > wrote: > > > Hi > > > > čt 11. 6. 2020 v 9:29 odesílatel Laura Smith > > napsal: > > > > > Hi, > > > > > > Just curious if there is a way to switch a function from definer to > > >

Re: ansible modules for postgresql installation/config

2020-06-12 Thread Rene Romero Benavides
I've had good experiences when working with roles published by geerlingguy, he's written several Ansible books also: https://galaxy.ansible.com/geerlingguy/postgresql On Thu, Jun 11, 2020 at 1:28 PM Chris Stephens wrote: > it looks like there are a number of roles available through ansible

Re: Assigning values to a range in Pgsql and inclusive / exclusive bounds

2020-06-12 Thread Adrian Klaver
On 6/12/20 11:45 AM, Ron Clarke wrote: Hi, I've got a simple problem, but I'm convinced that there must be an elegant solution. I'm a refugee from the world of MSSQL, so I'm still finding some aspects of PostgreSQL alien. I'm trying to use the /tstzrange /datatype. My issue is correctly

Re: Assigning values to a range in Pgsql and inclusive / exclusive bounds

2020-06-12 Thread Adrian Klaver
On 6/12/20 11:45 AM, Ron Clarke wrote: Hi, I've got a simple problem, but I'm convinced that there must be an elegant solution. I'm a refugee from the world of MSSQL, so I'm still finding some aspects of PostgreSQL alien. I'm trying to use the /tstzrange /datatype. My issue is correctly

Assigning values to a range in Pgsql and inclusive / exclusive bounds

2020-06-12 Thread Ron Clarke
Hi, I've got a simple problem, but I'm convinced that there must be an elegant solution. I'm a refugee from the world of MSSQL, so I'm still finding some aspects of PostgreSQL alien. I'm trying to use the *tstzrange *datatype. My issue is correctly setting the bound types when assigning values

RE: ora2pg error : DBD::Oracle::db prepare failed: ORA-28110

2020-06-12 Thread George Dimopoulos
Thank you all very much for your help !!! Regards, George -Original Message- From: Gilles Darold Sent: Friday, June 12, 2020 1:50 AM To: Adrian Klaver ; George Dimopoulos Cc: pgsql-general Subject: Re: ora2pg error : DBD::Oracle::db prepare failed: ORA-28110 Le 12/06/2020 à 00:40,

Re: Something else about Redo Logs disappearing

2020-06-12 Thread Stephen Frost
Greetings, * Adrian Klaver (adrian.kla...@aklaver.com) wrote: > On 6/9/20 4:15 AM, Stephen Frost wrote: > >* Adrian Klaver (adrian.kla...@aklaver.com) wrote: > >>I use pg_backrest, but it does not look promising for running on BSD: >