pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Hyatt, Gordon <Gordon.Hyatt@joslin.harvard.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: plpgsql question/problem
Date: Mon, 13 Aug 2007 17:06:10 -0400
Message-ID: <22026.1187039170@sss.pgh.pa.us> (raw)
In-Reply-To: <dcc563d10708131346u19a6759ci5e30ba1c47930565@mail.gmail.com>
References: <8EA62D1B324F0A438A36E8B5F0848EB808184C@jdcmail1.joslin.harvard.edu>
	<dcc563d10708131346u19a6759ci5e30ba1c47930565@mail.gmail.com>

"Scott Marlowe" <scott.marlowe@gmail.com> writes:
> On 8/13/07, Hyatt, Gordon <Gordon.Hyatt@joslin.harvard.edu> wrote:
>> When I attempt to run insert_a_and_b, insert_b fails with a foreign key violation.

> I ran your exact same code and it worked fine.  Note that I changed one line:

Works for me too (with Scott's correction), in 8.1.x, 8.2.x, and HEAD.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <22026.1187039170@sss.pgh.pa.us>
Permalink:  ../22026.1187039170@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22026.1187039170@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, Gordon.Hyatt@joslin.harvard.edu
  Subject: Re: plpgsql question/problem
  In-Reply-To: <22026.1187039170@sss.pgh.pa.us>

* 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