pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: Casey Allen Shobe <cshobe@softhome.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Is my MySQL Gaining ?
Date: Sun, 28 Dec 2003 20:56:07 +1100
Message-ID: <20031228095607.GC21488@svana.org> (raw)
In-Reply-To: <200312280429.56751.cshobe@softhome.net>
References: <Pine.LNX.4.44.0312271122130.20117-100000@brahma.wcg.mcgill.ca>
	<200312280242.20636.cshobe@softhome.net>
	<20031228075744.GB21488@svana.org>
	<200312280429.56751.cshobe@softhome.net>

On Sun, Dec 28, 2003 at 04:29:56AM -0500, Casey Allen Shobe wrote:
> Martijn van Oosterhout (Sunday 28 December 2003 02:57)
> > Yes, they do vary, there is no stardard. As you point out, DB2 and MySQL
> > use different commands, as does probably every other database. There is no
> > command that is going to work everywhere.
> 
> That's not what I meant.  I mean that they *only* work in the psql client, not 
> when using PostgreSQL via ODBC or another interface.

Hmm, I see. Obviously you could use the -E option to get the queries but it's
not the same I grant you. SQL now defines an INFORMATION_SCHEMA, maybe that
will bring some method to the madness.

> > psql has variables, though I can't comment on how they compare to MSSQL's.
> 
> Do you happen to have a link to documentation?  If these aren't new, then I've 
> just somehow overlooked it.  I'd love to read further...

Interesting, I found them in psql's manpage under ADVANCED FEATURES -
VARIABLES. Let's see if I can find it on the web... Here's a web version of
the manpage.

http://www.postgresql.org/docs/current/interactive/app-psql.html

They're not in the backend though, though I'm not sure why you'd want that.
Ofcourse, pl/pgsql has variables as do all the other languages.

Hope this helps,
-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> (... have gone from d-i being barely usable even by its developers
> anywhere, to being about 20% done. Sweet. And the last 80% usually takes
> 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce

view thread (188+ messages)  latest in thread

Message-ID: <20031228095607.GC21488@svana.org>
Permalink:  ../20031228095607.GC21488@svana.org/
Also on:    postgresql.org/message-id/20031228095607.GC21488@svana.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kleptog@svana.org, cshobe@softhome.net
  Subject: Re: Is my MySQL Gaining ?
  In-Reply-To: <20031228095607.GC21488@svana.org>
  References: <Pine.LNX.4.44.0312271122130.20117-100000@brahma.wcg.mcgill.ca> <200312280242.20636.cshobe@softhome.net> <20031228075744.GB21488@svana.org> <200312280429.56751.cshobe@softhome.net> <20031228095607.GC21488@svana.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox