Re: patch for "Sequence: calculate next value to be expected"

From: 权宗亮 <quanzongliang(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: patch for "Sequence: calculate next value to be expected"
Date: 2012-09-05 14:04:38
Message-ID: CAE7Kk4h+mN=frEUSDfsNvxMpDwXKGxtt23n=tM63RtSKs_vXng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

2012/9/5 Dave Page <dpage(at)pgadmin(dot)org>

> Hi
>
> On Wed, Sep 5, 2012 at 3:11 AM, Quan Zongliang <quanzongliang(at)gmail(dot)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 Content-Type Size
pgSequence.zip application/zip 749 bytes

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-09-05 14:10:20 pgAdmin III commit: Display the next expected value for a sequence in t
Previous Message Dave Page 2012-09-05 13:49:42 Re: little patch for "Detect serial columns from pg_depend" and bugfix