
Closed
Posted
Paid on delivery
I need a reusable SQL/PL-pgSQL routine that can handle Create, Read and Update actions against any table in my PostgreSQL database. Table names, column sets and primary keys will be supplied at runtime, so the logic must build its statements dynamically while remaining fully safe against SQL-injection. The procedure has to accept and correctly persist or retrieve every column type I might throw at it—numeric, text, date/time, JSON, arrays and any other standard Postgres datatype—without me having to hand-code separate cases. Deliverables • One well-commented function or set of functions packaged in a .sql file • A short README showing call examples for each action (insert, select with filters, update) and explaining required parameters • Proof it works through a couple of sample calls on dummy tables with mixed data types I’m happy to clarify edge cases while you build, but the end goal is a single, future-proof CRUD utility I can drop into any project and trust immediately.
Project ID: 40510986
10 proposals
Remote project
Active 2 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average ₹7,220 INR for this job

Hi! I can build a secure, reusable PostgreSQL CRUD utility using dynamic SQL/PL-pgSQL that safely handles any table, runtime-defined columns, and all standard Postgres data types without hardcoded cases. You'll receive a clean .sql package, README with usage examples, and tested sample calls proving insert, select, and update operations on mixed-type tables. Best Regards
₹15,000 INR in 1 day
4.7
4.7

As a seasoned database professional with a strong affinity for PostgreSQL, I'm confident in my ability to deliver on the Universal Postgres CRUD Utility you require. My proficiency in data processing, management and programming coupled with my deep understanding of PostgreSQL, SQL and PL-pgSQL uniquely positions me to tackle this task comprehensively. At Apple and Google, I honed my skills in building robust solutions that not only meet immediate needs but are also future-proof. Just like you need a solution that can handle any table or column set dynamically without compromising security against SQL-injection, I've built scalable systems that have lasted lifetimes of technological change. As such, you won't have to worry about maintaining separate code cases for different column types. Moreover, in my deliverables, I go beyond the task at hand; offering comprehensively explained functions and READMEs for seamless integration into your projects. My focus is ensuring efficient delivery, high-quality results and ultimately enabling you to concentrate on core business activities. With me onboard, you'll get a reliable communication channel, zero scope creep and a product that drives retention and revenue. Do consider working with me as I'm eager to showcase how I can elevate your application capabilities through this project!
₹7,000 INR in 7 days
3.7
3.7

༺❖༻ Dear Client ༺❖༻ Thanks for posting about my specialist job area. Your required skills perfectly match my experience and work style. I have built multiple PostgreSQL based backend systems involving dynamic query builders secure CRUD utilities and reusable database functions. My focus is always on performance safety and clean architecture that can scale across different schemas without rewriting logic. I can develop a reusable PostgreSQL PLpgSQL CRUD utility that dynamically handles create read and update operations across any table structure. The function will safely construct queries at runtime while preventing SQL injection using proper identifier handling and parameter binding strategies. It will support all common PostgreSQL data types including numeric text timestamp JSON arrays and complex structured data without requiring custom logic per table. I will package the solution as a clean SQL file with well commented functions plus a README showing practical usage examples for insert select with filters and update operations. I will also include test cases on sample tables to demonstrate reliability across mixed data types. Given the opportunities to apply my passion and expertise to your project I am sure I will complete it perfectly on time and on budget. Let’s have a chat to clarify edge cases and finalize the design so I can deliver a reusable production ready solution. Best regards, Glenn Bondoc
₹7,000 INR in 7 days
1.4
1.4

Hi, You need a generic CRUD utility that works across tables without rewriting the same operations for each schema — dynamic PL/pgSQL functions solve that. I'll build parameter-driven procedures that accept table names and column sets, querying information_schema to validate structure and apply the right operations. I'll structure this as modular functions: one for reads (with flexible filtering), one for inserts with returning clauses, and one for updates tied to primary keys. I'll use information_schema introspection to detect column types and constraints, then generate safe parameterized queries — this keeps everything DRY and maintainable. In the first 24 hours, I'll deliver fully tested CREATE and READ functions on a sample schema. After that, I'll clarify your needs: row-level security, PostgreSQL version constraints, performance tuning requirements. What's your primary use case — application data layer, analytics, or internal administration? Best regards, Val
₹1,500 INR in 7 days
0.4
0.4

Hi, I can build this reusable PostgreSQL CRUD utility as a clean .sql package. I read the requirements: you need Create, Read, and Update actions that work against runtime table names, column sets, primary keys, and mixed PostgreSQL data types while staying safe against SQL injection. I will deliver: - a well-commented PL/pgSQL function or small function set - safe dynamic SQL using format(), identifier quoting, and structured parameters - support for common types including text, numeric, timestamp/date, JSON/JSONB, and arrays - sample dummy tables with insert, select/filter, and update calls - a short README explaining parameters, assumptions, and example usage I can deliver the tested first version in 1 day for INR 6,500.
₹6,500 INR in 1 day
0.0
0.0

Hi, I can build this as PL/pgSQL functions that work on any table. Identifiers go through format('%I') / quote_ident, and all values are passed via EXECUTE ... USING — so it's injection-safe by construction, with no string concatenation of data. Approach: JSONB input for columns/values to keep it fully table-agnostic — crud_insert, crud_select (JSONB filter for WHERE), and crud_update (SET + PK match). I'll test on dummy tables covering text, numeric, timestamptz, jsonb, arrays and boolean, plus injection attempts on table/column names, and deliver a README with copy-paste examples. Two things to confirm: 1. Delete is not in the description — intentional, or should it be included for full CRUD? 2. Single-column PKs only, or do you need composite-key support? Also happy to confirm your minimum PostgreSQL version. I can send a small working prototype before you award, so you can see it run on real data first. Best regards
₹7,000 INR in 5 days
0.0
0.0

Hello, I am interested in your PostgreSQL dynamic CRUD utility project. My background includes database design, PostgreSQL development, dynamic SQL, API development, and enterprise application architecture. I understand the challenge of building a reusable CRUD framework that works across multiple tables while remaining secure, maintainable, and resistant to SQL injection. For this solution, I would leverage PostgreSQL's dynamic SQL capabilities together with proper identifier validation, parameterized execution, metadata inspection, and schema-aware processing. The goal would be to create a generic utility capable of handling inserts, updates, and flexible reads against arbitrary tables supplied at runtime without requiring table-specific code. The implementation will support standard PostgreSQL data types including: • Numeric and decimal types • Text and character types • Dates and timestamps • JSON/JSONB • Arrays • Boolean values • UUIDs • Other common PostgreSQL-supported types Deliverables will include: • Well-documented PL/pgSQL functions in a deployable .sql file • README with usage examples for Create, Read, and Update operations • Sample tables and test cases demonstrating mixed data types • Comments explaining the security approach and dynamic query generation I am available to start immediately and would be happy to discuss any requirements around pagination, filtering, sorting, composite keys, or schema support. Best Regards, Muhammad Huzaifa
₹12,500 INR in 25 days
0.0
0.0

You need an injection-safe PL/pgSQL function that handles dynamic CRUD operations for any table. I've built this exact type of dynamic SQL wrapper before. As an Analytics Engineer, I design database systems that adapt to changing schemas. For my startup, Synlitics, I built pipelines that safely insert complex JSON data from multiple sources into Postgres without hardcoding column types or worrying about injection. I can write, test, and fully document this reusable JSONB-based CRUD utility for you in under 24 hours. Do you prefer the 'Read' function to return results as a JSON object or as standard database rows?
₹6,700 INR in 7 days
0.3
0.3

Hi, this is a clean, self-contained PL/pgSQL job and the kind of Postgres work I do regularly as a backend engineer. The safe way to build dynamic CRUD is format() with %I for every identifier (table and column names) and parameterized EXECUTE ... USING for the values, so identifiers are quoted properly and values are never concatenated. That keeps it injection-proof while staying fully dynamic. To handle any datatype, I'd pass column values as jsonb and let Postgres cast each to its real type, so numeric, text, timestamptz, jsonb and arrays all go through one code path with no per-type special casing. What you'd get: 1. Well-commented create/read/update functions in one .sql file. Read takes a filter set (column, operator, value) and returns SETOF record or jsonb. 2. A README with copy-paste examples for insert, filtered select and update, plus a parameter reference. 3. A demo on two dummy tables with mixed types (including jsonb and an array column) running sample calls, so you can confirm it works before accepting. Standard Postgres only, no extensions, so it drops into any project. Two quick questions: do you need composite primary keys, should Update act as an upsert (INSERT ... ON CONFLICT) or only update existing rows, and which Postgres version are you on? I'd have a working version plus the demo ready in about 2 days.
₹6,000 INR in 2 days
0.0
0.0

Coimbatore, India
Member since Mar 4, 2026
₹1500-12500 INR
₹12500-37500 INR
₹12500-37500 INR
₹1500-12500 INR
₹1500-12500 INR
€8-30 EUR
$8-15 USD / hour
$250-750 USD
$30-250 USD
$80-100 USD
₹75000-150000 INR
$250-750 USD
₹100-400 INR / hour
$10-30 USD
₹1000-2000 INR
₹1500-12500 INR
$30-250 USD
$250-750 USD
$750-1500 USD
min ₹2500 INR / hour
$250-750 USD
₹400-750 INR / hour
$30-250 USD
$250-750 USD
$10-1350 USD