Good morning,
I know that we can use the ~/.vsqlrc file to execute commands when starting vsql... But this file is tied to an OS user. Is there a global .vsqlrc file that we can use that will be read and executed for every user that runs vsql?
Thanks.
Global .vsqlrc File
Moderator: NorbertKrupa
-
- Intermediate
- Posts: 149
- Joined: Mon Apr 30, 2012 10:04 pm
- Location: New York
- Contact:
Re: Global .vsqlrc File
I would take a look at /opt/vertica/config/vsqlrc but please be very careful editing this to make sure you do not cause issues for other scripts that might call into the default vsql (and not expecting your changes).
-
- Beginner
- Posts: 42
- Joined: Thu Apr 19, 2012 9:03 pm
Re: Global .vsqlrc File
Thanks!!! The header of the file says it all:
- --
-- vsql configuration file
--
-- This file is read before the .vsqlrc file in the user's home directory.
--