X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 51FA35639E for ; Mon, 14 Mar 2005 07:21:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07931-03 for ; Mon, 14 Mar 2005 07:21:42 +0000 (GMT) Received: from houston.familyhealth.com.au (houston.au.fhnetwork.com [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 714CC56399 for ; Mon, 14 Mar 2005 07:21:38 +0000 (GMT) Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id 8DAD425054; Mon, 14 Mar 2005 15:21:31 +0800 (WST) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (Postfix) with ESMTP id 719D92501A; Mon, 14 Mar 2005 15:21:31 +0800 (WST) Message-ID: <42353B91.5050004@familyhealth.com.au> Date: Mon, 14 Mar 2005 15:21:53 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gourish Singbal Cc: pgsql-performance@postgresql.org Subject: Re: column name is "LIMIT" References: <674d1f8a0503132314754df153@mail.gmail.com> In-Reply-To: <674d1f8a0503132314754df153@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.084 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/245 X-Sequence-Number: 10950 Put "" around the column name, eg: insert into "limit" values (1, 2,3 ); Chris Gourish Singbal wrote: > Guys, > > I am having a problem firing queries on one of the tables which is > having "limit" as the column name. > > If a run an insert/select/update command on that table i get the below error. > > ERROR: syntax error at or near "limit" at character 71 > > Any Help would be realyl great to solve the problem. > > postgresql 7.4.5 and linux OS >