Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Using meta-data...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 15310 of 17602
Post > Topic >>

Using meta-data for foreign key?

by maiku41@[EMAIL PROTECTED] (Mike Blackwell) Apr 17, 2008 at 10:23 AM

I have an existing table in an app, along the lines of:

CREATE TABLE foo (
  name text,
  address text,
  some_numeric_info integer,
  <a bunch of additional fields here>
);

I now need to be able to associate additional information (e.g. printing
order) with each field.  Is it a bad idea to use the (fully qualified)
field name as a foreign key to link back to the table meta-data?  Is
there a better way?


-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 6 Posts in Topic:
Using meta-data for foreign key?
maiku41@[EMAIL PROTECTED]  2008-04-17 10:23:10 
Re: Using meta-data for foreign key?
erik@[EMAIL PROTECTED] (  2008-04-17 11:14:57 
Re: Using meta-data for foreign key?
maiku41@[EMAIL PROTECTED]  2008-04-17 11:32:28 
Re: Using meta-data for foreign key?
tgl@[EMAIL PROTECTED] (T  2008-04-17 12:44:33 
Re: Using meta-data for foreign key?
Jon.Roberts@[EMAIL PROTEC  2008-04-17 12:55:04 
Re: Using meta-data for foreign key?
david.t.wilson@[EMAIL PRO  2008-04-17 14:05:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:34:53 CST 2008.