pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Steffen <Christopher.Steffen@noaa.gov>
To: bodnar@malva.com.ua
Cc: pgsql-general@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Help with plpgsql - subst variable value
Date: Tue, 01 Aug 2006 21:37:23 +0000
Message-ID: <44CFC993.4060309@noaa.gov> (raw)

*Alexander Bodnar
*
Try
ObjectSeqName TEXT :=  foobar;
EXECUTE 'CREATE SEQUENCE ' || ObjectSeqName || ' start 1 increment 1 
maxvalue 2147483647';

Thanks,
Chris Steffen



view thread (2+ messages)

Message-ID: <44CFC993.4060309@noaa.gov>
Permalink:  ../44CFC993.4060309@noaa.gov/
Also on:    postgresql.org/message-id/44CFC993.4060309@noaa.gov

 · 

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-interfaces@postgresql.org
  Cc: Christopher.Steffen@noaa.gov, bodnar@malva.com.ua, pgsql-general@postgresql.org
  Subject: Re: Help with plpgsql - subst variable value
  In-Reply-To: <44CFC993.4060309@noaa.gov>

* 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