# PLV8 - Postgres에서 Javascript 함수 사용하기

> Clean Markdown view of GeekNews topic #15817. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=15817](https://news.hada.io/topic?id=15817)
- GeekNews Markdown: [https://news.hada.io/topic/15817.md](https://news.hada.io/topic/15817.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2024-07-13T10:31:01+09:00
- Updated: 2024-07-13T10:31:01+09:00
- Original source: [plv8.github.io](https://plv8.github.io/)
- Points: 9
- Comments: 1

## Summary

PLV8 확장은 Postgres에서 Javascript를 사용하여 Stored Procedure와 Trigger를 작성할 수 있게 해줍니다. Postgres 13 이상에서 안정적으로 작동하며, 다양한 함수 형태를 지원합니다. Scalar Function, Set-returning Function, Trigger Function, Inline Statement 등에 활용할 수 있습니다.

## Topic Body

- Javascript를 Postgres의 Stored Procedure 나 Trigger 내에서 이용가능하게 해주는 확장   
- Postgres 13 이상에서 잘 작동   
- 지원하는 함수 형태들   
  - Scalar Function  
  - Set-returning Function  
  - Trigger Function   
  - Inline Statement

## Comments



### Comment 27267

- Author: yangeok
- Created: 2024-07-15T15:12:32+09:00
- Points: 1

postgres로 하고 싶은 것들 다 하네요 ㅋㅋ
