Skip to content

Update postgresql_type.go #3838

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from
Closed

Update postgresql_type.go #3838

wants to merge 1 commit into from

Conversation

theAnuragMishra
Copy link
Contributor

Check notNull and emitPointersForNull before checking postgres driver

Check notNull and emitPointersForNull before checking postgres driver
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang labels Feb 12, 2025
@benjaco
Copy link

benjaco commented Feb 13, 2025

Hi, it looked like you took a stab at #3837 thank you for giving it a shot

Why was this closed? I can see there is a lot of tests there fails, the question should then be if the new output is the desired or not? Is it to big of a breaking change? should it be behind a new flag?

It could be nice if it could be reopened so we can have the discausssion

@theAnuragMishra
Copy link
Contributor Author

Hey @benjaco !! I didn't want to just steal your idea. I had the same problem (time.Time instead of *time.Time being emitted). So I did a Google search that took me to your issue. I had done this kind of a pr before for sqlc. So I decided to do another.
Closed this one for another that I opened with a patch branch.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants