Re: moving from mysql to postgree

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Pau Marc Munoz Torres" <paumarc(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: moving from mysql to postgree
Date: 2007-11-16 14:39:10
Message-ID: b42b73150711160639i4af2d781s86d7690d8c5052ae@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Nov 15, 2007 10:44 AM, Pau Marc Munoz Torres <paumarc(at)gmail(dot)com> wrote:
> I'm moving from mysql to postgresql just now i I'm a bit lost, could anyone
> tell me some place with a comparative between postdresql and mysql commands,
> i think than mostly is the same think but, any way, do anything change ?

IMO, he biggest differences between mysql and postgresql for beginners are:
* database authentication (pg_hba.conf and user set up)
* create/alter table syntax
* dealing with timestamps/default expressions
* update and delete statements that deal with more than one table

postgresql has a _much_ better command shell than mysql. It has
tab-completions for commands as well as database objects and has
syntax help for all commands. This is an absolutely essential help to
the beginner. (some of the gui tools, like pgadmin, have this as well
but i use the shell almost exclusively).

\h <command> in the shell will give you help for the command and
\d <table> well 'describe' the table

good luck!!
merlin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2007-11-16 14:54:54 Re: postgres 8 on solaris 9
Previous Message Scott Marlowe 2007-11-16 14:33:45 Re: ERROR: out of memory