pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir V. Zolotych <gsmith@eurocom.od.ua>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: all columns but one
Date: Sun, 31 Dec 2000 12:14:42 +0200
Message-ID: <3A4F0712.EA1D88B8@eurocom.od.ua> (raw)

  Hello all,
Happy New Year!

Does anybody know is it possible to tell 
"all columns but one" in sentences like the following:

insert into bar (b,c,d,e,f,g,h) select (b, c,d,e,f,g,h) from foo;

where foo, bar contains the same set of columns just as mentioned 
above plus column a, e.g. the full set of columns is: a,b,c,d,e,f,g,h

Thanks!

-- 
Vladimir Zolotych                         gsmith@eurocom.od.ua

Attachments:

gsmith.vcf (text/x-vcard, 166B) download begin:vcard n:Zolotych;Valdimir V. x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:gsmith@eurocom.od.ua x-mozilla-cpt:;0 fn:Valdimir V. Zolotych end:vcard

Message-ID: <3A4F0712.EA1D88B8@eurocom.od.ua>
Permalink:  ../3A4F0712.EA1D88B8@eurocom.od.ua/
Also on:    postgresql.org/message-id/3A4F0712.EA1D88B8@eurocom.od.ua

 · 

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-admin@postgresql.org
  Cc: gsmith@eurocom.od.ua
  Subject: Re: all columns but one
  In-Reply-To: <3A4F0712.EA1D88B8@eurocom.od.ua>
  References: <3A4F0712.EA1D88B8@eurocom.od.ua>

* 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