Re: Portability, was: using functions to generate custom error messages

From: "Reshat Sabiq" <sabiq(at)purdue(dot)edu>
To: <alberto(at)melloni49(dot)it>, <pgsql-novice(at)postgresql(dot)org>
Cc: "'Josh Berkus'" <josh(at)agliodbs(dot)com>
Subject: Re: Portability, was: using functions to generate custom error messages
Date: 2002-11-17 22:07:04
Message-ID: 000601c28e85$ad80f720$d484d380@main
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

<quote who="Josh Berkus">
> Thus, in the abstract, a design relying on triggers and procedures is
> perfectly portable *in concept*, but the actual code would need to be
> re-written for each target platform.

Not only the database code (stored procedures and triggers) needs to be
rewritten, but also application (or front-end) calls to stored
procedures
often need to be rewritten as each database has its way of calling them.

a.

It appears that there is a real need to standardize at least the
interface to procedure calls, so that at least the apps don't have to be
re-written. That way, just as mainstream SQL looks alike but is
implemented differently, stored procedures would be too. Eventually,
perhaps the stored procedures themselves could have standard interface,
so that most of them (at least trivial ones) can be ported w/o
re-writing.

OK, enough daydreaming... :)

r.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2002-11-17 22:48:36 Re: Help with PostgreSQL Access
Previous Message Alberto Bolchini 2002-11-17 21:15:42 Re: Portability, was: using functions to generate custom error messages