Re: [HACKERS] SELECT ... LIMIT (trial implementation)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org (PostgreSQL HACKERS)
Subject: Re: [HACKERS] SELECT ... LIMIT (trial implementation)
Date: 1998-10-17 17:21:54
Message-ID: 14091.908644914@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

jwieck(at)debis(dot)com (Jan Wieck) writes:
> I've seen the queryLimit by SET variable stuff and that
> really can break rewrite rules, triggers or functions. This
> is because the query limit will be inherited by any query
> (inserts, updates, deletes too) done by them.
> [ example snipped ]
> This is a feature where users can get around rules that
> ensure data integrity.

Ouch. I think this point is a *fatal* objection to implementing
query limit as a SET variable. That might be a quick-and-dirty way
of getting some functionality going, but we can't let it loose on the
world like that.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Taral 1998-10-17 17:44:33 RE: [SQL] Is this BUG or FEATURE?
Previous Message D'Arcy J.M. Cain 1998-10-17 17:18:23 Re: [HACKERS] Did the inet type get backed out?