Re: Analyze Table

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: anand086 <anand086(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Analyze Table
Date: 2017-08-18 16:59:32
Message-ID: CAKFQuwa+oiyGMj5Qb1V9w6i_+CVZpzBR-D2ywX53G-xUD5SQJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Aug 18, 2017 at 9:50 AM, anand086 <anand086(at)gmail(dot)com> wrote:

> What is the best possible way to get the table analyzed from application
> code without changing granting owner to dev_user?
>

​A solution is to write a "SECURITY DEFINER" function.​

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message anand086 2017-08-18 17:13:12 Re: Analyze Table
Previous Message anand086 2017-08-18 16:50:47 Analyze Table