Vik Fearing
@vik.thegresqlpost.org
190 followers 110 following 360 posts
Member of the ISO/IEC working group for SQL. Performance is an implementation detail. HUGE fan of MLB and WFTDA, and pretty much not interested in any other sport. he/him by default but will happily answer to anything. A cheeseburger in paradise. #IYKYK
Posts Media Videos Starter Packs
vik.thegresqlpost.org
If you're parsing postgres's text representation of arrays, are you handling custom separators?

For example, the box type uses ';' instead of ',' and any custom type can choose their own.
vik.thegresqlpost.org
Now that you know it exists, you have to implement it in @jooq.org. I don’t make the rules.
vik.thegresqlpost.org
The bounds get lost during pretty much any operation. One day I will go spelunking to see why this exists in the first place.

#PostgreSQLQuirks
vik.thegresqlpost.org
My indexing starts where I tell it to.

VALUES ((CAST('[-1:1]={1,2,3}' AS INTEGER ARRAY))[0])

=> 2
Reposted by Vik Fearing
clune.org
Also Claude, 🔥
Output from Claude: "The verbosity you'll encounter isn't accidental; it's COBOL heritage, designed for business analysts to supposedly read. Whether that goal was achieved is debatable."
Reposted by Vik Fearing
datacode101.bsky.social
Edgar F. Codd. In 1970, working at IBM, Codd published his paper, “A Relational Model of Data for Large Shared Data Banks.” It introduced a new model for managing data, now accepted as the dominant approach for Relational Database Management Systems (RDBMS).
www.seas.upenn.edu/~zives/03f/c...
#sql
www.seas.upenn.edu
vik.thegresqlpost.org
Yes. You can change the default storage properties for a lot of data types, but it only operates on single values.
vik.thegresqlpost.org
They are not compressed. Certain values might be (see TOAST) but not the page itself.
Reposted by Vik Fearing
vik.thegresqlpost.org
My calendar only goes up to 12 months, so this must be fake news.
merriam-webster.com
We are thrilled to announce that our NEW Large Language Model will be released on 11.18.25.
vik.thegresqlpost.org
Which is exactly the wrong time to start testing. At the very latest you should have been testing RC1.
vik.thegresqlpost.org
Why would you only start testing now? You should have been testing weeks ago!
vik.thegresqlpost.org
Simple solution: don't migrate!
vik.thegresqlpost.org
Correct. We write SQL for fun (and profits).
vik.thegresqlpost.org
Why PostgreSQL indexes feel like magic (and when they backfire)

toxigon.com/understandin...
toxigon.com
Reposted by Vik Fearing
stasb.bsky.social
Did you know you could compare multiple fields at a time in #SQL?
vik.thegresqlpost.org
On DROP?

Anyway, requiring a WHERE on DELETE does nothing, you can always write WHERE TRUE.