Re: patch for "Sequence: calculate next value to be expected" - Mailing list pgadmin-hackers

From 权宗亮
Subject Re: patch for "Sequence: calculate next value to be expected"
Date
Msg-id CAE7Kk4h+mN=frEUSDfsNvxMpDwXKGxtt23n=tM63RtSKs_vXng@mail.gmail.com
Whole thread Raw
In response to Re: patch for "Sequence: calculate next value to be expected"  (Dave Page <dpage@pgadmin.org>)
Responses Re: patch for "Sequence: calculate next value to be expected"
List pgadmin-hackers


2012/9/5 Dave Page <dpage@pgadmin.org>
Hi

On Wed, Sep 5, 2012 at 3:11 AM, Quan Zongliang <quanzongliang@gmail.com> wrote:
>
> Sorry, patch again.
> When the sequence is not called, nextValue should be lastValue.
> Otherwise, it is lastValue + increment.

That one still doesn't apply (though, the other one now does).
dos2unix didn't help :-(. Not sure why you're seeing those problems -
I've used VC++ for years without problems - if memory serves, it
normally uses the same lineendings as are already in use.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


That's weird.

I downloaded the file from this mail. It can not be applied.

Before send it, I tried to apply by "git apply" command to make sure it is Ok.

Let's try zip file.

Quan Zongliang
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: little patch for "Detect serial columns from pg_depend" and bugfix
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Display the next expected value for a sequence in t