File: inline.sql

package info (click to toggle)
postgresql-plsh 1.20140221-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 51
  • sloc: ansic: 556; sql: 136; makefile: 40; sh: 13
file content (6 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
\! mkdir /tmp/plsh-test && chmod a+rwx /tmp/plsh-test

DO E'#!/bin/sh\necho inline > /tmp/plsh-test/inline.out; chmod a+r /tmp/plsh-test/inline.out' LANGUAGE plsh;

\! cat /tmp/plsh-test/inline.out
\! rm -r /tmp/plsh-test