सबसे आसान तरीका यह है:
su postgres
psql
alter role user_name superuser;
#then create the extension as the user in a different screen
alter role user_name nosuperuser;
मूल रूप से उपयोगकर्ता को थोड़े समय के लिए सुपरयुसर शक्तियां दें, और एक्सटेंशन बनाएं। फिर सुपरयुसर शक्तियों को निरस्त करें।
आप \connect user_name . का भी उपयोग कर सकते हैं वह उपयोगकर्ता बनने के लिए और सीधे postgres . से एक्सटेंशन बनाने के लिए उपयोगकर्ता।