Re: What does # mean in plpgsql?

Поиск
Список
Период
Сортировка
От Stephen Cook
Тема Re: What does # mean in plpgsql?
Дата
Msg-id 4C641102.4070204@gmail.com
обсуждение исходный текст
Ответ на Re: What does # mean in plpgsql?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: MySQL versus Postgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: InitDB: Bad system call