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

Поиск
Список
Период
Сортировка
От Reshat Sabiq
Тема Re: Portability, was: using functions to generate custom error messages
Дата
Msg-id 000601c28e85$ad80f720$d484d380@main
обсуждение исходный текст
Ответ на Re: Portability, was: using functions to generate custom error messages  (Alberto Bolchini <alberto@melloni49.it>)
Список 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.



В списке pgsql-novice по дате отправления:

Предыдущее
От: Alberto Bolchini
Дата:
Сообщение: Re: Portability, was: using functions to generate custom error messages
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: Help with PostgreSQL Access