RE: Imperfect solutions - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject RE: Imperfect solutions
Date
Msg-id ECEHIKNFIMMECLEBJFIGKEOHCAAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to RE: Imperfect solutions  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List 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 by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: Re: REPLACE INTO table a la mySQL
Next
From: mlw
Date:
Subject: Re: REPLACE INTO table a la mySQL