mirror of
https://github.com/postgres/postgres.git
synced 2025-07-29 00:03:13 -04:00
Compare commits
3 Commits
b2c9936a71
...
79a2af3e72
Author | SHA1 | Date | |
---|---|---|---|
|
79a2af3e72 | ||
|
fb464a1ae3 | ||
|
65218693d0 |
@ -1,7 +1,7 @@
|
|||||||
PostgreSQL Database Management System
|
PostgreSQL Database Management System
|
||||||
(formerly known as Postgres, then as Postgres95)
|
(formerly known as Postgres, then as Postgres95)
|
||||||
|
|
||||||
Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
|
Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
|
|
||||||
Portions Copyright (c) 1994, The Regents of the University of California
|
Portions Copyright (c) 1994, The Regents of the University of California
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<!-- doc/src/sgml/legal.sgml -->
|
<!-- doc/src/sgml/legal.sgml -->
|
||||||
|
|
||||||
<date>2023</date>
|
<date>2024</date>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>1996–2023</year>
|
<year>1996–2024</year>
|
||||||
<holder>The PostgreSQL Global Development Group</holder>
|
<holder>The PostgreSQL Global Development Group</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
<title>Legal Notice</title>
|
<title>Legal Notice</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<productname>PostgreSQL</productname> is Copyright © 1996–2023
|
<productname>PostgreSQL</productname> is Copyright © 1996–2024
|
||||||
by the PostgreSQL Global Development Group.
|
by the PostgreSQL Global Development Group.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@ -1175,7 +1175,7 @@ plan = plpy.prepare("INSERT INTO operations (result) VALUES ($1)", ["text"])
|
|||||||
plpy.execute(plan, [result])
|
plpy.execute(plan, [result])
|
||||||
$$ LANGUAGE plpython3u;
|
$$ LANGUAGE plpython3u;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
Note that the use of <literal>try/catch</literal> is still
|
Note that the use of <literal>try</literal>/<literal>except</literal> is still
|
||||||
required. Otherwise the exception would propagate to the top of
|
required. Otherwise the exception would propagate to the top of
|
||||||
the Python stack and would cause the whole function to abort with
|
the Python stack and would cause the whole function to abort with
|
||||||
a <productname>PostgreSQL</productname> error, so that the
|
a <productname>PostgreSQL</productname> error, so that the
|
||||||
|
@ -849,15 +849,13 @@ CheckPWChallengeAuth(Port *port, const char **logdetail)
|
|||||||
|
|
||||||
if (shadow_pass)
|
if (shadow_pass)
|
||||||
pfree(shadow_pass);
|
pfree(shadow_pass);
|
||||||
|
else
|
||||||
/*
|
|
||||||
* If get_role_password() returned error, return error, even if the
|
|
||||||
* authentication succeeded.
|
|
||||||
*/
|
|
||||||
if (!shadow_pass)
|
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* If get_role_password() returned error, authentication better not
|
||||||
|
* have succeeded.
|
||||||
|
*/
|
||||||
Assert(auth_result != STATUS_OK);
|
Assert(auth_result != STATUS_OK);
|
||||||
return STATUS_ERROR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auth_result == STATUS_OK)
|
if (auth_result == STATUS_OK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user