[GENERAL] query help

2001-09-07 Thread Jeff Patterson

This seems like such a basic function that I'm sure I am missing something
fundamental. I have a table, say xref, whose columns are primary key values for
other tables. Some of theses keys may be NULL for a given row in xref. I want
to create a query that returns the corresponding entries in the other tables.

xref:
drug_id | function_id|syst_id |text_id
--
d0001   | 2  |   3| 3423
d0001   | 5  || 5678
d0056   | 3  |   5|

system_id:
syst_id | syst_desc
---
3   | renal
4   | hepatic
5   |  respiratory

clinical_text:
text_id| clinical_text
---
3423   | 'some medical mumbo jumbo'
5678   | 'more of the same'

I want the syst_desc and clinical_text (plus other similar data from tables not
shown) given a drug_id and function_id.

Any help?

Thanks a bunch,

Jeff Patterson
The Melanoma Patients' Information Page
http://www.mpip.org



-- 
Jeff Patterson
Site Administrator
The Melanoma Patients' Information Page
http://www.mpip.org/

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



[GENERAL] plperl in 7.1

2001-05-18 Thread Jeff Patterson
Title: plperl in 7.1






I recently upgraded from 7.0.3 to 7.1. Everything went fine until I went to install plperl using createlang. It throws the following error message:

ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: /usr/lib/perl5/5.6.0/i686-linux/auto/Opcode/Opcode.so: undefined symbol: Perl_save_vptr

createlang: language installation failed.


Any ideas?

 

---

Jeffery S. Patterson

Meta-Lynx


e-mail: jpat@meta-lynx.com

Phone : 707-431-9320

Fax : 707-433-2918


Meta-Lynx

132 Mill St. Suite 210

Healdsburg, CA 95448




===

This message contains information that may be confidential and

privileged. Unless you are the addressee (or authorized to receive for

the addressee), you may not use, copy or disclose to anyone the message

or any information contained in the message. If you have received the

message in error, please advise the sender by reply e-mail

jpat@meta-lynx.com, and delete the message. Thank you very much.

===






[GENERAL] PL/Perl in 7.1.1

2001-05-16 Thread Jeff Patterson

I recently upgraded from 7.0.3 to 7.1. Everything went fine until I went to 
install plperl using createlang. It throws the following error message:

ERROR:  Load of file /usr/local/pgsql/lib/plperl.so failed: 
/usr/lib/perl5/5.6.0/i686-linux/auto/Opcode/Opcode.so: undefined symbol: Perl_save_vptr

createlang: language installation failed.

I verified the plperl.so file compiled without problems and is installed 
correctly at /usr/local/pgsql/lib/.

Any ideas?

-- 
Jeff Patterson
Site Administrator
The Melanoma Patients' Information Page
http://www.mpip.org/

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly