Psql doesn't allow multiple action rules

Поиск
Список
Период
Сортировка
От jwieck@debis.com (Jan Wieck)
Тема Psql doesn't allow multiple action rules
Дата
Msg-id m0z7kt2-000EBPC@orion.SAPserv.Hamburg.dsh.de
обсуждение исходный текст
Ответы Re: [HACKERS] Psql doesn't allow multiple action rules
Список pgsql-hackers
Hi,

    now  I'm  really  sure that at least only a few ppl might use
    the current rule system.

    Psql cannot send the queries for DEFINE  RULE  with  multiple
    actions  to  the  backend. For this feature, the single colon
    separated statements are enclosed in []'s. But  psql  doesn't
    handle  []'s  and sends down the query at the first occurence
    of a colon. And a colon cannot be escaped in  psql,  it  must
    occur in a literal string.

    The question is now, should we tell psql that []'s have to be
    treated like ()'s or should we change the  syntax  of  CREATE
    RULE in the backends parser from [] to ()?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: geo_ops.c is broken
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] int8 type -- call for porting results!