Skip to content

Instantly share code, notes, and snippets.

View tarakeshp's full-sized avatar

Tharakesh Pulikonda tarakeshp

View GitHub Profile
@fabiolimace
fabiolimace / ksuid.sql
Last active November 11, 2024 08:40
Functions for generating Segment's KSUIDs on PostgreSQL
/*
* MIT License
*
* Copyright (c) 2023 Fabio Lima
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is