Skip to content

Commit

Permalink
Fix pgtle.install_extension_version_sql example (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamguo0 authored Feb 17, 2025
1 parent 25f3bf9 commit 9d90bb3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/03_managing_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,11 @@ The extension control file for the specified extension must already be installed
#### Example

```sql
SELECT pgtle.install_extension(
SELECT pgtle.install_extension_version_sql(
'pg_tle_test',
'0.2',
'A new version of my pg_tle extension',
$_pgtle_$
CREATE FUNCTION my_test()
CREATE OR REPLACE FUNCTION my_test()
RETURNS INT
AS $$
SELECT 4242;
Expand Down

0 comments on commit 9d90bb3

Please sign in to comment.