postgresql-11 already has:
   * Stop building lib packages, postgresql-12 is already in unstable.          
  
     (Closes: #941845)

Those come from postgresql-12 now.
This here might already show things are going further towards v12.

The reason it looks there is in attribute self._pg_bin_dir = 
/usr/lib/postgresql/12/
Which is loaded from config.
1. look for environment config (none)
2. look for /usr/bin/pg_config (exists)
...
This already points to postgresql-12

=> BINDIR = /usr/lib/postgresql/12/bin

This is held in "the old" state by Infinities correct initial fix in 
postgresql-common
   1 postgresql-common (204ubuntu1) focal; urgency=medium                       
      
   2                                                                            
      
   3   * Set Ubuntu 20.04 default PostgreSQL version to 11 for now. 

But it is now time to follow the migration to PG-12
OTOH the current postgresql-common v207 in Debian still has 11 for them as well.
102         11|11.*) /bin/echo -e "11" ;; # Bullseye                            
     


The probing code is actually from "/usr/bin/pg_config.libpq-dev"
(diversion)

And after all it is based on:
ii  libpq-dev      12.0-1       amd64        header files for libpq5 
(PostgreSQL library)
which is from postgresql-12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850136

Title:
  FTBFS in Focal with PG-12 present

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asyncpg/+bug/1850136/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to