Re: Multiple inserts with two levels of foreign keys

2023-10-08 Thread Dow Drake
Thanks Peter! I'll take a close look at your suggestion when I get a chance. But I've already implemented a Python script that solves my actual problem based on the pattern that Alvaro Herrera suggested for the toy problem I described here. It's working very well to reproduce the farm with sever

Re: Multiple inserts with two levels of foreign keys

2023-10-08 Thread Peter J. Holzer
On 2023-10-05 09:59:24 -0500, Ron wrote: > But honestly, the amount of text duplication hurts my "inner programmer".  > And it would have to be generated dynamically, since you don't know how many > crops were delivered.  #shudder Yes, this seems like the kind of problem that I would definitely so