Re: BUG #18774: Not the required output of the query used in the function(delete_from_table1) in postgresql9.4 - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #18774: Not the required output of the query used in the function(delete_from_table1) in postgresql9.4
Date
Msg-id CAKFQuwaY94qzgEEgDjFEN0Abcd9f9RC6hfF6XAE_CHXpELFyyg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18774: Not the required output of the query used in the function(delete_from_table1) in postgresql9.4  (Rajni Bobal <rajnibobal@gmail.com>)
Responses Re: BUG #18774: Not the required output of the query used in the function(delete_from_table1) in postgresql9.4
List pgsql-bugs
On Thursday, January 23, 2025, Rajni Bobal <rajnibobal@gmail.com> wrote:
Hello SIr,
Please clarify about why $1 is not been replaced by 'colname' in delete_from_table2 function.

It has been replace with the string literal value ‘colname’, not a column reference identifier “colname”.  You cannot use positional parameters to supply identifiers.  Structure must be known at parse time.

David J.

pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: ERROR: tuple to be updated was already modified by an operation triggered by the current command
Next
From: Rajni Bobal
Date:
Subject: Re: BUG #18774: Not the required output of the query used in the function(delete_from_table1) in postgresql9.4