Re: moving from mysql to postgree - Mailing list pgsql-general

From Merlin Moncure
Subject Re: moving from mysql to postgree
Date
Msg-id b42b73150711160639i4af2d781s86d7690d8c5052ae@mail.gmail.com
Whole thread Raw
In response to moving from mysql to postgree  ("Pau Marc Munoz Torres" <paumarc@gmail.com>)
Responses Re: moving from mysql to postgree  ("Pau Marc Munoz Torres" <paumarc@gmail.com>)
List pgsql-general
On Nov 15, 2007 10:44 AM, Pau Marc Munoz Torres <paumarc@gmail.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

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: ERROR: out of memory
Next
From: Douglas McNaught
Date:
Subject: Re: postgres 8 on solaris 9