34

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
  • 16,562
  • 18
  • 60
  • 86

1 Answers1

70

I found the answer:

ALTER ROLE username SET search_path = schema1,schema2,schema3,etc;
Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
Jin Kim
  • 16,562
  • 18
  • 60
  • 86