RE: Imperfect solutions

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема RE: Imperfect solutions
Дата
Msg-id ECEHIKNFIMMECLEBJFIGKEOHCAAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на RE: Imperfect solutions  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-hackers
> (I've got a query that can find all
> foreign keys on a
> > relation, and what they relate to, that I'm going to add to psql).
>
> How'd you do the splitting of the arguments to get the columns referenced?
> That was the biggest problem I was having, trying to get the bytea split
> up.  (Well, without writing a function to do it for me)

My original functionality for showing foreign keys was implemented in PHP,
so all I had to do was go:

$tgargs = explode('\000', $row['tgargs']);

It's going to be harder to do that in C I guess...

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: RE: Re: REPLACE INTO table a la mySQL
Следующее
От: mlw
Дата:
Сообщение: Re: REPLACE INTO table a la mySQL