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

omero db script → psql: identifiers truncated #6211

Open
manics opened this issue Feb 3, 2020 · 0 comments
Open

omero db script → psql: identifiers truncated #6211

manics opened this issue Feb 3, 2020 · 0 comments

Comments

@manics
Copy link
Member

manics commented Feb 3, 2020

Use psql to load the sql file generated by omero db script. Redirect stdout to /dev/null so only stderr is shown. These warnings are generated:

$ psql -hlocalhost -p 15432 -Uomero < OMERO5.4__0.sql > /dev/null
NOTICE:  identifier "fkcontraststretchingcontext_codomainmapcontext_id_codomainmapcontext" will be truncated to "fkcontraststretchingcontext_codomainmapcontext_id_codomainmapco"
NOTICE:  identifier "fklogicalchannel_photometricinterpretation_photometricinterpretation" will be truncated to "fklogicalchannel_photometricinterpretation_photometricinterpret"
NOTICE:  identifier "fkreverseintensitycontext_codomainmapcontext_id_codomainmapcontext" will be truncated to "fkreverseintensitycontext_codomainmapcontext_id_codomainmapcont"

see also: https://trello.com/c/Dcu5xeLo/241-omero-db-script-creates-identifiers-that-are-too-long

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

1 participant