Re: BUG #5167: Alternative to USE of MSSQL - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #5167: Alternative to USE of MSSQL
Date
Msg-id 4AF28F46.3090707@hogranch.com
Whole thread Raw
In response to BUG #5167: Alternative to USE of MSSQL  ("forbiddenvk" <for.bid.den.vk@gmail.com>)
List pgsql-bugs
forbiddenvk wrote:
> The following bug has been logged online:
>
> Bug reference:      5167
> Logged by:          forbiddenvk
> Email address:      for.bid.den.vk@gmail.com
> PostgreSQL version: 8.4
> Operating system:   Windows
> Description:        Alternative to USE of MSSQL
> Details:
>
> Why couldn't create a  alternative to USE command in MSSQL?, I think is
> necesary when we want execute a full script for create a database and tables
> in once.
>
>

psql has the \c command to connect to a database.  this can be embedded
in a SQL file thats executed by psql

pgsql-bugs by date:

Previous
From: "Abhishek"
Date:
Subject: BUG #5169: cannot login to server
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #5167: Alternative to USE of MSSQL