Skip to main content
edited title
Link
Nick Barnes
  • 21.9k
  • 5
  • 66
  • 72

PostgreSQL column type conversion formfrom bigint to bigserial

grammer
Source Link
Eduard Wirch
  • 10k
  • 9
  • 64
  • 76

When I am tryingtry to change the data type of a column in a table by alter command...

alter table temp alter column id type bigserial;

I am gettingget

ERROR:  type "bigserial" does not exist

how is it possible for me toHow can I change the datatype from bigint to bigserial?

When I am trying to change the data type of column in a table by alter command...

alter table temp alter column id type bigserial;

I am getting

ERROR:  type "bigserial" does not exist

how is it possible for me to change the datatype from bigint to bigserial

When I try to change the data type of a column in a table by alter command...

alter table temp alter column id type bigserial;

I get

ERROR:  type "bigserial" does not exist

How can I change the datatype from bigint to bigserial?

added 6 characters in body
Source Link
Craig Ringer
  • 330k
  • 84
  • 745
  • 822

When iI am trying to change the data type of column in a table by alter command...

alter table temp alter column id type bigserial;

alter table temp alter column id type bigserial;

iamI am getting

ERROR: type "bigserial" does not exist

ERROR:  type "bigserial" does not exist

how is it possible for me to change the datatype from bigint to bigserial

When i am trying to change the data type of column in a table by alter command...

alter table temp alter column id type bigserial;

iam getting

ERROR: type "bigserial" does not exist

how is it possible for me to change the datatype from bigint to bigserial

When I am trying to change the data type of column in a table by alter command...

alter table temp alter column id type bigserial;

I am getting

ERROR:  type "bigserial" does not exist

how is it possible for me to change the datatype from bigint to bigserial

Source Link
k s l kumar
  • 401
  • 1
  • 4
  • 3
Loading