We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0cf64c commit df9e9fdCopy full SHA for df9e9fd
1 file changed
examples/s3.sql
@@ -14,6 +14,18 @@
14
-- Various pieces of the request are gathered into strings bundled together
15
-- and ultimately signed with the s3 secret key.
16
--
17
+-- Example:
18
+--
19
+-- https://cleverelephant-west-1.s3.amazonaws.com/META.json
20
21
+-- SELECT * FROM s3_get(
22
+-- 'your_s3_access_key',
23
+-- 'your_s3_secret_key',
24
+-- 'us-west-1',
25
+-- 'cleverelephant-west-1',
26
+-- 'META.json'
27
+-- );
28
29
CREATE OR REPLACE FUNCTION s3_get(
30
access_key TEXT,
31
secret_key TEXT,
@@ -120,13 +132,5 @@ $$ LANGUAGE 'plpgsql'
120
132
VOLATILE;
121
133
122
134
123
--- https://cleverelephant-west-1.s3.amazonaws.com/META.json
124
135
125
-SELECT * FROM s3_get(
126
- 'your_s3_access_key',
127
- 'your_s3_secret_key',
128
- 'us-west-1',
129
- 'cleverelephant-west-1',
130
- 'META.json'
131
-);
136
0 commit comments