Thread: Patch to support ordering of tid

Patch to support ordering of tid

From
"Arturo Josè Montes Sinning"
Date:
Hi

I am submitting a patch to support order based on columns with tid.
Look the example

select ctid, * from pg_type
order by 1 desc

Or

select distinct t1.ctid, * from pg_type t1

The file patch.tgz containts diff files relative to src directory.

Thanks

Arturo

Attachment

Re: Patch to support ordering of tid

From
Rod Taylor
Date:
I think the patch is backwards.  Seems to be removing tidlt/tidgt.

Could you resubmit as a recursive context diff?



On Sun, 2002-09-08 at 22:52, Arturo Josè Montes Sinning wrote:
> Hi
>
> I am submitting a patch to support order based on columns with tid.
> Look the example
>
> select ctid, * from pg_type
> order by 1 desc
>
> Or
>
> select distinct t1.ctid, * from pg_type t1
>
> The file patch.tgz containts diff files relative to src directory.
>
> Thanks
>
> Arturo
> ----
>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
  Rod Taylor


Re: Patch to support ordering of tid

From
"Arturo Josè Montes Sinning"
Date:
Hi Rod

Rod Taylor wrote:

> I think the patch is backwards.  Seems to be removing tidlt/tidgt.

Sorry I inverted the parametres to diff.


> Could you resubmit as a recursive context diff?

Do you mean a diff -r?


>
>
> On Sun, 2002-09-08 at 22:52, Arturo Josè Montes Sinning wrote:
>
>> Hi
>>
>> I am submitting a patch to support order based on columns with tid.
>> Look the example
>>
>> select ctid, * from pg_type
>> order by 1 desc
>>
>> Or
>>
>> select distinct t1.ctid, * from pg_type t1
>>
>> The file patch.tgz containts diff files relative to src directory.
>>
>> Thanks
>>
>> Arturo
>> ----
>>
>
>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 3: if posting/reading through Usenet, please send an appropriate
>> subscribe-nomail command to majordomo@postgresql.org so that your
>> message can get through to the mailing list cleanly


Re: Patch to support ordering of tid

From
"Ross J. Reedstrom"
Date:
On Mon, Sep 09, 2002 at 02:16:11PM -0500, Arturo Jos? Montes Sinning wrote:
> Hi Rod
>
> Rod Taylor wrote:
>
> >I think the patch is backwards.  Seems to be removing tidlt/tidgt.
>
> Sorry I inverted the parametres to diff.
>
>
> >Could you resubmit as a recursive context diff?
>
> Do you mean a diff -r?

diff -rc

This allows for small changes in the files being patched, by including
lines of context around the changed points, which can be matched to the
file being patched.

Ross