pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: renneyt@yahoo.com <renneyt@yahoo.com>
Cc: postgres <pgsql-admin@postgresql.org>
Subject: Re: pg_dump/restore problem
Date: Tue, 13 Jun 2006 18:02:42 -0500
Message-ID: <20060613230242.GO34196@pervasive.com> (raw)
In-Reply-To: <448F1FFF.50600@yahoo.com>
References: <448DD3C6.8050801@yahoo.com>
	<20060612205630.GF34196@pervasive.com>
	<448F1FFF.50600@yahoo.com>

On Tue, Jun 13, 2006 at 04:28:47PM -0400, renneyt@yahoo.com wrote:
> Does  pg_get_serial_sequence()  exist as plpgsql code? Where may I find 
> it? I would like to retrofit it into a 7.4.8 PG database.

No, but it shouldn't be terribly hard to do it in plpgsql; you just need
to build the right sequence name (assuming you haven't been messing with
the sequence names).
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (8+ messages)  latest in thread

Message-ID: <20060613230242.GO34196@pervasive.com>
Permalink:  ../20060613230242.GO34196@pervasive.com/
Also on:    postgresql.org/message-id/20060613230242.GO34196@pervasive.com

 · 

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: jnasby@pervasive.com, renneyt@yahoo.com
  Subject: Re: pg_dump/restore problem
  In-Reply-To: <20060613230242.GO34196@pervasive.com>
  References: <448DD3C6.8050801@yahoo.com> <20060612205630.GF34196@pervasive.com> <448F1FFF.50600@yahoo.com> <20060613230242.GO34196@pervasive.com>

* 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