{"id":514,"date":"2026-05-17T07:04:29","date_gmt":"2026-05-16T23:04:29","guid":{"rendered":"https:\/\/junai.ai\/blog\/pg-functions-18\/"},"modified":"2026-05-17T07:04:29","modified_gmt":"2026-05-16T23:04:29","slug":"pg-functions-18","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/pg-functions-18\/","title":{"rendered":"\uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218 \u2014 SQL\u00b7PL\/pgSQL (\uc911\uae09 18\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 311 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n:root{--color-primary:#336791;--color-accent:#60a5fa;--color-bg:#fafafa;--color-bg-card:#ffffff;--color-text:#1e293b;--color-text-muted:#64748b;--hero-start:#0f172a;--hero-end:#336791;--font-body:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;--size-body:17px;--line-height:1.75;}\n*{box-sizing:border-box;}\n.container{max-width:760px;margin:0 auto;padding:0 22px 80px;}\n.hero{background:linear-gradient(135deg,var(--hero-start) 0%,var(--hero-end) 100%);color:#fff;padding:72px 22px 56px;text-align:center;}\n.hero .badge{display:inline-block;background:rgba(96,165,250,0.18);color:var(--color-accent);padding:6px 14px;border-radius:999px;font-size:13px;font-weight:600;letter-spacing:0.5px;margin-bottom:18px;}\n.hero h1{margin:0 0 18px;font-size:36px;line-height:1.3;letter-spacing:-0.3px;}\n.hero p.sub{margin:0 auto;max-width:580px;font-size:17px;color:#bfdbfe;}\n.hero img{width:100%;max-width:720px;height:auto;margin:36px auto 0;display:block;border-radius:10px;box-shadow:0 8px 32px rgba(0,0,0,0.3);}\n.meta{display:flex;gap:14px;justify-content:center;margin-top:20px;font-size:13px;color:#93c5fd;flex-wrap:wrap;}\n.meta span::before{content:\"\u00b7\";margin-right:14px;color:#1e3a8a;}\n.meta span:first-child::before{content:\"\";margin:0;}\narticle{background:var(--color-bg-card);margin-top:-36px;padding:44px 28px;border-radius:14px;box-shadow:0 2px 18px rgba(0,0,0,0.06);}\narticle p{margin:0 0 18px;}\nh2{font-size:28px;line-height:1.35;letter-spacing:-0.3px;margin:48px 0 18px;padding-bottom:10px;border-bottom:2px solid var(--color-primary);}\nh2:first-of-type{margin-top:8px;}\nh3{font-size:21px;line-height:1.4;margin:30px 0 12px;color:var(--color-primary);}\ncode{background:#f1f5f9;color:#0f172a;padding:2px 6px;border-radius:4px;font-family:'SFMono-Regular',Menlo,Consolas,monospace;font-size:0.92em;}\npre{background:#0f172a;color:#e2e8f0;padding:18px 20px;border-radius:10px;overflow-x:auto;font-size:14.5px;line-height:1.65;margin:18px 0;}\npre code{background:transparent;color:inherit;padding:0;}\nul,ol{margin:0 0 18px;padding-left:24px;}\nli{margin-bottom:8px;}\nstrong{color:#0f172a;}\n.databox{background:#eff6ff;border-left:4px solid var(--color-primary);padding:18px 20px;border-radius:6px;margin:22px 0;}\n.databox p{margin:0 0 8px;}\n.databox p:last-child{margin:0;}\n.databox strong{color:var(--color-primary);}\n.warnbox{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border-left:4px solid #d97706;padding:18px 20px;border-radius:6px;margin:22px 0;}\n.warnbox strong{color:#92400e;}\n.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;}\ntable{width:100%;border-collapse:collapse;font-size:15px;background:var(--color-bg-card);}\nth,td{padding:11px 12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top;}\nth{background:#f1f5f9;font-weight:700;color:#0f172a;}\ntd:first-child,th:first-child{font-weight:700;}\n.cta{background:linear-gradient(135deg,#336791 0%,#60a5fa 100%);color:#fff;padding:30px 24px;border-radius:12px;margin-top:44px;text-align:center;}\n.cta h3{color:#fff;margin:0 0 10px;}\n.cta p{margin:0;color:#dbeafe;}\n.series-nav{background:#eff6ff;padding:18px 22px;border-radius:10px;margin-top:24px;font-size:14.5px;color:var(--color-text-muted);}\n.series-nav strong{color:var(--color-primary);}\n@media (max-width:480px){.hero{padding:52px 18px 44px;}.hero h1{font-size:26px;}.hero p.sub{font-size:15px;}article{padding:28px 18px;border-radius:10px;}h2{font-size:22px;}h3{font-size:18px;}body{font-size:16px;}pre{font-size:13px;padding:14px 16px;}}\n@media (max-width:560px){.tablewrap table,.tablewrap thead,.tablewrap tbody,.tablewrap tr,.tablewrap th,.tablewrap td{display:block;width:auto;}.tablewrap thead{display:none;}.tablewrap tr{margin:0 0 14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;}.tablewrap td{border:none;border-bottom:1px solid #f1f5f9;padding:9px 14px;}.tablewrap td:first-child{background:#eff6ff;font-weight:800;font-size:15.5px;}.tablewrap td:last-child{border-bottom:none;}.tablewrap td[data-label]::before{content:attr(data-label) \" \u2014 \";font-weight:700;color:var(--color-primary);}}\n<\/style>\n<header class=\"hero\">\n  <span class=\"badge\">PostgreSQL \uad50\uc7ac \u00b7 18\ud3b8 \/ 24\ud3b8<\/span>\n  <h1>\uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218 \u2014 SQL\u00b7PL\/pgSQL<\/h1>\n  <p class=\"sub\">DB \uc548\uc5d0 \ud568\uc218\ub97c \ub450\uae30. SQL vs PL\/pgSQL \uc758 \ucc28\uc774\uc640 \ud2b8\ub9ac\uac70 \ud568\uc218\uc758 \uccab \uc778\uc0c1.<\/p>\n  <div class=\"meta\"><span>\uc911\uae09<\/span><span>\uc77d\ub294 \uc2dc\uac04 7\ubd84<\/span><span>2026-05-17<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-87.jpg\" alt=\"CREATE FUNCTION \uc73c\ub85c SQL\/PL\/pgSQL \ud568\uc218\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\ub294 \ub3c4\uc2dd\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>\ube44\uc2b7\ud55c SQL \uc744 \ubc18\ubcf5\ud574\uc11c \uc4f0\uace0 \uc788\ub2e4\uba74 \u2014 \ubdf0(13\ud3b8) \ub300\uc2e0 <strong>\ud568\uc218<\/strong>\ub97c \ub9cc\ub4e4 \uc2dc\uc810. \ub9e4\uac1c\ubcc0\uc218\ub97c \ubc1b\uace0 \uacb0\uacfc\ub97c \ubc18\ud658\ud558\ub294 \uc9c4\uc9dc \ud568\uc218. 18\ud3b8\uc740 SQL \uc5b8\uc5b4\uc640 PL\/pgSQL \uc758 \ucc28\uc774, \uc790\uc8fc \ub9cc\ub4dc\ub294 \ud328\ud134 (\uc2a4\uce7c\ub77c\u00b7\ud14c\uc774\ube14 \ubc18\ud658\u00b7\ud2b8\ub9ac\uac70) \uae4c\uc9c0.<\/p>\n\n<h2>\uac00\uc7a5 \ub2e8\uc21c\ud55c SQL \ud568\uc218<\/h2>\n\n<pre><code>CREATE OR REPLACE FUNCTION full_name(first text, last text)\nRETURNS text\nLANGUAGE sql\nAS $$\n  SELECT first || ' ' || last;\n$$;\n\n-- \uc0ac\uc6a9\nSELECT full_name('\uc900\uc131', '\ubc15');   -- '\uc900\uc131 \ubc15'\nSELECT id, full_name(first_name, last_name) FROM users;<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>SQL \ud568\uc218\uc758 \uac00\uce58.<\/strong> \u2460 <strong>\uc778\ub77c\uc778 \uac00\ub2a5<\/strong> \u2014 \uc635\ud2f0\ub9c8\uc774\uc800\uac00 \ud568\uc218 \ud638\ucd9c\uc744 \ud480\uc5b4\uc11c \ucd5c\uc801\ud654. \u2461 \ub2e8\uc21c SELECT \ud558\ub098\uba74 \uac70\uc758 \ubb34\ub8cc. \u2462 \ud45c\ud604\uc2dd \uc778\ub371\uc2a4(16\ud3b8) \uc640 \ud568\uaed8 \uc790\uc8fc \uc4f0\uc784.<\/p>\n<\/div>\n\n<h2>PL\/pgSQL \u2014 \uc808\ucc28\ud615 \uc5b8\uc5b4<\/h2>\n\n<pre><code>CREATE OR REPLACE FUNCTION transfer(\n  from_id bigint,\n  to_id   bigint,\n  amount  numeric\n)\nRETURNS void\nLANGUAGE plpgsql\nAS $$\nDECLARE\n  from_balance numeric;\nBEGIN\n  SELECT balance INTO from_balance\n  FROM   accounts WHERE id = from_id FOR UPDATE;\n\n  IF from_balance &lt; amount THEN\n    RAISE EXCEPTION '\uc794\uc561 \ubd80\uc871: %', from_balance;\n  END IF;\n\n  UPDATE accounts SET balance = balance - amount WHERE id = from_id;\n  UPDATE accounts SET balance = balance + amount WHERE id = to_id;\nEND;\n$$;\n\n-- \uc0ac\uc6a9\nSELECT transfer(1, 2, 10000);<\/code><\/pre>\n\n<h2>SQL vs PL\/pgSQL \u2014 \uc5b8\uc81c \ubb34\uc5c7<\/h2>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th><\/th><th>SQL<\/th><th>PL\/pgSQL<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td data-label=\"\">\ubb38\ubc95<\/td><td data-label=\"\">SELECT \ud55c \uc904(+\uc5ec\ub7ec \uc904)<\/td><td data-label=\"\">\ubcc0\uc218\u00b7IF\u00b7LOOP \ub4f1 \uc808\ucc28\ubb38<\/td><\/tr>\n    <tr><td data-label=\"\">\uc18d\ub3c4<\/td><td data-label=\"\">\uc778\ub77c\uc778 \uac00\ub2a5 \u2192 \ube60\ub984<\/td><td data-label=\"\">\ud568\uc218 \ud638\ucd9c \uc624\ubc84\ud5e4\ub4dc<\/td><\/tr>\n    <tr><td data-label=\"\">\uc5d0\ub7ec \ucc98\ub9ac<\/td><td data-label=\"\">\uc5c6\uc74c<\/td><td data-label=\"\">EXCEPTION \ube14\ub85d<\/td><\/tr>\n    <tr><td data-label=\"\">\uc81c\uc5b4 \ud750\ub984<\/td><td data-label=\"\">\uc5c6\uc74c<\/td><td data-label=\"\">IF\/LOOP\/FOREACH<\/td><\/tr>\n    <tr><td data-label=\"\">\uc5b8\uc81c<\/td><td data-label=\"\">\ub2e8\uc21c \ud45c\ud604\uc2dd\u00b7\uacc4\uc0b0<\/td><td data-label=\"\">\ub85c\uc9c1\u00b7\ud2b8\ub79c\uc7ad\uc158 \uac80\uc99d\u00b7\ud2b8\ub9ac\uac70<\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h2>RETURNS TABLE \u2014 \uacb0\uacfc \uc9d1\ud569 \ubc18\ud658<\/h2>\n\n<pre><code>CREATE OR REPLACE FUNCTION top_orders(limit_n int)\nRETURNS TABLE (\n  user_id bigint,\n  user_name text,\n  total_rev numeric\n)\nLANGUAGE sql\nAS $$\n  SELECT u.id, u.name, SUM(o.total)\n  FROM   users u\n  JOIN   orders o ON o.user_id = u.id\n  GROUP BY u.id, u.name\n  ORDER BY SUM(o.total) DESC\n  LIMIT limit_n;\n$$;\n\n-- \uc0ac\uc6a9 (FROM \uc808\uc5d0)\nSELECT * FROM top_orders(10);<\/code><\/pre>\n\n<h2>RETURNS SETOF \u2014 \ud55c \uceec\ub7fc\/\ud55c \ud589 \uc5ec\ub7ec \uac1c<\/h2>\n\n<pre><code>-- \ud55c \uceec\ub7fc \uc5ec\ub7ec \ud589\nCREATE FUNCTION fibo(n int)\nRETURNS SETOF int\nLANGUAGE plpgsql\nAS $$\nDECLARE\n  a int := 0;\n  b int := 1;\n  i int;\nBEGIN\n  FOR i IN 1..n LOOP\n    RETURN NEXT a;\n    SELECT b, a + b INTO a, b;\n  END LOOP;\nEND;\n$$;\n\nSELECT * FROM fibo(10);\n-- 0, 1, 1, 2, 3, 5, 8, 13, 21, 34<\/code><\/pre>\n\n<h2>STABLE \u00b7 IMMUTABLE \u00b7 VOLATILE \u2014 \uc635\ud2f0\ub9c8\uc774\uc800 \ud78c\ud2b8<\/h2>\n\n<pre><code>CREATE FUNCTION add(a int, b int)\nRETURNS int\nLANGUAGE sql\nIMMUTABLE        -- \uc785\ub825 \uac19\uc73c\uba74 \uacb0\uacfc \ud56d\uc0c1 \uac19\uc74c (\uce90\uc2dc \uac00\ub2a5)\nAS $$ SELECT a + b $$;\n\nCREATE FUNCTION today()\nRETURNS date\nLANGUAGE sql\nSTABLE           -- \ud55c \ucffc\ub9ac \uc548\uc5d0\uc11c\ub294 \uac19\uc740 \uac12 (\ud604\uc7ac \uc2dc\uac01 \ub4f1)\nAS $$ SELECT CURRENT_DATE $$;\n\n-- VOLATILE (\uae30\ubcf8) \u2014 \ub9e4 \ud638\ucd9c\ub9c8\ub2e4 \ub2ec\ub77c\uc9c8 \uc218 \uc788\uc74c (random, nextval \ub4f1)<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>IMMUTABLE \uc758 \uac00\uce58.<\/strong> \ud45c\ud604\uc2dd \uc778\ub371\uc2a4(16\ud3b8)\u00b7\uccb4\ud06c \uc81c\uc57d\u00b7\uc0dd\uc131\ub41c \uceec\ub7fc(generated column) \uc5d0\uc11c \uc0ac\uc6a9 \uac00\ub2a5. \uc635\ud2f0\ub9c8\uc774\uc800\uac00 \uacb0\uacfc\ub97c \uce90\uc2dc\ud560 \uc218 \uc788\uc5b4 \ube60\ub984. <strong>\uac00\ub2a5\ud558\uba74 IMMUTABLE \ub610\ub294 STABLE \uba85\uc2dc<\/strong>.<\/p>\n<\/div>\n\n<h2>\uc608\uc678 \ucc98\ub9ac \u2014 BEGIN &#8230; EXCEPTION<\/h2>\n\n<pre><code>CREATE FUNCTION safe_divide(a numeric, b numeric)\nRETURNS numeric\nLANGUAGE plpgsql\nAS $$\nBEGIN\n  RETURN a \/ b;\nEXCEPTION\n  WHEN division_by_zero THEN\n    RETURN NULL;\n  WHEN OTHERS THEN\n    RAISE NOTICE '\uc608\uc0c1\uce58 \ubabb\ud55c \uc5d0\ub7ec: %', SQLERRM;\n    RETURN NULL;\nEND;\n$$;<\/code><\/pre>\n\n<h2>\ud2b8\ub9ac\uac70 \ud568\uc218 \u2014 \uc790\ub3d9 \uc2e4\ud589<\/h2>\n\n<pre><code>-- 1) \ud2b8\ub9ac\uac70 \ud568\uc218\nCREATE FUNCTION set_updated_at()\nRETURNS trigger\nLANGUAGE plpgsql\nAS $$\nBEGIN\n  NEW.updated_at = NOW();\n  RETURN NEW;\nEND;\n$$;\n\n-- 2) \ud14c\uc774\ube14\uc5d0 \uc5f0\uacb0\nCREATE TRIGGER trg_users_updated\nBEFORE UPDATE ON users\nFOR EACH ROW\nEXECUTE FUNCTION set_updated_at();\n\n-- \uc774\uc81c UPDATE \ub9c8\ub2e4 updated_at \uc790\ub3d9 \uac31\uc2e0\nUPDATE users SET name = '\uc900\uc11d' WHERE id = 1;\n-- updated_at \ub3c4 \uc790\ub3d9\uc73c\ub85c NOW()<\/code><\/pre>\n\n<p>\ud2b8\ub9ac\uac70 \uc790\uc138\ud788\ub294 19\ud3b8\uc5d0\uc11c.<\/p>\n\n<h2>\uc2e4\uc804 \u2014 UPSERT \ud5ec\ud37c<\/h2>\n\n<pre><code>CREATE FUNCTION upsert_user(\n  p_id bigint,\n  p_name text,\n  p_email text\n)\nRETURNS users\nLANGUAGE plpgsql\nAS $$\nDECLARE\n  result users;\nBEGIN\n  INSERT INTO users (id, name, email)\n  VALUES (p_id, p_name, p_email)\n  ON CONFLICT (id) DO UPDATE\n    SET name = EXCLUDED.name,\n        email = EXCLUDED.email\n  RETURNING * INTO result;\n\n  RETURN result;\nEND;\n$$;<\/code><\/pre>\n\n<h2>\uc548\ud2f0\ud328\ud134 4\uac00\uc9c0<\/h2>\n\n<div class=\"warnbox\">\n  <p><strong>1. \ub108\ubb34 \ub9ce\uc740 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1.<\/strong> DB \ud568\uc218\uc5d0 \ub3c4\uba54\uc778 \ub85c\uc9c1\uc744 \ubc15\uc73c\uba74 \ubc84\uc804 \uad00\ub9ac\u00b7\ud14c\uc2a4\ud2b8\uac00 \uc5b4\ub824\uc6c0. \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub808\uc774\uc5b4\uc5d0\uc11c \ucc98\ub9ac\ud558\ub294 \uac8c \ubcf4\ud1b5 \ub354 \uc88b\uc74c.<\/p>\n  <p><strong>2. \ud2b8\ub9ac\uac70\ub85c \uc0ac\uc774\ub4dc \uc774\ud399\ud2b8.<\/strong> \ud2b8\ub9ac\uac70\uac00 \ub2e4\ub978 \ud14c\uc774\ube14\ub3c4 \uc790\ub3d9\uc73c\ub85c \ub9cc\uc9c0\uba74 &#8220;\uc5b4\ub514\uc11c \uc774\uac8c \ubc14\ub010 \uac70\uc9c0&#8221; \ub514\ubc84\uae45 \uc9c0\uc625. \uba85\uc2dc\uc801 \ud568\uc218 \ud638\ucd9c\uc774 \ucd94\uc801\ud558\uae30 \uc88b\uc74c.<\/p>\n  <p><strong>3. IMMUTABLE \uac70\uc9d3\ub9d0.<\/strong> \uc2e4\uc81c\ub85c\ub294 \uc548 \uadf8\ub7f0\ub370 IMMUTABLE \ud45c\uc2dc \u2192 \uacb0\uacfc \uce90\uc2dc\ub418\uc5b4 \uc798\ubabb\ub41c \uac12. \uc815\ub9d0 \uc785\ub825\ub9cc\uc73c\ub85c \uacb0\uacfc \uacb0\uc815\ub418\ub294\uc9c0 \ud655\uc2e4\ud788.<\/p>\n  <p><strong>4. SECURITY DEFINER \ub0a8\uc6a9.<\/strong> \ud638\ucd9c\uc790 \uad8c\ud55c\uc774 \uc544\ub2cc \ud568\uc218 \uc18c\uc720\uc790 \uad8c\ud55c\uc73c\ub85c \uc2e4\ud589. \uac15\ub825\ud558\uc9c0\ub9cc \uad8c\ud55c escalation \uc704\ud5d8. search_path \uba85\uc2dc \ud544\uc218.<\/p>\n<\/div>\n\n<div class=\"cta\">\n  <h3>19\ud3b8 \u2014 \ud2b8\ub9ac\uac70 (BEFORE\u00b7AFTER)<\/h3>\n  <p>\ud2b8\ub9ac\uac70 \uc885\ub958\uc640 \ud754\ud55c \uc548\ud2f0\ud328\ud134, audit \ub85c\uae45 \ud328\ud134.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda PostgreSQL \ubc30\uc6b0\uae30 \uad50\uc7ac<\/strong><br>\n  \uc774\uc804: 17\ud3b8 EXPLAIN \u00b7 \ud604\uc7ac: <strong>18\ud3b8 (\uc911\uae09)<\/strong> \u00b7 \ub2e4\uc74c \u2192 19\ud3b8 \ud2b8\ub9ac\uac70 \u00b7 \uc9c4\ud589: <strong>18\/24<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CREATE FUNCTION\u00b7SQL vs PL\/pgSQL\u00b7\ud2b8\ub9ac\uac70 \ud568\uc218. 24\ud3b8 \uad50\uc7ac 18\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":311,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-postgresql"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=514"}],"version-history":[{"count":0,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/311"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}