Support for EXCLUDE USING#4
Open
deem0n wants to merge 3 commits intojuliendelplanque:masterfrom
deem0n:master
Open
Support for EXCLUDE USING#4deem0n wants to merge 3 commits intojuliendelplanque:masterfrom deem0n:master
deem0n wants to merge 3 commits intojuliendelplanque:masterfrom
deem0n:master
Conversation
Author
|
Also, pg_constraint.conkey may have colIndex = 0. That means that a function was used. ALTER TABLE vcp.attachments
ADD CONSTRAINT unique_vcp_attachment_task_constr
EXCLUDE USING gist (dataset_id WITH =, metric_id WITH =, location_id WITH =,
period_type WITH =, user_id WITH =, assignee_id WITH =,
tstzrange(start_time, expiration_time, '()') WITH &&)
WHERE (attachment_type = 'vcp-task');
|
Owner
|
Hello, First of all, thank you very much for your contribution! I'm happy to read that you were able to import your schema. Your change seems to be ok but there are several details to fix:
|
Author
|
Julien, I definitely need help with |
Author
|
Hi, added SqlExtrusionConstraint into PgMetadata: olivierauverlot/PgMetadata#9 |
Author
|
Hi, it was merged into PgMetadata: olivierauverlot/PgMetadata#9 Any advise on next steps? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I just tried your code on the production database with 10,000 objects. Seems exclude constraints were not yet implemented, so here is my attempt to fix it. I am not as efficient with Smalltalk as with PL/pgSQL ;-)
With this fix I have loaded all objects from the DB fine!