Tanstaafl wrote:
Hi all,

Ok, this has been on my ToDo list for a while, and I'm thinking of
tacking this over the holidays, since the office will be much slower
than usual.

The only databases I have in use are for my mail server, which means
postfix, courier-imap (soon to be dovecot 2.1 once it is released) and
postfixadmin for maintaining the database.

First question - I can run both mysql and postgresql at the same time,
right? I haven't found anything saying I can't, and mysql doesn't seem
to 'block' installing postgresql, so I'm guessing I can.

Sure; they're different SQL engines. SQL isn't a standardized service that you'd expect to find at a particular location or port.

They are, however, not entirely compatible. The SQL spec is unfortunately vague, and even where it's relatively clear, popular engines have idiosyncrasies that can result in application written for one not quite working with another.


Second question - has anyone ever converted an existing production mysql
database to postgresql? If you have ever done this specifically for
postfixadmin, I'd love to chat for a few minutes, but pointers to
recent, accurate docs - even generically (not specifically for
postfixadmin) for doing this would be appreciated.

This is going to almost entirely depend on the application you want to switch from being backed by mysql to postgresql. I'm not even sure 'mysqldump' has an export mode that can be easily massaged to be an import mode for postgresql.

That said, the #postgresql IRC channel on FreeNode is one of the nicest IRC channel's I've interacted with.

Reply via email to