[SQLObject] Re: Postgres: DROP table CASCADE
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2004-11-29 17:25:59
|
On Mon, Nov 29, 2004 at 10:58:26AM -0600, Ian Bicking wrote: > Maybe we have to do a version check on the pg server, though > I'm not really sure how to do that (some pg_ table, I guess). SELECT version(); The result string is probably too version-dependent, I am afraid. My is # SELECT version(); version --------------------------------------------------------------- PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.95.4 (1 row) Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |