Search Postgresql Archives

Re: PostgreSQL Bug with simple function unexpectedly treating varchar parameter as an array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That having a table and function with similar names causes this problem is a bug.

Going forward I'll be sure to avoid the problem.

On Wed, Aug 6, 2025 at 5:35 PM David G. Johnston <david.g.johnston@xxxxxxxxx> wrote:
On Wednesday, August 6, 2025, Rumpi Gravenstein <rgravens@xxxxxxxxx> wrote:
Here's a reproducible test case that causes the problem in different schemas.  The issue appears to be related to creating a table and a function that has the same name as the table with a prepended underscore.

Don’t do that.  Naming a function (action) and table (noun) the same seems unwise anyway, underscores or no.

David J.



--
Rumpi Gravenstein

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux