[OT] there is a way to extract a previously applied patch?

Поиск
Список
Период
Сортировка
Искать

[OT] there is a way to extract a previously applied patch?

От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Hi,

I want to put the patch for "Allow AS to be omitted when specifying an
output column name" [1] in 8.3.5 because i'm doing a migration and
need that (for avoiding large changes in application) before May 1st,
because is only 2 .y files i tried to just copy 'n paste but the links
doesn't work.

Other idea is: is there anyway to extract patches from the repository?
The reason i want that is that the commit message let me thing that
the patch is not exactly the same that Hiroshi Saito sent


[1] http://archives.postgresql.org/pgsql-committers/2008-02/msg00172.php

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Re: [OT] there is a way to extract a previously applied patch?

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
Вложения:
Easy to do with git.

$ git log

Use "/Allow AS" to find the commit.  Oh, there it is.

$ git log -1 -p 4f08d8492598a518f803d8c2979b39f0050b0f8d > allow-as.patch

Attached for your convenience.  :-)

...Robert

Re: [OT] there is a way to extract a previously applied patch?

От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
On Wed, Jan 28, 2009 at 12:05 AM, Robert Haas  wrote:
> Easy to do with git.
>
> $ git log
>
> Use "/Allow AS" to find the commit.  Oh, there it is.
>
> $ git log -1 -p 4f08d8492598a518f803d8c2979b39f0050b0f8d > allow-as.patch
>
> Attached for your convenience.  :-)
>

thanks, i will have to start to learn GIT


-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Re: [OT] there is a way to extract a previously applied patch?

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:


Robert Haas wrote:
> Easy to do with git.
>
> $ git log
>
> Use "/Allow AS" to find the commit.  Oh, there it is.
>
> $ git log -1 -p 4f08d8492598a518f803d8c2979b39f0050b0f8d > allow-as.patch
>
> Attached for your convenience.  :-)
>   

Please don't post patches for private use on the list.

cheers

andrew


Re: [OT] there is a way to extract a previously applied patch?

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
On Wednesday 28 January 2009 07:05:17 Robert Haas wrote:
> Easy to do with git.
>
> $ git log
>
> Use "/Allow AS" to find the commit.  Oh, there it is.
>
> $ git log -1 -p 4f08d8492598a518f803d8c2979b39f0050b0f8d > allow-as.patch
>
> Attached for your convenience.  :-)

More compactly, git show $HASH also works.  TIMTOWTDI, apparently.

FAQ