Re: \set a multılıne varıable

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: samı <sami(dot)jan(at)gmail(dot)com>
Subject: Re: \set a multılıne varıable
Date: 2007-03-06 18:26:55
Message-ID: 200703061926.55819.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

samı wrote:
> How do you set a multılıne varıable usıng psql ?

peter=# \set foo 'abc\ndef'
peter=# \echo :foo
abc
def

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message andyk 2007-03-06 18:38:22 Re: No buffer space available
Previous Message Ed L. 2007-03-06 18:10:08 vacuum error