Re: [PATCH] Add reloption for views to enable RLS

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Japin Li <japinli(at)hotmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Add reloption for views to enable RLS
Date: 2022-03-21 12:40:05
Message-ID: 8dc89991dfe0ec47af9b863c227ac464e2fd7dc7.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2022-03-21 at 18:09 +0800, Japin Li wrote:
> After apply the patch, I found pg_checksums.c also has the similar code.
>
> In progress_report(), I'm not sure we can do this replace for this code.
>
>     snprintf(total_size_str, sizeof(total_size_str), INT64_FORMAT,
>              total_size / (1024 * 1024));
>     snprintf(current_size_str, sizeof(current_size_str), INT64_FORMAT,
>              current_size / (1024 * 1024));
>
>     fprintf(stderr, _("%*s/%s MB (%d%%) computed"),
>             (int) strlen(current_size_str), current_size_str, total_size_str,
>             percent);

I think you replied to the wrong thread...

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-03-21 13:05:39 Re: logical decoding and replication of sequences
Previous Message Euler Taveira 2022-03-21 12:21:18 Re: Skipping logical replication transactions on subscriber side