Re: Set role dynamically from proc

From: Durumdara <durumdara(at)gmail(dot)com>
To:
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Set role dynamically from proc
Date: 2017-11-23 12:19:25
Message-ID: CAEcMXhkkw5mG3vAE_0FYN5_WTWViQZBO+9Xx1GoHBKbw6Qpw1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear David!

To know - your solution is working well!

*EXECUTE format('SET ROLE %I', variablename); *

Thank you!

bw

dd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rakesh Kumar 2017-11-23 13:35:25 Re: [GENERAL] Date Time data types
Previous Message Geoff Winkless 2017-11-23 11:39:05 Re: [GENERAL] Multiple key error .