Re: [GENERAL] To Postgres Devs : Wouldn't changing the select limit

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)fourpalms(dot)org
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl>, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] To Postgres Devs : Wouldn't changing the select limit
Date: 2001-10-22 17:22:27
Message-ID: 200110221722.f9MHMRn01360@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> (switched thread to hackers)
>
> > ... If the 'tip' is localized to a few lines, usually in
> > gram.y, I don't see a reason not to help people find the right answer.
> > It helps them and reduces redundant bug repots. I can't imagine a
> > reason not to do it unless it starts to make our code more complex.
>
> I'm with Peter on this one. I'd like to *not* clutter up the code and
> error reporting with hints and suggestions which may or may not be to
> the point.
>
> We *should* have docs which list error messages and possible solutions,
> and throwing that info into code is a poor second choice imho.

Is it really clutter to add a clause and elog(). I am not advocating
adding stuff like crazy, but when we see people having the same problem,
it seems worth adding it. Our docs are pretty big and most people who
have this type of problem are not going to know where to look in the
docs. If the elog pointed them to the proper section in the docs, that
would be even better, but then again, you are doing the elog at that
point.

What do others think? It would be good to have a specific example to
discuss.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikola Milutinovic 2001-10-22 17:41:29 Problems setting up PostgreSQL and Tomcat JDBC connection
Previous Message Rich Shepard 2001-10-22 17:21:48 Re: How to insert with a serial

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-10-22 18:33:39 Re: createlang difficulty.
Previous Message Haller Christoph 2001-10-22 17:13:57 Re: Catalogs design question