By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

psycopg2 array of composite

P: 1
hi, i need to insert into an array of composite type, i could do this with pgadmin, but i cant do it with psycopg2, would you please help me.

create table new_type (
a int,
b int
);

create table second(
agg new_type[ ]
);

how can i insert into second table by psycopg2??
Mar 20 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.