ow <[EMAIL PROTECTED]> writes:
> --- Achilleus Mantzios <[EMAIL PROTECTED]> wrote:
>> dynacom=# \c bab
>> You are now connected to database bab.
> I'm actually looking for a way to set database from a *script*, not psql
> console, if this is possible (similar to "SET search_path TO whatever;").
If the script is being fed to psql, it can use \c ...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]