Re: insert into table from select..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dale(at)icr(dot)com(dot)au
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: insert into table from select..
Date: 2000-08-11 15:29:04
Message-ID: 2390.966007744@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dale Walker <dale(at)icr(dot)com(dot)au> writes:
> \set fieldnames 'outdate,luser'
> insert into log (:fieldnames) select :fieldnames from logtmp;

> Everything works OK except for the last line...

So what happens? Offhand I see no misbehavior in this example (with
current sources...)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-08-11 15:36:52 Re: problem with plpgsql function
Previous Message Eric Spaulding 2000-08-11 14:16:08