Search Postgresql Archives

Re: "no unpinned buffers available" ? why? (hstore and

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hubert depesz lubaczewski wrote:
On 1/3/07, Richard Huxton <dev@xxxxxxxxxxxx> wrote:

If you do that separately at the start of the process, (one query per
custom column in the old table) then it becomes straightforward.


no, because meaning of "col1" in advert_custom_fields is different for each
record.
for one record it's codename might be "email" for another record it might be
"engine size".
And is that not what's stored in "v_category_custom_fields"? So you can do the transformation and get (advert_id=1, codename='col1', value='vvv') then use v_category_custom_fields to update the 'col1' part.

--
  Richard Huxton
  Archonet Ltd


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux