> laurenz.a...@cybertec.at wrote:
>
> Be "seeing" I didn't mean "show to the user". I mean that the code that
> implements PostgreSQL constraints takes uncommitted data into account.
>
> The documentation describes that for the case of uniqueness in some detail:
>
> https://www.postgresql.org/d
> neerajmr12...@gmail.com wrote:
>
>> b...@yugabyte.com wrote:
>>
>> What exactly do you mean by "have created a new user and granted connection
>> access to database"? As I understand it, there's no such thing. I mentioned
>> a simple test in my earlier email that showed that any user (with no
On Thu, 2022-05-12 at 22:06 -0700, Bryn Llewellyn wrote:
>
> > In the case of constraint triggers, yes. But there is no race condition for
> > primary key,
> > unique and foreign key constraints, because they also "see" uncommitted
> > data.
>
> I can't follow you here, sorry. I tried this:
>
> neerajmr12...@gmail.com wrote:
>
> I am using pgAdmin . I have a database 'db' and it has got 2 schemas
> 'schema1' and 'schema2', I have created some views in schema2 from tables of
> schema1. I have created a new user and granted connection access to database
> and granted usage on tables
On Thursday, May 12, 2022, Neeraj M R wrote:
>
> Thanks for your suggestions, I would like to define my problem a little
> more.
>
> I am using pgAdmin
>
> Is there any way I can completely hide schema1 from the new user.
>
pgAdmin is a separate project. You may get a response here but they do
> laurenz.a...@cybertec.at wrote:
>
>> b...@yugabyte.com wrote:
>>
>> …I have always understood that (in Postgres and any respectable RDBMS)
>> commits in a multi-session environment are always strictly
>> serialized—irrespective of the transaction's isolation level. Am I correct
>> to assume
Whether or not you want to use the "normal backup algorithm" is irrelevant,
since if you try and start that snapshot Postgresql /*will*/ see the
instance as /*needing*/ to be recovered.
Having said that... our storage team does SAN snapshots of the *single LUN*
where */all/**of the Postgres* f
> t...@sss.pgh.pa.us wrote:
>
>> b...@yugabyte.com writes:
>>
>> Maybe this entire discussion is moot when hackers can read the C code of
>> PG's implementation…
>
> We have pretty much no interest in revisiting that design choice, even if
> doing so wouldn't likely break a couple decades' wor
pá 13. 5. 2022 v 5:42 odesílatel Bryn Llewellyn napsal:
> *david.g.johns...@gmail.com wrote:*
>
> *b...@yugabyte.com wrote:*
>
> However, the design decision that, way back when, leads to this outcome
> does surprise me. The principle of least privilege insists that (in the
> database regime) y
> david.g.johns...@gmail.com wrote:
>
>> b...@yugabyte.com wrote:
>>
>> However, the design decision that, way back when, leads to this outcome does
>> surprise me. The principle of least privilege insists that (in the database
>> regime) you can create users that can do exactly and only what t
Bryn Llewellyn writes:
> Maybe this entire discussion is moot when hackers can read the C code of PG's
> implementation…
Hmm ... in one way that's unrelated, but in another way perhaps it is.
Postgres' system catalogs have always been user-readable as much as
possible, excepting only cases that
On Thu, May 12, 2022 at 7:35 PM Bryn Llewellyn wrote:
>
> However, the design decision that, way back when, leads to this outcome
> does surprise me. The principle of least privilege insists that (in the
> database regime) you can create users that can do exactly and only what
> they need to do.
> david.g.johns...@gmail.com wrote:
>
>> adrian.kla...@aklaver.com wrote:
>>
>>> b...@yugabyte.com wrote:
>>>
>>> I've prototyped this scheme. It seems to work as designed. A client that
>>> connects with psql (or any other tool) can list the API functions and
>>> whatever \df and \sf show. (n
On Thu, May 12, 2022 at 11:44 AM Adrian Klaver
wrote:
> On 5/12/22 11:29, Bryn Llewellyn wrote:
>
> > I've prototyped this scheme. It seems to work as designed. A client that
> connects with psql (or any other tool) can list the API functions and
> whatever \df and \sf show. (notice that \d will
On 5/12/22 11:29, Bryn Llewellyn wrote:
I've prototyped this scheme. It seems to work as designed. A client that
connects with psql (or any other tool) can list the API functions and whatever
\df and \sf show. (notice that \d will reveal nothing.)But doing this reveals
only the names of the f
> postgres.ro...@gmail.com wrote:
>
> It adds the "initially deferred" decoration to the "create constraint
> trigger" statement. This is (still) the result:
>
> INFO: trg fired. new.v = 10, n = 5
> INFO: trg fired. new.v = 20, n = 5
> INFO: trg fired. new.v = 30, n = 5
> INFO: trg fired. ne
> adrian.kla...@aklaver.com wrote:
>
>> neerajmr12...@gmail.com wrote:
>>
>> Is there anyway that we can restrict a user from seeing the schema
>> structure. I can restrict the user from accessing the data in the schema but
>> the user is still able to see the table names and what all columns a
Talking about fsfreeze and blocksize are not relevant in your case at all.
You can't make a backup this way any way. According your mail,
you are playing with database recovery after crash. Is pg crash proof? Yes (
https://www.postgresql.org/docs/current/wal-intro.html).
You can use this solution f
On 5/12/22 03:04, Neeraj M R wrote:
Hi,
Is there anyway that we can restrict a user from seeing the schema
structure. I can restrict the user from accessing the data in the schema
but the user is still able to see the table names and what all columns
are present in them.
No.
Thanks & Rega
Hi,
Is there anyway that we can restrict a user from seeing the schema
structure. I can restrict the user from accessing the data in the schema
but the user is still able to see the table names and what all columns are
present in them.
Thanks & Regards
Neeraj
On Wed, 11 May 2022 at 20:02, David Gauthier wrote:
> I have a table with a bytea column which, of course, contains binary data.
> After 60 days, I no longer need the binary data but want to retain the rest
> of the record. Of course it's easy to just update the bytea column to null
> for the
On Thu, 12 May 2022 at 14:48, Tom Lane wrote:
> "Zwettler Markus (OIZ)" writes:
> > I don't want to do use the normal backup algorithm where pg_start_backup
> + pg_stop_backup will fix any fractured block and I am required to have all
> archived logfiles, therefore.
> > I want to produce an atom
>
>
> It adds the "initially deferred" decoration to the "create constraint
> trigger" statement. This is (still) the result:
>
> INFO: trg fired. new.v = 10, n = 5
> INFO: trg fired. new.v = 20, n = 5
> INFO: trg fired. new.v = 30, n = 5
> INFO: trg fired. new.v = 40, n = 5
> INFO: trg fired.
On 5/12/22 03:39, Kieran McCusker wrote:
Please reply to list also
Ccing list.
Hi
Fedora 36 is there now but it is missing pg_cron - Is that intentional?
I don't know that is something you would need to ask the packagers:
https://yum.postgresql.org/contact/
Cheers
Kieran
--
Adrian Kl
"Zwettler Markus (OIZ)" writes:
> I don't want to do use the normal backup algorithm where pg_start_backup +
> pg_stop_backup will fix any fractured block and I am required to have all
> archived logfiles, therefore.
> I want to produce an atomic consistent disk snapshot.
[ shrug... ] You can'
I don't want to do use the normal backup algorithm where pg_start_backup +
pg_stop_backup will fix any fractured block and I am required to have all
archived logfiles, therefore.
I want to produce an atomic consistent disk snapshot.
I am not sure if freeze/unfreeze will be enough with default v
26 matches
Mail list logo