pthom/northwind_psql

Inserts fail for many tables here / Proposal to use SERIAL instead.

Opened this issue · 3 comments

Thanks again for preparing this.

I use it for testing, and encountered some issues on auto generated keys.

This page describes that:

  • SERIAL fields work well, and
  • can be initialized to support pre-loading of data.

These resulted my changes to your ddl, as noted in one of the links.

Hello,

Thanks for mentioning this.

I do not work much anymore on databases (and I'm sorry for not answering your proposition from one or two years ago about it).

Could you please show me a diff of what changes would be required maybe via pull request. Also, are you sure that the serial type works with older versions of Postgresql (i.e. those that are 3 years old or less).

I will leave this issue open so that user can find it if needed.