Re: pgcharts on Ubuntu 18.04 ?

2019-08-25 Thread Johann 'Myrkraverk' Oskarsson
On Mon, Aug 26, 2019 at 1:40 AM Roger De Four wrote: > > Apparently can't be done on Ubuntu - cf. https://github.com/dimitri/pgcharts There is nothig there that indicates Ubuntu is a problem platform. Have you tried a git clone and used the provided Makefile yourself? -- Johann I'm not from

Re: Retroactively adding send and recv functions to a type?

2019-08-21 Thread Johann 'Myrkraverk' Oskarsson
On Tue, Aug 20, 2019 at 2:46 AM Tom Lane wrote: > > "Johann 'Myrkraverk' Oskarsson" writes: > > On Tue, Aug 20, 2019 at 1:32 AM Tom Lane wrote: > >> You could manually update the pg_type row, and then if you were > >> being fussy, add pg_d

Re: Retroactively adding send and recv functions to a type?

2019-08-19 Thread Johann 'Myrkraverk' Oskarsson
On Tue, Aug 20, 2019 at 1:32 AM Tom Lane wrote: > > "Johann 'Myrkraverk' Oskarsson" writes: > > I meant ALTER TYPE. Adding the send and recv functions doesn't seem > > to supported by ALTER TYPE. > > Is there a workaround for this? > > You

Retroactively adding send and recv functions to a type?

2019-08-19 Thread Johann 'Myrkraverk' Oskarsson
Dear PostgreSQL General, I wish to add the send and recv functions to a type I didn't write myself. The help for ALTER TABLE seems to indicate this is not supported directly. How can I achieve this? The extension in question is hashtypes on pgxn, https://pgxn.org/dist/hashtypes/ and I did n

Re: Retroactively adding send and recv functions to a type?

2019-08-19 Thread Johann 'Myrkraverk' Oskarsson
On Tue, Aug 20, 2019 at 1:03 AM Johann 'Myrkraverk' Oskarsson wrote: > The help for ALTER TABLE seems to indicate this is not supported directly. I meant ALTER TYPE. Adding the send and recv functions doesn't seem to supported by ALTER TYPE. Is there a workaround for this?