pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: bugfix: BUG #15477: Procedure call with named inout refcursor parameter - "invalid input syntax for type boolean"
Date: Sun, 04 Nov 2018 11:59:27 -0500
Message-ID: <28250.1541350767@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFj8pRBYRFqr_ZW+aUnX9MVDme3yBRPGNa0MM=6RR6NV=y2dgg@mail.gmail.com>
References: <CAFj8pRA6UsujpTs9Sdwmk-R6yQykPx46wgjj+YZ7zxm4onrDyw@mail.gmail.com>
<CAFj8pRBdNqq8+SsChS8F5s9ttkdBSTPu=cq-fLx51FF7Tk_LkA@mail.gmail.com>
<CAFj8pRCF3pia7gScM0jh7vY9rEuqN7fbnUV+jymRTLEXZeRDNA@mail.gmail.com>
<CAFj8pRD2=MGU8ZshvmCjv5KG+3EngRm0+8pFLsjhG5bUhUGU2Q@mail.gmail.com>
<CAFj8pRCehpRXn2vSq8Q+dQL2sQ0XXt0rOukFb0tZ5F7RFdH+DA@mail.gmail.com>
<1d846492-3822-616b-7246-91b429cc5dbb@2ndquadrant.com>
<CAFj8pRB3ZPu_SUDamXGA+wXw2aMmn0oLmgvsdMT1oAyJUMgFZA@mail.gmail.com>
<26116.1541278051@sss.pgh.pa.us>
<28551.1541281624@sss.pgh.pa.us>
<CAFj8pRDUL=nC62L-AKKFDEo1en1ZT1otLfPdXkCjm8MHxif8PA@mail.gmail.com>
<7102.1541346845@sss.pgh.pa.us>
<CAFj8pRAcdrRogAC2DU9in=gT1h3y1AgpJnAnDmzho46NS7fJ-w@mail.gmail.com>
<10615.1541348092@sss.pgh.pa.us>
<CAFj8pRBYRFqr_ZW+aUnX9MVDme3yBRPGNa0MM=6RR6NV=y2dgg@mail.gmail.com>
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I am not sure how safe is read argmodes from syscache after procedure
> execution. Theoretically, the procedure pg_proc tuple can be modified from
> procedure, and can be committed from procedure. Isn't better to safe
> argmodes before execution?
Hm. That would mean throwing non-writable-arg errors before rather than
after, but that's probably fine.
regards, tom lane
view thread (18+ messages) latest in thread
Message-ID: <28250.1541350767@sss.pgh.pa.us> Permalink: ../28250.1541350767@sss.pgh.pa.us/ Also on: postgresql.org/message-id/28250.1541350767@sss.pgh.pa.us ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-hackers@postgresql.org Cc: tgl@sss.pgh.pa.us, pavel.stehule@gmail.com, peter.eisentraut@2ndquadrant.com Subject: Re: bugfix: BUG #15477: Procedure call with named inout refcursor parameter - "invalid input syntax for type boolean" In-Reply-To: <28250.1541350767@sss.pgh.pa.us> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox