pgAdmin vs SQL Server Enterprise Manager - Mailing list pgsql-general

From mikew@hyperreal.org
Subject pgAdmin vs SQL Server Enterprise Manager
Date
Msg-id 20031029174611.45676.qmail@hyperreal.org
Whole thread Raw
Responses Re: pgAdmin vs SQL Server Enterprise Manager  (Jean-Michel POURE <jm@poure.com>)
Re: pgAdmin vs SQL Server Enterprise Manager  (Tino Wildenhain <tino@wildenhain.de>)
List pgsql-general
I am working at a company that has been using MS SQL Server, and we are going to be switching over to postgresql next
week. (Getting off of Windows will be a relief!) 

I am very familiar with SQL Server's "Enterprise Manager", which is their GUI for accessing the db.  I have been
acquaintingmyself with pgAdmin.  There are a number of things that I really like about pgAdmin, but there are a few
thingsthat SQL Server Enterprise manager can do, and it's not clear to me if pgAdmin can do them. 

Can anyone let me know how the following things are done in the postgres world?


1) With SQL Server Enterprise Manager, I can change a column's type.  For example, I can change an int column to a
float,and SQL Server automatically converts all of the int data to floating point data. 

2) With SQL Server Enterprise Manager, I can copy and paste rows.  There are two scenarios:

2a) Suppose I have a table that has some primary key, and it has a large number of non-null columns.  Inserting a row
canbe tedious because I have to specify all the non-null values.  What I often want to do is to duplicate a row, change
itsprimary key, and perhaps modify 1 or 2 of its other columns.  With SQL Server Enterprise Manager, I can copy a row
intoa "new row" buffer, modify its primary key to ensure uniqueness, optionally modify 1 or 2 other columns, and paste
theresult into the table. 

2b) Suppose I have two or more tables that have identical schemas (column names and types, primary key).  I want to
copya set of rows from one table to another.  (I've already verified that there will be no primary key conflicts.)
WithSQL Server Enterprise Manager, I can copy a set of rows from one table and paste them into another table. 


Any help would be appreciated!


-Mike Wertheim


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Error size varchar
Next
From: "Edwin Quijada"
Date:
Subject: backup another server