Re: BUG #5167: Alternative to USE of MSSQL

From: John R Pierce <pierce(at)hogranch(dot)com>
To: forbiddenvk <for(dot)bid(dot)den(dot)vk(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5167: Alternative to USE of MSSQL
Date: 2009-11-05 08:39:34
Message-ID: 4AF28F46.3090707@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

forbiddenvk wrote:
> The following bug has been logged online:
>
> Bug reference: 5167
> Logged by: forbiddenvk
> Email address: for(dot)bid(dot)den(dot)vk(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2009-11-05 08:40:37 Re: BUG #5167: Alternative to USE of MSSQL
Previous Message Abhishek 2009-11-05 07:28:57 BUG #5169: cannot login to server