小红花·文摘
  • 首页
  • AI Tokens🪙
  • 排行榜🏆
  • 直播
  • FAQ
沉浸式翻译 immersive translate
Dify.AI
如何使用RDS Supabase后端BaaS能力:数据库函数(Database Function)

本文介绍 RDS Supabase 数据库函数:可用 SQL 或 PL/pgSQL 将聚合统计、跨表事务、流程控制等逻辑封装进数据库,弥补 Data API 仅支持单表 CRUD 的不足。函数支持 sql 与 plpgsql 语言,返回类型包括标量、SETOF、TABLE 和 trigger;SECURITY DEFINER 可绕过 RLS,但须通过 REVOKE/GRANT 收紧权限。可在 SQL Editor 或图形界面创建,前端通过 .rpc() 调用,触发器函数可自动刷新 updated_at、记录审计日志。

如何使用RDS Supabase后端BaaS能力:数据库函数(Database Function)

华为云官方博客 华为云官方博客 · 2026-10-22T03:12:51Z
如何使用RDS Supabase后端BaaS能力:创表即生成API(Database Data API)

本文介绍华为云RDS Supabase的Database Data API:建表后自动生成增删改查接口,无需手写后端。以产品定价管理为例,说明获取地址与API Key、安装SDK、建表、启用RLS并配置策略、授予表级权限及刷新缓存,再用前端SDK直连实现查询、新增、更新、Upsert、删除和关联查询。强调Publishable Key仅用于前端、Secret Key仅限服务端,写操作须登录,更新删除必带过滤条件,并先判错再用数据。

如何使用RDS Supabase后端BaaS能力:创表即生成API(Database Data API)

华为云官方博客 华为云官方博客 · 2026-10-21T08:03:26Z

Key Takeaways  Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration. A log line saying a process was terminated by signal 1 means that process didn’t handle the signal and...

SHRIDHAR KHANAL: The Database Restarted Without Restarting: The Basics of PostgreSQL Signals (Part 1)

Planet PostgreSQL Planet PostgreSQL · 2026-10-09T09:36:51Z

What a 4 TiB Azure Disk Taught Us about Slow Reads One of our customers spent most of a week tuning PostgreSQL to fix slow reads. They worked through shared_buffers, effective_cache_size,...

Umair Shahid: Your Postgres Database Is Slow, and It Isn’t Postgres

Planet PostgreSQL Planet PostgreSQL · 2026-09-25T14:02:33Z
20260907 PostgreSQL 更新环境变量不会自动更新 database password

Zeabur 更新环境变量不会自动修改 PostgreSQL 密码,因为数据存储在持久卷中,重启仅重新拉取容器。需在容器内使用 psql 执行 ALTER USER 修改密码,并同步更新应用连接串,否则服务会因密码不匹配而失败。

20260907 PostgreSQL 更新环境变量不会自动更新 database password

蒋继发 (ThaddeusJiang) 蒋继发 (ThaddeusJiang) · 2026-09-07T12:23:45Z

Key takeaways A routine OS patch can take Postgres offline even when Postgres itself was never touched. Here’s what rolling OS patching on a proper HA cluster changes: OS-level patches (kernel,...

Umair Shahid: Database Availability Is a Stack: Rolling OS Patching

Planet PostgreSQL Planet PostgreSQL · 2026-09-03T16:13:03Z

Note: I am presenting a tutorial for those who want to learn SQL at this year's Texas Linuxfest (https://pretalx.com/txlf2026/talk/DQ3XW7/) on November 6th.  This is a great opportunity at a...

Dave Stokes: Loading the Northwinds Database Into PostgreSQL with DBeaver

Planet PostgreSQL Planet PostgreSQL · 2026-09-02T15:10:33Z

Google Cloud has introduced AI-powered Database Operations Agents, featuring an Onboarding Agent that streamlines database setup and an Observability Agent that helps automate troubleshooting,...

Google Cloud Launches AI-powered Agents to Simplify Database Lifecycle Management

InfoQ InfoQ · 2026-08-27T15:00:00Z

The engineering team at Stripe recently described how they automated database incident recovery by modeling their global infrastructure as a graph. Using graph search algorithms together with...

Stripe Uses Graph Search and State Machines to Automate Database Remediation

InfoQ InfoQ · 2026-08-09T06:55:00Z
Zhang Chen: Why I Dare to Call Myself a 'PostgreSQL Database Recovery Expert'

作者自称“PostgreSQL数据库恢复专家”,指出该领域缺乏方法论和商业激励,多数工具仅展示功能而不重准确性和可靠性。他开发了PDU工具,已开源前两项功能,保留核心的碎片扫描和无数据字典恢复技术,并欢迎同行交流切磋。

Zhang Chen: Why I Dare to Call Myself a 'PostgreSQL Database Recovery Expert'

Planet PostgreSQL Planet PostgreSQL · 2026-08-09T00:00:00Z

Giving an external team access to your PostgreSQL database is one of those decisions that deserves a little thought. The easiest option is to hand over a superuser account, but it’s rarely the...

SHRIDHAR KHANAL: The Right Way to Give a Third-Party DBA Access to Your PostgreSQL Database

Planet PostgreSQL Planet PostgreSQL · 2026-07-23T15:55:44Z

Nessus启动失败,提示数据库损坏。解决步骤:先停止Nessus服务(通过任务管理器或services.msc),再根据官方文档定位数据文档路径进行修复或处理。文章记录了该故障排查过程。

记一次Nessus无法启动问题--Corrupt Database

像清水一般清澈透明 像清水一般清澈透明 · 2026-07-18T08:05:58Z
CodeQL Create OpenJdk/Jdk8 Database

本文介绍如何使用CodeQL创建OpenJDK/JDK8数据库。步骤包括:下载源码、配置编译环境(安装依赖、降级gcc至4.9)、执行configure和make images编译,最后用codeql database create命令构建数据库。若内存不足,可加-M参数限制。整个过程需参与编译,成功后可生成数据库。

CodeQL Create OpenJdk/Jdk8 Database

像清水一般清澈透明 像清水一般清澈透明 · 2026-07-18T08:05:58Z

DoltHub has recently released Dolt 2.0, a major update to the open source version-controlled SQL database. The latest major version adds automatic storage optimization, including garbage...

Version Controlled SQL Database Dolt Releases 2.0 with Automatic Storage Cleanup and Compression

InfoQ InfoQ · 2026-07-18T07:28:00Z
CodeQL Create OpenJdk/Jdk8 Database

本文介绍了创建OpenJDK/JDK8数据库的步骤,包括安装依赖、配置编译选项、管理GCC版本以及编译过程中的注意事项。强调了内存不足可能导致的错误,并建议在编译时增加内存限制。

CodeQL Create OpenJdk/Jdk8 Database

像清水一般清澈透明 像清水一般清澈透明 · 2026-07-17T14:14:20Z

Nessus无法启动可能是由于数据库损坏。解决方法是停止Nessus服务,并根据官方文档查找数据文档路径。

记一次Nessus无法启动问题--Corrupt Database

像清水一般清澈透明 像清水一般清澈透明 · 2026-07-17T14:14:20Z

Google shipped AlloyDB AI functions GA with a proxy model architecture that trains a lightweight local model from LLM outputs, then runs queries at database speed without external calls. Smart...

AlloyDB Ships Proxy Models That Replace LLM Calls with Local Inference inside the Database

InfoQ InfoQ · 2026-07-09T08:00:00Z

Recently open-sourced by Microsoft, pg_durable is a PostgreSQL extension that enables durable workflows to run natively inside the database, eliminating the need for external orchestration...

Microsoft Open-Sources PostgreSQL Extension for In-Database Durable Execution

InfoQ InfoQ · 2026-06-10T20:00:00Z

Azure's managed PostgreSQL differs from competitors by putting the standby in the commit path—every write waits for synchronous replication to a second server…

Christophe Pettus: Managed Postgres, Examined: Azure Database for PostgreSQL Flexible Server

Planet PostgreSQL Planet PostgreSQL · 2026-06-02T15:00:00Z

PostgreSQL 19 adds GRAPH_TABLE, letting you query property graphs with Cypher-like pattern matching over your existing relational tables.

Christophe Pettus: SQL/PGQ in PostgreSQL 19: Graph Queries Without the Graph Database

Planet PostgreSQL Planet PostgreSQL · 2026-06-01T15:00:00Z
  • <<
  • <
  • 1 (current)
  • 2
  • 3
  • >
  • >>
👤 个人中心
在公众号发送验证码完成验证
登录验证
在本设备完成一次验证即可继续使用

完成下面两步后,将自动完成登录并继续当前操作。

1 关注公众号
小红花技术领袖公众号二维码
小红花技术领袖
如果当前 App 无法识别二维码,请在微信搜索并关注该公众号
2 发送验证码
在公众号对话中发送下面 4 位验证码
小红花技术领袖俱乐部
小红花·文摘:汇聚分发优质内容
小红花技术领袖俱乐部
Copyright © 2021-
粤ICP备2022094092号-1
公众号 小红花技术领袖俱乐部公众号二维码
视频号 小红花技术领袖俱乐部视频号二维码