pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Knut P. Lehre <k.p.lehre@tiscali.no>
Cc: pgsql-sql@postgresql.org
Subject: Re: plpgsql, double quoted column names containing spaces/hyphens
Date: Sat, 21 Jun 2003 18:18:01 -0400
Message-ID: <29697.1056233881@sss.pgh.pa.us> (raw)
In-Reply-To: <5.1.0.14.2.20030620214454.00c200e0@uio-pop.uio.no>
References: <5.1.0.14.2.20030620214454.00c200e0@uio-pop.uio.no>

"Knut P. Lehre" <k.p.lehre@tiscali.no> writes:
> Using pgsql 7.2.1 (PeerDirect beta4) on WinXP Prof SP1. Client: MS 

> In plpgsql, I can access columns with a name containing capital letters by 
> enclosing the name in double quotes: tbl."ColName"
> However, if the quoted name contains spaces or hyphens I get an error 
> message.

This is fixed in 7.3.

			regards, tom lane



view thread (2+ messages)

Message-ID: <29697.1056233881@sss.pgh.pa.us>
Permalink:  ../29697.1056233881@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29697.1056233881@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, k.p.lehre@tiscali.no
  Subject: Re: plpgsql, double quoted column names containing spaces/hyphens
  In-Reply-To: <29697.1056233881@sss.pgh.pa.us>

* 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