Re: Sql Anywhere to PostgreSQL?

From: ljb <lbayuk(at)pobox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Sql Anywhere to PostgreSQL?
Date: 2006-10-26 01:17:38
Message-ID: ehp2bh$1nkt$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> Has anyone ever done a conversion from Sql Anywhere to PostgreSQL? I have a
> task to investigate what this would take.

Biggest problem areas I see would be stored procedures and the many SQL
differences. If you use stored procedures, they will need to be completely
rewritten. The SQL differences will get you too; someone who knows both
SQLA and PostgreSQL will have to review line-by-line. Stuff like SQLA's
"current timestamp" vs PostgreSQL "current_timestamp". Or, limiting returned
rows (SQLA: SELECT TOP 10 * FROM ... vs PostgreSQL: SELECT * FROM ... LIMIT
10). Just two examples. Where standards exist, PostgreSQL is much more
standard than Sybase.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Duncan McDonald 2006-10-26 03:08:42 Backing Up Partial Databases
Previous Message Joshua Marsh 2006-10-25 23:23:39 Re: CLUSTER using more memory than expected