[GENERAL] [Q] Tcl, ODBC and Postgresql.

2000-02-19 Thread David May, Powered by FreeBSD, Somewhere in the Outback
I have previously posted a question about getting Tcl, ODBC and Postgresql to work together in comp.lang.tcl newsgroup and Postgresql General mailing list but have received no responses. Hopefully someone on this list can provide some help. I recently upgraded to the latest version of Postgre

Re: [GENERAL] SELECT LIMIT and the last rows of a query

2000-02-19 Thread Jeff Davis
Try the folowing querys: => SELECT * FROM myTable ORDER BY myColumn DESC LIMIT 5; That is exactly the last 5 rows of the query: => SELECT * FROM myTable ORDER BY myColumn; Unfortunately, the tuples are in the opposite order (thanks to DESC). If the opposite order is a problem, I guess you cou

[GENERAL] Backend terminated abnormally error ?

2000-02-19 Thread Tom
Hi As a complete newbie to PGSQL -- and having searched the archives to no avail -- the following error has been surfacing on a server that I have just begun to work on (timing is everything ;-) Error is .. Database error: Invalid SQL: select val from active_sessions where sid = '

[GENERAL] SELECT LIMIT and the last rows of a query

2000-02-19 Thread mathprof
The command: SELECT (query) LIMIT m,n gives m rows of the query's response, starting at row n+1, while SELECT (query) LIMIT m gives the first m rows of the query's response (starting at row 1). Is there any easy way to get the *last* m rows of a query? I tried: SELECT (query) LIMIT 5, -5 i

[GENERAL] Multiple-row text

2000-02-19 Thread Nicholas Negulescu
This message was sent from Geocrawler.com by "Nicholas Negulescu" <[EMAIL PROTECTED]> Be sure to reply to that address. Hi, I'm looking for a solution to the 8k limit on text in Postgres. I want the text to be searchable, so a large object is out. Does anybody have a method to split text large

Re: [GENERAL] Deleting large objects sans index

2000-02-19 Thread Howie
On Wed, 16 Feb 2000 [EMAIL PROTECTED] wrote: > What's the quickest way to delete all PostgreSQL large objects? Is there a > system table that lists the oids of existing large objects? I expect the > command is something like: > > => select lo_unlink(SOME_ATTRIBUTE) from SOME_SYSTEM_TABLE > > bu