Release notes can be found here and here.
Note that the update instructions need to be updated first, see help-center-docs#303.
Differential D12300
Update PostgreSQL to 14.1 Authored by silke on Nov 14 2021, 11:20 AM. Tags None Referenced Files
Subscribers
Details
Release notes can be found here and here. Note that the update instructions need to be updated first, see help-center-docs#303.
psql postgres -c "CREATE DATABASE pagila;"
psql pagila < pagila-schema.sql
psql pagila < pagila-data.sql
psql pagila -c "SELECT title, description FROM film WHERE fulltext @@ to_tsquery('saga&india');"
python3
import psycopg2
conn = psycopg2.connect("dbname=pagila")
cur = conn.cursor()
cur.execute("SELECT title, description FROM film WHERE fulltext @@ to_tsquery('saga&india');")
for i in cur.fetchall():
print(f"Title: {i[0]}, description: {i[1]}")
Diff Detail
|