RE: Imperfect solutions

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Imperfect solutions
Date: 2001-06-06 02:09:55
Message-ID: ECEHIKNFIMMECLEBJFIGKEOHCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-06-06 02:10:44 RE: Re: REPLACE INTO table a la mySQL
Previous Message Stephan Szabo 2001-06-06 01:58:46 RE: Imperfect solutions