Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B0D0B64FD35 for ; Thu, 28 Aug 2008 11:38:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07275-03 for ; Thu, 28 Aug 2008 11:38:01 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.185]) by postgresql.org (Postfix) with ESMTP id 8A16264FCBD for ; Thu, 28 Aug 2008 11:38:06 -0300 (ADT) Received: by gv-out-0910.google.com with SMTP id i36so25699gve.7 for ; Thu, 28 Aug 2008 07:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gubLlb1xpsvUTaLaax1cZ7Rsqmt8IIEsY6Ik6yoSwoQ=; b=uN1eXuGMrQe3iDz9jRMD1uzFhw8k5rr7w5BerQOw/5Y2LwTU/iozkOWX2m2USOMwgp A2T5W3RTgMn45dIDa8qNFpo1XN8+I3MKFIaWw1h7s7K2h0QTntgfF/OgOyGm4BGNGCmV xWp1q5hEcqJlrYd72mu9XMcGa1uywQIXW+QCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uTKaodwE9WSHqNK9z8AGJ5ljZT8+1xKt9nW4lCCaanQ+ECwRq2Qa5+5m0zab/ElVaH jR4FOeaflyNzkfItuwDv2EsSV+xUiFeJXE57FvBaaE8wEF9PVh1Ub0LCEWmnMfRjzEJ3 n/e8vnRn5t3mQm/j2Axc/wc9ueW2iEm5uzem4= Received: by 10.103.170.6 with SMTP id x6mr952812muo.42.1219934284548; Thu, 28 Aug 2008 07:38:04 -0700 (PDT) Received: by 10.103.213.6 with HTTP; Thu, 28 Aug 2008 07:38:04 -0700 (PDT) Message-ID: Date: Thu, 28 Aug 2008 15:38:04 +0100 From: "Peter Childs" To: John Subject: Re: Checking Postgres Version Question Cc: pgsql-admin@postgresql.org In-Reply-To: <48B6B551.4010105@johndubchak.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48B6B551.4010105@johndubchak.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/215 X-Sequence-Number: 30060 2008/8/28 John : > Hi, > > Is there a way to check which version of Postgres is installed on a > particular Linux box without query the RPM database? > > For instance, is there a "psql --version" command, or something similar, > that I can use? > > Thanks, > John > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin > select version(); (for the server version) psql --version (for the client version) Peter