Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
valhuber opened this issue Apr 24, 2024 · 3 comments
Open

Comments

@valhuber
Copy link

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.

@pthom
Copy link
Owner

pthom commented Apr 25, 2024

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).

@valhuber
Copy link
Author

valhuber commented Apr 25, 2024 via email

@pthom
Copy link
Owner

pthom commented Apr 25, 2024

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

@pthom pthom changed the title Inserts fail for many tables here Inserts fail for many tables here / Proposal to use SERIAL instead. Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants