Re: poll: CHECK TRIGGER?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: poll: CHECK TRIGGER?
Дата
Msg-id 9238.1331340986@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: poll: CHECK TRIGGER?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: poll: CHECK TRIGGER?
Re: poll: CHECK TRIGGER?
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> But then I would have to map all language-specific error reports to some
> SQL error scheme, which is not only cumbersome but pretty useless.  For
> example, a Python programmer will be familiar with the typical output
> that pylint produces and how to fix it.  If we hide that output behind
> the layer of SQL-ness, that won't make things easier to anyone.

Yeah, this is a good point.  I'm willing to concede that we are not
close to having a uniform API that could be used for checker functions,
so maybe what we should do for now is just invent
plpgsql_check_function(regprocedure).  I'd still like to see the
question revisited sometime in the future, but it would be appropriate
to have a few working examples of popular checker functions for
different languages before we try to invent a common API.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_crypto failures with llvm on OSX
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lateral function as a subquery - WIP patch