aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2021-11-05-postgres-query-rewrite.md
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
commit92787c159262a57fa20b2eb05ed710e1e6cfca96 (patch)
tree508cab2af110a063767564571a98d157926bfb05 /content/posts/2021-11-05-postgres-query-rewrite.md
parente12c0d23ad72ffa9389d90311453db535f57e450 (diff)
downloadmfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.gz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.bz2
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.xz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.zip
Final conversion to Zine
Diffstat (limited to 'content/posts/2021-11-05-postgres-query-rewrite.md')
-rw-r--r--content/posts/2021-11-05-postgres-query-rewrite.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/content/posts/2021-11-05-postgres-query-rewrite.md b/content/posts/2021-11-05-postgres-query-rewrite.md
index a70323c..4a2959e 100644
--- a/content/posts/2021-11-05-postgres-query-rewrite.md
+++ b/content/posts/2021-11-05-postgres-query-rewrite.md
@@ -1,9 +1,9 @@
---
-title: "Postgres Query Rewrite"
-date: 2021-11-05T11:57:12Z
-draft: false
-params:
- comments: true
+.title = "Postgres Query Rewrite",
+.author = "Martin Ashby",
+.date = @date("2021-11-05T11:57:12Z"),
+.layout = "single.html",
+.custom = {"comments": true},
---
Recently at work, I needed to be able to rewrite some [postgresql](https://www.postgresql.org/) queries which were coming from a closed-source application in order to integrate the app into our own system testing setup. Specifically I needed to replace instances of `current_timestamp` with invocation of `now()` function.