Re: logger: NOTICE: Unrecognized variable query_limit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Havrylyak Roma" <roma(at)ukr(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: logger: NOTICE: Unrecognized variable query_limit
Date: 2000-11-22 17:00:24
Message-ID: 11594.974912424@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Havrylyak Roma" <roma(at)ukr(dot)net> writes:
> Does anybody know how to fix error (see subject)? I suppose the problem is
> in using PSQL (may be old version) but direct SQL command SET QUERY_LIMIT is
> not using...

Your application must have been coded against Postgres 6.4 originally
--- that was the only release that had a query_limit variable. Since
6.5 we instead offer a LIMIT clause in SELECT. You'll need to revise
the application code to use SELECT...LIMIT instead of SET QUERY_LIMIT.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Roger T. Alexander 2000-11-22 19:04:12 Compiling PostGresQL under Win2k
Previous Message Tomaz Borstnar 2000-11-22 14:44:30 Re: logger: NOTICE: Unrecognized variable query_limit