Re: [HACKERS] FOREIGN KEY and shift/reduce

From: wieck(at)debis(dot)com (Jan Wieck)
To: Inoue(at)tpf(dot)co(dot)jp (Hiroshi Inoue)
Cc: wieck(at)debis(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] FOREIGN KEY and shift/reduce
Date: 1999-12-07 15:42:53
Message-ID: m11vMlR-0003kGC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hiroshi Inoue wrote:

> Nice.
> I tried a little.
>
> [...]
> => begin;
> BEGIN
> => delete from ri1 where id=1;
> DELETE 1
>
> < session 2 >
> => insert into ri2 values (1);
> INSERT 92960 1
>
> < session 1 >
> => commit;
> END
> => select * from ri1;
> id
> --
> (0 rows)
> => select * from ri2;
> id
> --
> 1
> (1 row)
>
> Is this a temporary behavior ?

Fixed.

Session 2 waits now until session 1 ends transaction.

I'm thinking about another enhancement to the regression test
now. Something where at least two sessions can run queries
in a predefined order. Otherwise, something like the above
cannot be checked during regression.

I'm not sure how that can be done with a standard shell, and
that's a must. Maybe something using named pipes and so -
will play around a little.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1999-12-07 15:50:18 Re: [HACKERS] When is 7.0 going Beta?
Previous Message Tom Lane 1999-12-07 15:40:54 Re: [HACKERS] When is 7.0 going Beta?