Re: BUG #5167: Alternative to USE of MSSQL

From: Pavel Stehule <pavel(dot)stehule(at)gmail(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:40:37
Message-ID: 162867790911050040x7e8b471cyf73f87f8db4a8d89@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

2009/11/5 forbiddenvk <for(dot)bid(dot)den(dot)vk(at)gmail(dot)com>:
>
> 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.

Hello

\c command is alternative of USE statement in MSSQL.

postgres=# \c template1
You are now connected to database "template1".
template1=#

regards
Pavel Stehule

>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2009-11-05 11:27:34 Re: BUG #5167: Alternative to USE of MSSQL
Previous Message John R Pierce 2009-11-05 08:39:34 Re: BUG #5167: Alternative to USE of MSSQL