Re: bugs or my fault - Mailing list pgsql-bugs

From Yudianto Prasetyo
Subject Re: bugs or my fault
Date
Msg-id CAN7WH3J_KJNCbC-G644Rqi5Oz0b5LYEpsG4NhZ5yJrh9ioaa+Q@mail.gmail.com
Whole thread Raw
In response to Re: bugs or my fault  (Sergei Kornilov <sk@zsrv.org>)
Responses Re: bugs or my fault
List pgsql-bugs
"No, the hash from partition key is used, not partition key itself."

Sorry, I still don't understand the meaning of the sentence above. can you give a simple example.

best regards,

yudianto

On Wed, Sep 15, 2021 at 7:36 PM Sergei Kornilov <sk@zsrv.org> wrote:
Hello

> from the document, I think the determinant of each row in the partition is the residual value (partition key divided by the specified modulus)

No, the hash from partition key is used, not partition key itself. (How to divide text "hello!" by the specified modulus?)

regards, Sergei

pgsql-bugs by date:

Previous
From: Sergei Kornilov
Date:
Subject: Re: bugs or my fault
Next
From: Sergei Kornilov
Date:
Subject: Re: bugs or my fault