Re: [GENERAL] adding column constraint

2000-07-26 Thread Timothy H. Keitt
the_table_to_be_altered and so on.) Tim mikeo wrote: > > alter table cust add constraint fk_cust_bd_id foreign key (bd_id) > references bill_dist (bd_id); > > At 12:57 PM 7/26/00 -0700, Timothy H. Keitt wrote: > >Can someone give an example of how to add a foreign key constraint to

[GENERAL] adding column constraint

2000-07-26 Thread Timothy H. Keitt
Can someone give an example of how to add a foreign key constraint to an existing table? (Pgsql and the man page differ and neither syntax seems to work.) I've tried: alter table mytable add constraint col foreign key references reftable with no luck. Tim -- Timothy H. Keitt Nat

Re: [HACKERS] Re: [GENERAL] Revised Copyright: is this morepalatable?

2000-07-06 Thread Timothy H. Keitt
tricts organizations from making closed source modifications for internal use. T. -- Timothy H. Keitt National Center for Ecological Analysis and Synthesis 735 State Street, Suite 300, Santa Barbara, CA 93101 Phone: 805-892-2519, FAX: 805-892-2510 http://www.nceas.ucsb.edu/~keitt/

[GENERAL] Should've used postgresql! ;-)

2000-03-24 Thread Timothy H. Keitt
http://linuxtoday.com/ -- Timothy H. Keitt National Center for Ecological Analysis and Synthesis 735 State Street, Suite 300, Santa Barbara, CA 93101 Phone: 805-892-2519, FAX: 805-892-2510 http://www.nceas.ucsb.edu/~keitt/ Fatal error: Call to unsupported or undefined function mysql_errno

[GENERAL] C code for calculating "edit" distance

2000-03-19 Thread Timothy H. Keitt
nding keys.) Here's some output: select levenshtein_distance('test', 'texts'); levenshtein_distance 2 (1 row) Enjoy. Tim -- Timothy H. Keitt National Center for Ecological Analysis and Synthesis 735 State Street, Suite 300, San

Re: [GENERAL] query seems too slow

1999-11-03 Thread Timothy H. Keitt
uld have index both for tenstop.route_id and > history.route_id . From the index name, it not clear if you have > or not. No matter what, add indeces!!! > > >From: "Timothy H. Keitt" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: [GENERAL] quer