pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- REL_12_STABLE Details --- http

pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- REL_13_STABLE Details --- http

pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- REL_11_STABLE Details --- http

pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- REL_10_STABLE Details --- http

pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git

pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm

2021-04-30 Thread Tom Lane
Doc: add an example of a self-referential foreign key to ddl.sgml. While we've always allowed such cases, the documentation didn't say you could do it. Discussion: https://postgr.es/m/[email protected] Branch -- REL9_6_STABLE Details --- http

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Doc: update libpq's documentation for PQfn().

2021-04-30 Thread Tom Lane
Doc: update libpq's documentation for PQfn(). Mention specifically that you can't call aggregates, window functions, or procedures this way (the inability to call SRFs was already mentioned). Also, the claim that PQfn doesn't support NULL arguments or results has been a lie since we invented prot

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y

pgsql: Disallow calling anything but plain functions via the fastpath A

2021-04-30 Thread Tom Lane
Disallow calling anything but plain functions via the fastpath API. Reject aggregates, window functions, and procedures. Aggregates failed anyway, though with a somewhat obscure error message. Window functions would hit an Assert or null-pointer dereference. Procedures seemed to work as long as y