Re: plperl syntax question - Mailing list pgsql-general

From David G. Johnston
Subject Re: plperl syntax question
Date
Msg-id CAKFQuwZPcoSsOMWhQ_dXHr2M+Jj-rAEVw1_FiAj3dEGHRJ=_Zw@mail.gmail.com
Whole thread Raw
In response to plperl syntax question  (stan <stanb@panix.com>)
Responses Re: plperl syntax question  (stan <stanb@panix.com>)
List pgsql-general
On Thursday, March 12, 2020, stan <stanb@panix.com> wrote:
my $rv3 = spi_exec_query('$stmt');
What am I doing wrong here?

Putting a variable name into a single-quoted string and expecting it to resolve to the contents of said variable instead of being treated as a literal.

David J.

pgsql-general by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: polygon && polygon and precision
Next
From: stan
Date:
Subject: Re: plperl syntax question