Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives
@ 2023-04-04 14:53 soanvig
  2023-04-04 16:00 ` Chocimier
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: soanvig @ 2023-04-04 14:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

New issue by soanvig on void-packages repository

https://github.com/void-linux/void-packages/issues/43259

Description:
Postgresql packages are missing each other as alternatives.
Is it expected or just omitted by an accident?

My case is that I have installed postgresql14-client, and postgresql15-client, and there are not appearing in xbps-alternatives,
so I have to manually switch between them.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
@ 2023-04-04 16:00 ` Chocimier
  2023-04-05  9:24 ` soanvig
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2023-04-04 16:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/43259#issuecomment-1496230769

Comment:
Cześć,

That's expected but can be changed with 16 series.

Postgresql 9.6 occupied /usr/bin/psql and was removed only a year ago. While it was still in repo, newer series were installed in /usr/lib, as xbps can't yet transactionally replace executable with an alternative. In order for new series to be accessible, profile scripts adding them to PATH exist. Shadowing of newer series by older ones is a mistake, but not too bad.

This setup is still in place to give people time to pull in now-meta postgresql package. As 16 will enter repos well over a year after removal of 9.6, it will be good time to introduce alternatives.

For server, separate services are in place, so this is not a problem.

Another question is why do you want to switch client (continuously, afaiu?), when other options are to remove old package and relogin; call by absolute path; or manipulate PATH in shell rc file?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
  2023-04-04 16:00 ` Chocimier
@ 2023-04-05  9:24 ` soanvig
  2023-04-05  9:25 ` soanvig
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: soanvig @ 2023-04-05  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

New comment by soanvig on void-packages repository

https://github.com/void-linux/void-packages/issues/43259#issuecomment-1497185290

Comment:
My case for switching is that I'm working on two projects in my work, and for local environment they use different versions of postgres.

But now I can tell, that using newer version of tools like `pg_dump` I can connect to older version, so I think version switching is not necessary.

I think this can be closed if you find that there is no thing to add

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
  2023-04-04 16:00 ` Chocimier
  2023-04-05  9:24 ` soanvig
@ 2023-04-05  9:25 ` soanvig
  2023-04-05  9:26 ` soanvig
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: soanvig @ 2023-04-05  9:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

New comment by soanvig on void-packages repository

https://github.com/void-linux/void-packages/issues/43259#issuecomment-1497185290

Comment:
My case for switching is that I'm working on two projects in my work, and for local environment they use different versions of postgres.

But now I can tell, that using newer version of tools like `pg_dump` I can connect to older version of postgres, so I think version switching is not necessary.

I think this can be closed if you find that there is no thing to add

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
                   ` (2 preceding siblings ...)
  2023-04-05  9:25 ` soanvig
@ 2023-04-05  9:26 ` soanvig
  2023-07-05  2:06 ` github-actions
  2023-07-05  9:06 ` [ISSUE] [CLOSED] " soanvig
  5 siblings, 0 replies; 7+ messages in thread
From: soanvig @ 2023-04-05  9:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

New comment by soanvig on void-packages repository

https://github.com/void-linux/void-packages/issues/43259#issuecomment-1497185290

Comment:
My case for switching is that I'm working on two projects in my work, and for local environment they use different versions of postgres.

But now I can tell, that using newer version of tools like `pg_dump` I can connect to older version of postgres, so I think version switching is not necessary. It was just not intuitive, that we have many versions available released under different package names.

I think this can be closed if you find that there is no thing to add

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
                   ` (3 preceding siblings ...)
  2023-04-05  9:26 ` soanvig
@ 2023-07-05  2:06 ` github-actions
  2023-07-05  9:06 ` [ISSUE] [CLOSED] " soanvig
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-07-05  2:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/43259#issuecomment-1620914558

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] postgresql-client (and thus postgres) is missing in xbps-alternatives
  2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
                   ` (4 preceding siblings ...)
  2023-07-05  2:06 ` github-actions
@ 2023-07-05  9:06 ` soanvig
  5 siblings, 0 replies; 7+ messages in thread
From: soanvig @ 2023-07-05  9:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

Closed issue by soanvig on void-packages repository

https://github.com/void-linux/void-packages/issues/43259

Description:
Postgresql packages are missing each other as alternatives.
Is it expected or just omitted by an accident?

My case is that I have installed postgresql14-client, and postgresql15-client, and there are not appearing in xbps-alternatives, so I have to manually switch between them.

Telling from their package templates they don't have `alternatives` field. Is that right?

I can create appropriate PR after the confirmation, that this is the case.

@Chocimier I think you are the maintainer, so I'm pinging  you

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-05  9:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-04 14:53 [ISSUE] postgresql-client (and thus postgres) is missing in xbps-alternatives soanvig
2023-04-04 16:00 ` Chocimier
2023-04-05  9:24 ` soanvig
2023-04-05  9:25 ` soanvig
2023-04-05  9:26 ` soanvig
2023-07-05  2:06 ` github-actions
2023-07-05  9:06 ` [ISSUE] [CLOSED] " soanvig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).