28

I want to set the default search_path to something other than the "public" schema. But I only want to do this for a particular user. How can I accomplish this?

Jin Kim
  • 15,074
  • 16
  • 56
  • 82

1 Answers1

62

I found the answer:

ALTER ROLE username SET search_path = schema1,schema2,schema3,etc;
Mark Rotteveel
  • 90,369
  • 161
  • 124
  • 175
Jin Kim
  • 15,074
  • 16
  • 56
  • 82