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

Pg12: Undefined column: 7 ERROR: column d.adsrc does not exist #28

Closed
francesco-loreti opened this issue Nov 26, 2019 · 2 comments
Closed

Comments

@francesco-loreti
Copy link

Cause:
In postgresql 12(deprecated from pg11), it was removed the query field adsrc from table `pg_attrdef``.

Solution:
For resolve the problem you can replace with pg_get_expr(d.adbin, d.adrelid) AS default_value info Zend/DbAdapter/Pdo line 159.

Thanks for your job!
Francesco

Shardj added a commit that referenced this issue Nov 29, 2019
Replace d.adsrc that it's removed into postgresql 12 #28
@Shardj
Copy link
Owner

Shardj commented Nov 29, 2019

Merged your fix

@joankent
Copy link

joankent commented Feb 4, 2023

can you share the steps for this fix? thank you

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

3 participants