From: | Stephen Cook <sclists(at)gmail(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What does # mean in plpgsql? |
Date: | 2010-08-12 15:19:30 |
Message-ID: | 4C641102.4070204@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 8/12/2010 10:56 AM, Pavel Stehule wrote:
> so this means a xor operation
>
> 2010/8/12 Stephen Cook<sclists(at)gmail(dot)com>:
>> What does the hash mark (#) mean in plpgsql?
>>
>> I saw it used in the pseudo_encrypt function @
>> http://wiki.postgresql.org/wiki/Pseudo_encrypt, on the line:
>>
>> r2 := l1 # ((((1366.0 * r1 + 150889) % 714025) / 714025.0) * 32767)::int;
>>
>> My google-fu has failed me on this one, and I needs to know.
>>
>> Thanks!
Thanks (and also to everyone else who said the same thing almost
instantly). That's not one I have used yet (at least not in a database).
I should have known it was an operator and looked it up that way... what
threw me off was that when I paste that line in pgAdmin it changes the
font and formatting for that line. So I thought it must be something
special.
Sorry for the noise.
-- Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-08-12 15:23:19 | Re: InitDB: Bad system call |
Previous Message | Joshua D. Drake | 2010-08-12 15:12:42 | Re: MySQL versus Postgres |