Search Postgresql Archives

Re: reduce number of multiple values to be inserted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On May 29, 2018, at 6:32 PM, tango ward <tangoward15@xxxxxxxxx> wrote:

On Wed, May 30, 2018 at 8:29 AM, Rob Sargent <robjsargent@xxxxxxxxx> wrote:

Is “current_timezone, current_timezone” just a typo?  I think you need to make the 117 data lines and load using \copy



Sorry, yeah, it's current_timestamp. 


David and I are suggesting the same thing.  You have 117 unique student definitions so you need to explicitly define each of them. That can be in your python code or in a file your python code reads in and generates inserts or simply a psql script which reads the file using \copy tablename from file.  

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux