mirror of
https://github.com/postgres/postgres.git
synced 2025-07-29 00:03:13 -04:00
Compare commits
3 Commits
1e0841426e
...
596eeb1097
Author | SHA1 | Date | |
---|---|---|---|
|
596eeb1097 | ||
|
a0d016393b | ||
|
272f857aed |
@ -1,7 +1,7 @@
|
||||
PostgreSQL Database Management System
|
||||
(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
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<!-- doc/src/sgml/legal.sgml -->
|
||||
|
||||
<date>2023</date>
|
||||
<date>2024</date>
|
||||
|
||||
<copyright>
|
||||
<year>1996–2023</year>
|
||||
<year>1996–2024</year>
|
||||
<holder>The PostgreSQL Global Development Group</holder>
|
||||
</copyright>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<title>Legal Notice</title>
|
||||
|
||||
<para>
|
||||
<productname>PostgreSQL</productname> is Copyright © 1996–2023
|
||||
<productname>PostgreSQL</productname> is Copyright © 1996–2024
|
||||
by the PostgreSQL Global Development Group.
|
||||
</para>
|
||||
|
||||
|
@ -1175,7 +1175,7 @@ plan = plpy.prepare("INSERT INTO operations (result) VALUES ($1)", ["text"])
|
||||
plpy.execute(plan, [result])
|
||||
$$ LANGUAGE plpython3u;
|
||||
</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
|
||||
the Python stack and would cause the whole function to abort with
|
||||
a <productname>PostgreSQL</productname> error, so that the
|
||||
|
@ -850,15 +850,13 @@ CheckPWChallengeAuth(Port *port, const char **logdetail)
|
||||
|
||||
if (shadow_pass)
|
||||
pfree(shadow_pass);
|
||||
|
||||
/*
|
||||
* If get_role_password() returned error, return error, even if the
|
||||
* authentication succeeded.
|
||||
*/
|
||||
if (!shadow_pass)
|
||||
else
|
||||
{
|
||||
/*
|
||||
* If get_role_password() returned error, authentication better not
|
||||
* have succeeded.
|
||||
*/
|
||||
Assert(auth_result != STATUS_OK);
|
||||
return STATUS_ERROR;
|
||||
}
|
||||
|
||||
if (auth_result == STATUS_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user