Re: [GENERAL] Rules - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: [GENERAL] Rules
Date
Msg-id 200112052258.fB5Mw2T02332@saturn.jw.home
Whole thread Raw
In response to Re: [GENERAL] Rules  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Tom Lane writes:
> >> For 7.3, we should either fix psql or remove the option to use square
> >> brackets in rule action lists.  Comments anyone?
>
> > I'd certainly be for removing this since no one could ever really have
> > used this, but this feature seems so unusual, perhaps there was a reason
> > for it?
>
> My guess is that the syntax predates psql, or at least predates psql's
> current ideas about splitting up queries.  It's possible that someone
> out there is entering square-bracket-delimited rule lists via a non-psql
> interface, but I doubt it.  I'd vote for elimination of the syntax,
> I think.

    You're right. The [] syntax was used in Postgres 4.2 and well
    supported by monitor(1).

    Adding the parens as alternative was - uhm - a workaround for
    not  beeing  able to get square brackets through psql at some
    point, but I'm not sure if that was in 6.4 or 6.5.

    Anyway, let's rip out the square brackets.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Rules
Next
From: Hannu Krosing
Date:
Subject: Re: Licensing