Re: What does # mean in plpgsql? - Mailing list pgsql-general

From Stephen Cook
Subject Re: What does # mean in plpgsql?
Date
Msg-id 4C641102.4070204@gmail.com
Whole thread Raw
In response to Re: What does # mean in plpgsql?  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
On 8/12/2010 10:56 AM, Pavel Stehule wrote:
> so this means a xor operation
>
> 2010/8/12 Stephen Cook<sclists@gmail.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

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: MySQL versus Postgres
Next
From: Tom Lane
Date:
Subject: Re: InitDB: Bad system call