Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
EXTRACT not even trying to work, or maybe I'm crazy (Npgsql + C#)
Post Flair (click to view more posts with a particular flair)
Post Body

I'm about at my wits end here. Normally to find all the rows with a timestamp (w/o timezone) i use date_trunc but for my current use case i tried extract (example below). It worked perfectly in PGadmin but when I implimented it in c# using Npgsql, suddenly it wouldn't work. the program hung with no output or errors indicating there was a problem. I'm working with large pools of data and need to process them a month at a time so for something like this:

SELECT * FROM (the table) WHERE EXTRACT('month' FROM createdAt) = 10 AND EXTRACT('year' FROM createdAt) = 2023;

to give me everything from October last year is a godsend. Has anybody run into this issue? where the query works in PGadmin but doesn't using Npgsql? I've googled a lot and cant find any similar issue

Author
User Disabled
Account Strength
0%
Disabled 3 weeks ago
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
8,120
Link Karma
4,185
Comment Karma
3,143
Profile updated: 1 week ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
10 months ago