question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change column from `text` to `text[]` array not work

See original GitHub issue

Bug report

Describe the bug

I create a table column type is text, saved, change to array not work.

To Reproduce

  1. create a table from studio
  2. create a column images type is text
  3. save
  4. edit table column images type to array
  5. save

Expected behavior

the column images type is text[]

Screenshots

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DukeManhcommented, Feb 8, 2022
0reactions
DukeManhcommented, Feb 7, 2022

@kiwicopple thanks, it looks like it’s an error in the PostgREST-meta package.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing a column from string to string array in postgresql
1 Answer 1 · 1 · create or replace function string_to_string_array(value character varying) returns character varying[] language sql as $$ select ...
Read more >
PostgreSQL copy text type column to text[] array type column
When I ran UPDATE parts SET material_size_temp[0] = material_size; I would get values like [0:0]={".021 x 2.450"} instead of {".021 x 2.450"} ....
Read more >
ARRAYTOTEXT function - Microsoft Support
The ARRAYTOTEXT function returns an array of text values from any specified range. It passes text values unchanged, and converts non-text values to...
Read more >
Safely Alter Postgres Columns with USING - Echobind
A simple ALTER TABLE query, right? CREATE TYPE "ProjectType" AS ENUM ('BILLABLE', 'NONBILLABLE'); CREATE TABLE "Proposal" ( "id" TEXT NOT ...
Read more >
Working with text data — pandas 1.5.2 documentation
There are two ways to store text data in pandas: object -dtype NumPy array. ... The implementation and parts of the API may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found