Re: Localizing stored functions by replacing placeholders in their body

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Localizing stored functions by replacing placeholders in their body
Date: 2021-03-02 16:40:05
Message-ID: CAFj8pRDRrR9UDYuvYLxHu=659DW1kxTa7m7wPVLoipj8fg2kOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

út 2. 3. 2021 v 17:18 odesílatel Alexander Farber <
alexander(dot)farber(at)gmail(dot)com> napsal:

> Or is it possible to call external commands from an sql script, like
>
> \i "sed 's/this/that/' some.sql"
>

you can use \! statement for execution of external statements

Pavel

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2021-03-02 16:54:44 Re: Localizing stored functions by replacing placeholders in their body
Previous Message Alexander Farber 2021-03-02 16:17:51 Re: Localizing stored functions by replacing placeholders in their body