Received: from relay14.jaring.my (relay14.jaring.my [192.228.128.125]) by hub.org (8.9.2/8.9.1) with ESMTP id HAA23407 for ; Tue, 9 Mar 1999 07:08:55 -0500 (EST) (envelope-from hoelc@pd.jaring.my) Received: from pd.jaring.my (j12.glg34.jaring.my [161.142.199.146]) by relay14.jaring.my (8.8.8/8.8.7) with ESMTP id UAA01196; Tue, 9 Mar 1999 20:07:48 +0800 (MYT) Message-ID: <36E50F4A.CB527B78@pd.jaring.my> Date: Tue, 09 Mar 1999 20:08:43 +0800 From: hoelc Reply-To: hoelc@pd.jaring.my X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: pgsql-interfaces@postgreSQL.org CC: pgsql-admin@postgreSQL.org, pgsql-general@hub.org Subject: the last row in a table References: <36E163D7.CD95C55A@pd.jaring.my> <87emn1fwsq.fsf@tolikus.hq.aaanet.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I am developing a database with PostgreSQL in Linux, and using ecpg to write the C program to communicate with the database. One of my application need to get the data from the last row in a table. Is there any function or command that can tract which is the last row of data in a table? Thank you. Regards, lch