Re: pg_query & $result re-fill

Поиск
Список
Период
Сортировка
От Stefan Schwarzer
Тема Re: pg_query & $result re-fill
Дата
Msg-id 36DDB771-164B-4802-8D69-93A894D248FE@grid.unep.ch
обсуждение исходный текст
Ответ на Re: pg_query & $result re-fill  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
>> Here I would like to check:
>>
>>       IF param1 < 75 THEN region-in-$result-should-be-set-to-NULL
>
> Not sure I get what all you're wanting to do from your message, but
> could you use a case statement in sql to do this?  Or put it in the
> where clause?

I knew it too be a bit complicated to explain....

Basically, it's more a PHP question, I guess. And that is if there is
a way to "infiltrate" the $result and change values within. Something
like

            $result[2][6] = "other value";



В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: array column and b-tree index allowing only 8191 bytes
Следующее
От: luca.ciciriello@email.it
Дата:
Сообщение: defining a variable